ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Про маленькое кол-во памяти выделяемое под буферы в 2.6
Date: Tue, 23 May 2006 23:18:31 +0400
Message-ID: <20060523191831.GA14726@procyon.home> (raw)
In-Reply-To: <200605231509.51624.slavutich@grecea.net>

[-- Attachment #1: Type: text/plain, Size: 1463 bytes --]

On Tue, May 23, 2006 at 03:09:50PM +0300, Slava Grecea wrote:
> Решил потестировать ядро 2.6 ( 2.6.16-vs26-smp-alt3 ) на одном из серверов 
> (AMP на базе М30), в основном из-за отличий vserver-а по сравнению с тем, что 
> в 2.4.
> 
> Free показывает очень маленький объем памяти используемой под буфферы:
> $ free -k
>              total         used       free      shared    buffers   cached
> Mem:    1036148  878464   157684          0          8     294976
> -/+ buffers/cache:     583480     452668
> Swap:      2096376          0    2096376
> 
> При нагрузке объем выдляемой памяти незначительно возрастает (~ в пределах 
> 40 -120к)
> 
> Рядом на рабочей машине (2.6.16-wks26-up-alt3):
> $ free -k
>            total        used      free      shared    buffers    cached
> Mem:   516592  505644  10948       0        31632     155596
> -/+ buffers/cache:     318416     198176
> Swap:      1004052     496296     507756
> 
> По моему это не нормально.
> Пните, пожалуйста, носом где можно почитать почему так мало памяти выделяется 
> под буфера и как это исправить. Или буду благодарен объяснению.

Вероятно, на этих машинах используются разные типы файловых систем,
которые по-разному выполняют кеширование.

На самом деле то, что buffer cache используется мало - это даже
хорошо, поскольку сейчас рекомендуется использовать для этих целей
page cache:

http://permalink.gmane.org/gmane.comp.version-control.git/20610

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

  reply	other threads:[~2006-05-23 19:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-23 12:09 Slava Grecea
2006-05-23 19:18 ` Sergey Vlasov [this message]
2006-05-24  7:25   ` Slava Grecea
2006-05-24  8:37     ` Sergey Vlasov

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=20060523191831.GA14726@procyon.home \
    --to=vsu@altlinux.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