linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: 2.6.28-rc8 big regression in VM
       [not found] ` <20081215011645.GA9707@localhost>
@ 2008-12-15  2:05   ` KOSAKI Motohiro
  2008-12-15  9:53     ` Lukas Hejtmanek
  0 siblings, 1 reply; 3+ messages in thread
From: KOSAKI Motohiro @ 2008-12-15  2:05 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: kosaki.motohiro, linux-kernel, linux-mm

Hi Lukas

(cc to linux-mm)

> On Sat, Dec 13, 2008 at 11:58:15AM +0200, Lukas Hejtmanek wrote:
> > On Sat, Dec 13, 2008 at 09:21:15AM +0800, Wu Fengguang wrote:
> > > I cannot reproduce it on 2.6.28-rc7, compiling 2.6.28-rc8...
> > > 
> > > # free; echo 3 > /proc/sys/vm/drop_caches; free
> > >              total       used       free     shared    buffers     cached
> > > Mem:          1940        109       1831          0          0         42
> > > -/+ buffers/cache:         66       1873
> > > Swap:            0          0          0
> > >              total       used       free     shared    buffers     cached
> > > Mem:          1940         62       1877          0          0          7
> > > -/+ buffers/cache:         55       1884
> > > Swap:            0          0          0
> > > 
> > > > once the whole memory is eaten by the cache, the system is pretty unusable.
> > > 
> > > What's your kconfig?
> > 
> > attached.

I also don't reproduce your problem.
Could you get output of "cat /proc/meminfo", not only free command?



--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.28-rc8 big regression in VM
  2008-12-15  2:05   ` 2.6.28-rc8 big regression in VM KOSAKI Motohiro
@ 2008-12-15  9:53     ` Lukas Hejtmanek
  2008-12-15 10:56       ` KOSAKI Motohiro
  0 siblings, 1 reply; 3+ messages in thread
From: Lukas Hejtmanek @ 2008-12-15  9:53 UTC (permalink / raw)
  To: KOSAKI Motohiro; +Cc: linux-kernel, linux-mm

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="9amGYk9869ThD9tj", Size: 2590 bytes --]

On Mon, Dec 15, 2008 at 11:05:24AM +0900, KOSAKI Motohiro wrote:
> I also don't reproduce your problem.
> Could you get output of "cat /proc/meminfo", not only free command?

attached meminfo and vmstat after dropping caches.

-- 
Lukas Hejtmanek

MemTotal:        2016688 kB
MemFree:         1528748 kB
Buffers:             424 kB
Cached:           140060 kB
SwapCached:            0 kB
Active:           353252 kB
Inactive:          47332 kB
Active(anon):     329884 kB
Inactive(anon):        4 kB
Active(file):      23368 kB
Inactive(file):    47328 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       1542232 kB
SwapFree:        1542232 kB
Dirty:                64 kB
Writeback:             0 kB
AnonPages:        260100 kB
Mapped:            85036 kB
Slab:              24708 kB
SReclaimable:       8532 kB
SUnreclaim:        16176 kB
PageTables:        10324 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2550576 kB
Committed_AS:     576152 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      332160 kB
VmallocChunk:   34359404539 kB
DirectMap4k:       45760 kB
DirectMap2M:     2009088 kB

nr_free_pages 382094
nr_inactive_anon 1
nr_active_anon 82469
nr_inactive_file 11835
nr_active_file 5905
nr_unevictable 0
nr_mlock 0
nr_anon_pages 65025
nr_mapped 21228
nr_file_pages 35187
nr_dirty 17
nr_writeback 0
nr_slab_reclaimable 2133
nr_slab_unreclaimable 4043
nr_page_table_pages 2581
nr_unstable 0
nr_bounce 0
nr_vmscan_write 0
nr_writeback_temp 0
pgpgin 271982
pgpgout 10689
pswpin 0
pswpout 0
pgalloc_dma 120
pgalloc_dma32 593606
pgalloc_normal 0
pgalloc_movable 0
pgfree 976064
pgactivate 13699
pgdeactivate 0
pgfault 947747
pgmajfault 1688
pgrefill_dma 0
pgrefill_dma32 0
pgrefill_normal 0
pgrefill_movable 0
pgsteal_dma 0
pgsteal_dma32 0
pgsteal_normal 0
pgsteal_movable 0
pgscan_kswapd_dma 0
pgscan_kswapd_dma32 0
pgscan_kswapd_normal 0
pgscan_kswapd_movable 0
pgscan_direct_dma 0
pgscan_direct_dma32 0
pgscan_direct_normal 0
pgscan_direct_movable 0
pginodesteal 0
slabs_scanned 30080
kswapd_steal 0
kswapd_inodesteal 0
pageoutrun 0
allocstall 0
pgrotated 0
unevictable_pgs_culled 1
unevictable_pgs_scanned 0
unevictable_pgs_rescued 9
unevictable_pgs_mlocked 9
unevictable_pgs_munlocked 9
unevictable_pgs_cleared 0
unevictable_pgs_stranded 0
unevictable_pgs_mlockfreed 0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.28-rc8 big regression in VM
  2008-12-15  9:53     ` Lukas Hejtmanek
@ 2008-12-15 10:56       ` KOSAKI Motohiro
  0 siblings, 0 replies; 3+ messages in thread
From: KOSAKI Motohiro @ 2008-12-15 10:56 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: kosaki.motohiro, linux-kernel, linux-mm

> On Mon, Dec 15, 2008 at 11:05:24AM +0900, KOSAKI Motohiro wrote:
> > I also don't reproduce your problem.
> > Could you get output of "cat /proc/meminfo", not only free command?
> 
> attached meminfo and vmstat after dropping caches.


MemTotal:        2016688 kB
MemFree:         1528748 kB
Buffers:             424 kB
Cached:           140060 kB
SwapCached:            0 kB
Active(anon):     329884 kB
Inactive(anon):        4 kB
Active(file):      23368 kB
Inactive(file):    47328 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       1542232 kB
SwapFree:        1542232 kB
Dirty:                64 kB
Writeback:             0 kB
AnonPages:        260100 kB
Mapped:            85036 kB


Usually, Cached - tmpfs ~= Active(file) + Inactive(file).
tmpfs file isn't droppable.

We should see Active(file) + Inactive(file) (= 70696kB) instead Cached.
In addition, drop_cache sysctl can't drop Mapped memory.

Then, this value isn't so wonder value, IMHO.




--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-15 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20081213095815.GA7143@ics.muni.cz>
     [not found] ` <20081215011645.GA9707@localhost>
2008-12-15  2:05   ` 2.6.28-rc8 big regression in VM KOSAKI Motohiro
2008-12-15  9:53     ` Lukas Hejtmanek
2008-12-15 10:56       ` KOSAKI Motohiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox