LINUX.ORG.RU

История изменений

Исправление hakavlad, (текущая версия) :

5.10.0-pf3, unevictable_activefile_kbytes_min=0, 8 потоков tail /dev/zero в фоне, музло с ютуба и картинка без лагов. Без жесткой защиты. Давление при этом:

# psi2log
Starting psi2log, target: SYSTEM_WIDE, mode: 1, interval: 2 sec, log file is not set, suppress output: False
PSI source dir: /proc/pressure/, source files: cpu, io, memory
All memory locked with MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT
==================================================================================================================
        cpu          ||                     io                      ||                   memory
==================== || =========================================== || ===========================================
        some         ||         some         |         full         ||         some         |         full
-------------------- || -------------------- | -------------------- || -------------------- | --------------------
 avg10  avg60 avg300 ||  avg10  avg60 avg300 |  avg10  avg60 avg300 ||  avg10  avg60 avg300 |  avg10  avg60 avg300
------ ------ ------ || ------ ------ ------ | ------ ------ ------ || ------ ------ ------ | ------ ------ ------
 31.69  40.30  33.78 ||   7.26   7.45   9.96 |   0.00   0.00   3.03 ||  69.65  67.37  56.45 |  10.36  10.70  10.28
 30.12  39.74  33.71 ||   6.49   7.30   9.91 |   0.00   0.00   3.01 ||  69.17  67.36  56.52 |  10.11  10.64  10.27
 28.83  39.19  33.64 ||   5.50   7.10   9.85 |   0.00   0.00   2.99 ||  68.77  67.35  56.59 |   9.91  10.59  10.26
 29.94  39.05  33.65 ||   5.95   7.12   9.84 |   0.00   0.00   2.97 ||  70.08  67.63  56.72 |  10.47  10.67  10.28
 30.14  38.79  33.63 ||   5.23   6.96   9.78 |   0.00   0.00   2.95 ||  69.88  67.68  56.81 |  10.74  10.71  10.29
^C
=================================
Peak values:  avg10  avg60 avg300
-----------  ------ ------ ------
some cpu      31.69  40.30  33.78
-----------  ------ ------ ------
some io        7.26   7.45   9.96
full io        0.00   0.00   3.03
-----------  ------ ------ ------
some memory   70.08  67.68  56.81
full memory   10.74  10.71  10.29

Скрин монитора: https://i.ibb.co/F4pwY4r/2020-12-30-18-44-20.png

С дефолтной жесткой защитой упала сессия:

дек 30 18:24:23 PC kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-6.scope,task=tail,pid=1491,uid=1000
дек 30 18:24:23 PC kernel: Out of memory: Killed process 1491 (tail) total-vm:6041696kB, anon-rss:6035828kB, file-rss:1580kB, shmem-rss:0kB, UID:1000 pgtables:11864kB oom_score_adj:0
дек 30 18:24:23 PC kernel: oom_reaper: reaped process 1491 (tail), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
дек 30 18:24:23 PC clock-applet[1404]: clock-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:23 PC polkitd(authority=local)[867]: Unregistered Authentication Agent for unix-session:6 (system bus name :1.25, object path /org/mate/PolicyKit1/AuthenticationAgent, locale ru_RU.UTF-8) (disconnec
дек 30 18:24:23 PC unknown[1321]: mate-sensors-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:24 PC org.a11y.atspi.Registry[1223]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
дек 30 18:24:24 PC org.a11y.atspi.Registry[1223]:       after 87 requests (87 known processed) with 0 events remaining.
дек 30 18:24:24 PC lightdm[1159]: pam_unix(lightdm:session): session closed for user user
дек 30 18:24:23 PC unknown[1319]: mate-brightness-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:23 PC unknown[1306]: wnck-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:24 PC kernel: nouveau 0000:01:00.0: Enabling HDA controller
дек 30 18:24:23 PC unknown[1434]: mate-system-monitor: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:23 PC unknown[1308]: notification-area-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:23 PC unknown[1317]: mate-multiload-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:24 PC systemd-logind[781]: Removed session 6.

Исходная версия hakavlad, :

5.10.0-pf3, unevictable_activefile_kbytes_min=0, 8 tail в фоне, музло с ютуба и картинка без лагов. Без жесткой защиты. Давление при этом:

# psi2log
Starting psi2log, target: SYSTEM_WIDE, mode: 1, interval: 2 sec, log file is not set, suppress output: False
PSI source dir: /proc/pressure/, source files: cpu, io, memory
All memory locked with MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT
==================================================================================================================
        cpu          ||                     io                      ||                   memory
==================== || =========================================== || ===========================================
        some         ||         some         |         full         ||         some         |         full
-------------------- || -------------------- | -------------------- || -------------------- | --------------------
 avg10  avg60 avg300 ||  avg10  avg60 avg300 |  avg10  avg60 avg300 ||  avg10  avg60 avg300 |  avg10  avg60 avg300
------ ------ ------ || ------ ------ ------ | ------ ------ ------ || ------ ------ ------ | ------ ------ ------
 31.69  40.30  33.78 ||   7.26   7.45   9.96 |   0.00   0.00   3.03 ||  69.65  67.37  56.45 |  10.36  10.70  10.28
 30.12  39.74  33.71 ||   6.49   7.30   9.91 |   0.00   0.00   3.01 ||  69.17  67.36  56.52 |  10.11  10.64  10.27
 28.83  39.19  33.64 ||   5.50   7.10   9.85 |   0.00   0.00   2.99 ||  68.77  67.35  56.59 |   9.91  10.59  10.26
 29.94  39.05  33.65 ||   5.95   7.12   9.84 |   0.00   0.00   2.97 ||  70.08  67.63  56.72 |  10.47  10.67  10.28
 30.14  38.79  33.63 ||   5.23   6.96   9.78 |   0.00   0.00   2.95 ||  69.88  67.68  56.81 |  10.74  10.71  10.29
^C
=================================
Peak values:  avg10  avg60 avg300
-----------  ------ ------ ------
some cpu      31.69  40.30  33.78
-----------  ------ ------ ------
some io        7.26   7.45   9.96
full io        0.00   0.00   3.03
-----------  ------ ------ ------
some memory   70.08  67.68  56.81
full memory   10.74  10.71  10.29

Скрин монитора: https://i.ibb.co/F4pwY4r/2020-12-30-18-44-20.png

С дефолтной жесткой защитой упала сессия:

дек 30 18:24:23 PC kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-6.scope,task=tail,pid=1491,uid=1000
дек 30 18:24:23 PC kernel: Out of memory: Killed process 1491 (tail) total-vm:6041696kB, anon-rss:6035828kB, file-rss:1580kB, shmem-rss:0kB, UID:1000 pgtables:11864kB oom_score_adj:0
дек 30 18:24:23 PC kernel: oom_reaper: reaped process 1491 (tail), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
дек 30 18:24:23 PC clock-applet[1404]: clock-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:23 PC polkitd(authority=local)[867]: Unregistered Authentication Agent for unix-session:6 (system bus name :1.25, object path /org/mate/PolicyKit1/AuthenticationAgent, locale ru_RU.UTF-8) (disconnec
дек 30 18:24:23 PC unknown[1321]: mate-sensors-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:24 PC org.a11y.atspi.Registry[1223]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
дек 30 18:24:24 PC org.a11y.atspi.Registry[1223]:       after 87 requests (87 known processed) with 0 events remaining.
дек 30 18:24:24 PC lightdm[1159]: pam_unix(lightdm:session): session closed for user user
дек 30 18:24:23 PC unknown[1319]: mate-brightness-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:23 PC unknown[1306]: wnck-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:24 PC kernel: nouveau 0000:01:00.0: Enabling HDA controller
дек 30 18:24:23 PC unknown[1434]: mate-system-monitor: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:23 PC unknown[1308]: notification-area-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:23 PC unknown[1317]: mate-multiload-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :0.
дек 30 18:24:24 PC systemd-logind[781]: Removed session 6.