ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Yereschenko <ave4600@mail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Kaffeine - прожорливость до памяти
Date: Mon, 10 Sep 2007 22:30:26 +0300
Message-ID: <200709102230.27365.ave4600@mail.ru> (raw)
In-Reply-To: <200709092228.10916.ave4600@mail.ru>

Доброе!
В сообщении от Sunday 09 September 2007 22:28:05 Alexander Yereschenko 
написал(а):
> ALD4.0
> В Kaffeine проигрывается с cd-rom avi-файл размером 687М.
> Гляжу top и наблюдаю:
>   PID    USER      PR  NI   VIRT     RES  SHR   S  %CPU %MEM    TIME+ 
> COMMAND 9507  ave      15   0   293M   98M  6744 S  27.9   19.8    9:36.50
> VirtualBox 9643 ave       15   0  845M  76M  61M S 11.0 15.4   2:19.73
> kaffeine
>
> С виртуалбоксом понятно - там гостевой системе выделено было 192 метра, а
> вот кафейня почему столько отожрала? Это нормально?
>

Подробности....
Запускаем проигрываться файл .wmv размером 16.1М
$ ps   -C kaffeine l
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
1   500  7163     1  15   0 155740 40664 stext  SLl  ?          0:01 kaffeine

Запускаем проигрываться файл .avi размером 32.7М
$ ps   -C kaffeine l
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
1   500  7201     1  15   0 177184 42972 stext  SLl  ?          0:01 kaffeine

Запускаем проигрываться файл .avi размером 687М
$ ps   -C kaffeine l
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
1   500  7319     1  15   0 862208 64880 stext  SLl  ?          0:01 kaffeine

Если нажать остановку проигрывания (не паузу - полную остановку), то память 
освобождается:
$ ps   -C kaffeine l
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
1   500  7319     1  15   0 150572 49608 stext  Sl   ?          0:15 kaffeine


Такое ощущение, что он хочет весь проигрываемый файл вместить в память и 
выделяет для этого место, но читать продолжает с носителя (в данном случае - 
с винта). Все бы ничего, но при общей памяти 512М и при проигрываемом 1400М, 
а если еще и виртуалбокс рядом крутится на 192М, то своп очень даже 
мешает....


ЗЫ. Кстати, что за параметр - RSS - с течением времени работы проигрывателя он 
постепенно увеличивается ?


--
Alexander

  parent reply	other threads:[~2007-09-10 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-09 19:28 Alexander Yereschenko
2007-09-09 19:39 ` Alexander Yereschenko
2007-09-10 19:30 ` Alexander Yereschenko [this message]
2007-09-11  9:02 ` Sergey V Turchin
2007-09-11 19:36   ` Alexander Yereschenko
2007-09-12  9:41     ` Sergey V Turchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200709102230.27365.ave4600@mail.ru \
    --to=ave4600@mail.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git