LINUX.ORG.RU

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

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

... в разработке которой я участвовал, вполне хватило 128.

128 - это уже размер видеобуфера для FullHD. Зачепись система инициализации.

emb 10:07:09 ~# free
             total         used         free       shared      buffers
Mem:        105956       103032         2924            0         2756
-/+ buffers:             100276         5680
Swap:       262140           32       262108
emb 10:07:09 ~# ps -o pid,tty,user,stat,vsz,rss,etime,args
PID   TT     USER     STAT VSZ  RSS  ELAPSED COMMAND
    1 ?      root     S    1304  384  13:20  init
  625 4,6    root     S     620  224   0:02  chat -S -v -t 3  at OK
  650 136,1  root     R    1296  404   0:01  ps -o pid,tty,user,stat,vsz,rss,etime,args
  754 ?      root     S    2088  744  13:09  udevd -d
  790 ?      root     S    1128  344  13:09  dropbear -R
  806 ?      root     S    1284  224  13:08  watchdog -t 1 -T 10 /dev/watchdog
  918 ?      default  S    2704 1572  13:07  tmux new-session -d /usr/bin/tsu key_command
  919 136,0  root     S    2140  936  13:07  {key_command} /bin/bash /opt/translation/bin/key_command
  970 ?      root     S    1296  280  13:06  /sbin/acpid -l /dev/null
  971 ?      root     S    1288  352  13:06  /sbin/syslogd -n -m 0 -s 1024 -b 4
  973 ?      root     S    1288  340  13:06  /sbin/klogd -n
  984 4,1    default  S    2092  788  13:06  /usr/bin/tmux a
 1041 ?      root     S <   25m 4264  13:05  X :0 vt9 -zap -keybd keyboard -v -nocursor -s 9999 -noreset -switchCmd /usr/bin/xvtswitch -tst -ac +extension DOUBLE-BUFFER +ex
 1330 ?      root     S <   56m 2968  13:04  mpv --audio-device=alsa/1 --input-ipc-server=/tmp/player.1.ipc
 1341 ?      root     S <  135m  14m  13:04  mpv --video=auto --vo=vdpau --hwdec=vdpau --audio-device=alsa/0+ --input-ipc-server=/tmp/player.0.ipc.v
 1403 ?      root     S <  2360 1256  13:03  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.1.ipc
 1404 ?      root     S <  2368  728  13:03  {player} /bin/bash /opt/translation/bin/player 1
 1406 ?      root     S <  2360 1264  13:03  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.0.ipc.v
 1407 ?      root     S <  2368  728  13:03  {player} /bin/bash /opt/translation/bin/player 0
 1408 ?      root     S <  2372  956  13:03  socat - /tmp/player.1.ipc
 1411 ?      root     S <  2372  956  13:03  socat - /tmp/player.0.ipc.v
 1424 ?      root     S <   81m 5304  13:03  mpv --audio-device=alsa/0+ --input-ipc-server=/tmp/player.0.ipc
 1492 ?      root     S <  2360 1264  13:03  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.0.ipc
 1493 ?      root     S <  2368  728  13:03  {player} /bin/bash /opt/translation/bin/player 0
 1494 ?      root     S <  2372  956  13:03  socat - /tmp/player.0.ipc
 1510 ?      root     S <  2360  716  13:03  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.1.ipc
 1513 ?      root     S <  2372  956  13:03  socat - /tmp/player.1.ipc
 1518 ?      root     S <  2360  716  13:03  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.0.ipc.v
 1520 ?      root     S <  2372  956  13:03  socat - /tmp/player.0.ipc.v
 1582 ?      root     S <  2484  920   2:24  {player} /bin/bash /opt/translation/bin/player 0
 1588 ?      root     S <   912  300   2:24  inotifywait -qq -t 3600 -e close -e delete /proc/1424/fd/14
 1610 ?      root     S <  2360  716  13:02  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.0.ipc
 1611 ?      root     S <  2372  956  13:02  socat - /tmp/player.0.ipc
 1823 ?      root     S <  2244  640  13:00  xbindkeys -f /etc/xbindkeysrc
 1983 ?      root     SW      0    0   7:27  [kworker/0:2]
 2058 ?      root     S    1160  520   4:40  dropbear -R
 2059 136,1  root     S    2232 1316   4:40  -bash
 2754 ?      root     SW      0    0   1:27  [kworker/0:1]
 3917 ?      root     S    1284  268   0:26  sleep 60
 3977 4,6    root     S    2148  980   0:23  {ringwait} /bin/bash /opt/translation/bin/ringwait

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

... в разработке которой я участвовал, вполне хватило 128.

128 - размер видеобуфера для FullHD. Зачепись система инициализации.

emb 10:07:09 ~# free
             total         used         free       shared      buffers
Mem:        105956       103032         2924            0         2756
-/+ buffers:             100276         5680
Swap:       262140           32       262108
emb 10:07:09 ~# ps -o pid,tty,user,stat,vsz,rss,etime,args
PID   TT     USER     STAT VSZ  RSS  ELAPSED COMMAND
    1 ?      root     S    1304  384  13:20  init
  625 4,6    root     S     620  224   0:02  chat -S -v -t 3  at OK
  650 136,1  root     R    1296  404   0:01  ps -o pid,tty,user,stat,vsz,rss,etime,args
  754 ?      root     S    2088  744  13:09  udevd -d
  790 ?      root     S    1128  344  13:09  dropbear -R
  806 ?      root     S    1284  224  13:08  watchdog -t 1 -T 10 /dev/watchdog
  918 ?      default  S    2704 1572  13:07  tmux new-session -d /usr/bin/tsu key_command
  919 136,0  root     S    2140  936  13:07  {key_command} /bin/bash /opt/translation/bin/key_command
  970 ?      root     S    1296  280  13:06  /sbin/acpid -l /dev/null
  971 ?      root     S    1288  352  13:06  /sbin/syslogd -n -m 0 -s 1024 -b 4
  973 ?      root     S    1288  340  13:06  /sbin/klogd -n
  984 4,1    default  S    2092  788  13:06  /usr/bin/tmux a
 1041 ?      root     S <   25m 4264  13:05  X :0 vt9 -zap -keybd keyboard -v -nocursor -s 9999 -noreset -switchCmd /usr/bin/xvtswitch -tst -ac +extension DOUBLE-BUFFER +ex
 1330 ?      root     S <   56m 2968  13:04  mpv --audio-device=alsa/1 --input-ipc-server=/tmp/player.1.ipc
 1341 ?      root     S <  135m  14m  13:04  mpv --video=auto --vo=vdpau --hwdec=vdpau --audio-device=alsa/0+ --input-ipc-server=/tmp/player.0.ipc.v
 1403 ?      root     S <  2360 1256  13:03  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.1.ipc
 1404 ?      root     S <  2368  728  13:03  {player} /bin/bash /opt/translation/bin/player 1
 1406 ?      root     S <  2360 1264  13:03  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.0.ipc.v
 1407 ?      root     S <  2368  728  13:03  {player} /bin/bash /opt/translation/bin/player 0
 1408 ?      root     S <  2372  956  13:03  socat - /tmp/player.1.ipc
 1411 ?      root     S <  2372  956  13:03  socat - /tmp/player.0.ipc.v
 1424 ?      root     S <   81m 5304  13:03  mpv --audio-device=alsa/0+ --input-ipc-server=/tmp/player.0.ipc
 1492 ?      root     S <  2360 1264  13:03  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.0.ipc
 1493 ?      root     S <  2368  728  13:03  {player} /bin/bash /opt/translation/bin/player 0
 1494 ?      root     S <  2372  956  13:03  socat - /tmp/player.0.ipc
 1510 ?      root     S <  2360  716  13:03  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.1.ipc
 1513 ?      root     S <  2372  956  13:03  socat - /tmp/player.1.ipc
 1518 ?      root     S <  2360  716  13:03  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.0.ipc.v
 1520 ?      root     S <  2372  956  13:03  socat - /tmp/player.0.ipc.v
 1582 ?      root     S <  2484  920   2:24  {player} /bin/bash /opt/translation/bin/player 0
 1588 ?      root     S <   912  300   2:24  inotifywait -qq -t 3600 -e close -e delete /proc/1424/fd/14
 1610 ?      root     S <  2360  716  13:02  {vevent} /bin/bash /opt/translation/bin/vevent /tmp/player.0.ipc
 1611 ?      root     S <  2372  956  13:02  socat - /tmp/player.0.ipc
 1823 ?      root     S <  2244  640  13:00  xbindkeys -f /etc/xbindkeysrc
 1983 ?      root     SW      0    0   7:27  [kworker/0:2]
 2058 ?      root     S    1160  520   4:40  dropbear -R
 2059 136,1  root     S    2232 1316   4:40  -bash
 2754 ?      root     SW      0    0   1:27  [kworker/0:1]
 3917 ?      root     S    1284  268   0:26  sleep 60
 3977 4,6    root     S    2148  980   0:23  {ringwait} /bin/bash /opt/translation/bin/ringwait