ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Murygin <murygin@aitoc.com>
To: community@altlinux.ru
Subject: Re: [Comm] io perfomance tuning
Date: Sat, 31 Jul 2004 12:51:16 +0300
Message-ID: <20040731125116.3a706d0b.murygin@aitoc.com> (raw)
In-Reply-To: <20040731082822.GA3211@sirius.home>

On Sat, 31 Jul 2004 12:28:22 +0400
"Sergey Vlasov" wrote:

> On Fri, Jul 30, 2004 at 09:53:04PM +0300, Alex Murygin wrote:
> > Обратил внимание что выедена вся память (1Gb).
> > ----------------
> > Tasks:  47 total,   1 running,  46 sleeping,   0 stopped,   0 zombie
> > Cpu(s):   0.0% user,   0.0% system,   0.0% nice, 100.0% idle
> > Mem:    905392k total,   899552k used,     5840k free,     2996k buffers
> > Swap:  1951856k total,     2960k used,  1948896k free,    83420k cached
> > ----------
> > в top при сортировке по памяти (M), на верху следующие процессы
> > ----------
> >   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> > 14177 root       9   0  2028 1988 1704 S  0.0  0.2   0:00.08 sshd
> > 14170 root       9   0  2020 1980 1704 S  0.0  0.2   0:00.00 sshd
> > 14179 root      10   0  1504 1504 1156 S  0.0  0.2   0:00.03 bash
> > ----------
> > И куда она вся подевалась? :)
> 
> Надо смотреть в /proc/slabinfo.  Скорее всего, dcache громадный.

Именно он, спасибо.

inode_cache       1327035 1327040    464 165880 165880    1
dentry_cache      1328997 1329020    112 37972 37972    1

Поможет ли простое добавление памяти, и сколько?
$find /huge_dir/ -type f|wc -l
1302641
$find /huge_dir/ -type d|wc -l
19768

Спасибо
-- 
-----------------------
- Alex Murygin, AITOC -
-----------------------


      reply	other threads:[~2004-07-31  9:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-21 15:56 Alex Murygin
2004-07-21 16:14 ` Alex Murygin
2004-07-22 18:04   ` Andy Gorev
2004-07-30 18:53     ` Alex Murygin
2004-07-31  8:28       ` Sergey Vlasov
2004-07-31  9:51         ` Alex Murygin [this message]

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=20040731125116.3a706d0b.murygin@aitoc.com \
    --to=murygin@aitoc.com \
    --cc=community@altlinux.ru \
    /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