lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 17 Dec 2008 20:44:21 +0800
From:	Wu Fengguang <fengguang.wu@...el.com>
To:	Lukas Hejtmanek <xhejtman@....muni.cz>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Bill Davidsen <davidsen@....com>
Subject: Re: 2.6.28-rc8 big regression in VM

On Wed, Dec 17, 2008 at 02:33:07PM +0200, Lukas Hejtmanek wrote:
> On Wed, Dec 17, 2008 at 08:27:26PM +0800, Wu Fengguang wrote:
> > It looks like most of cached pages were successfully freed:
> >
> >         247788 => 69856 pages
> >
> > To get more concrete numbers, could you send more info by running the
> > following commands?
> >
> > cp /proc/meminfo meminfo-1
> > cp /proc/vmstat vmstat-1
> > sync
> > echo 3 > /proc/sys/vm/drop_caches
> > cp /proc/meminfo meminfo-2
> > cp /proc/vmstat vmstat-2
>
> attached.

                    before            after
  MemTotal:        2016688 kB       2016688 kB
  MemFree:           22680 kB       1306652 kB
  Buffers:          238592 kB           360 kB
  Cached:          1087428 kB        129516 kB
----------------------------------------------
So the cache memory shrinks a lot.

Maybe your 'free' command is reporting wrong numbers?
Or it's not a quite reproducible problem?

Thanks,
Fengguang

  SwapCached:            0 kB             0 kB
  Active:          1016536 kB        428240 kB
  Inactive:         798812 kB        190976 kB
  Active(anon):     412044 kB        411084 kB
  Inactive(anon):   150708 kB        150708 kB
  Active(file):     604492 kB         17156 kB
  Inactive(file):   648104 kB         40268 kB
  Unevictable:           0 kB             0 kB
  Mlocked:               0 kB             0 kB
  SwapTotal:       1542232 kB       1542232 kB
  SwapFree:        1542232 kB       1542232 kB
  Dirty:               108 kB            48 kB
  Writeback:             0 kB             0 kB
  AnonPages:        489448 kB        489452 kB
  Mapped:            73380 kB         73384 kB
  Slab:             114192 kB         26188 kB
  SReclaimable:      97304 kB          9576 kB
  SUnreclaim:        16888 kB         16612 kB
  PageTables:        11304 kB         11368 kB
  NFS_Unstable:          0 kB             0 kB
  Bounce:                0 kB             0 kB
  WritebackTmp:          0 kB             0 kB
  CommitLimit:     2550576 kB       2550576 kB
  Committed_AS:     818488 kB        818488 kB
  VmallocTotal:   34359738367 kB   34359738367 kB

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ