Re: [BENCHMARK] 2.5.46-mm1 with contest

From: Andrew Morton (
Date: Mon Nov 11 2002 - 16:03:46 EST

Alan Willis wrote:
> Attached are the slabinfo, meminfo, and output of vmstat 1. My system
> was almost unusable at the time, so I got what I could. I don't have
> anything in my crontab. This morning my system had been sitting
> quietly all weekend, I did a few things, and then removed a large
> directory and untarred 2.5.47, less than a minute after which my system
> got unbearably slow.
> It should be noted that I have a 2.5.46 + reiser4 patches, which I think
> made a few changes under mm/. I also had a reiser4 partition mounted at
> the time, with slightly under 1 million empty files in it. I hadn't
> accessed it in a while though.

MemTotal: 251332 kB
MemFree: 1748 kB
MemShared: 0 kB
Buffers: 352 kB
Cached: 30040 kB

This is presumably active mmapped memory. executable text.

SwapCached: 41748 kB
Active: 165064 kB

That's a lot of active memory.

Inactive: 976 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 251332 kB
LowFree: 1748 kB
SwapTotal: 1028152 kB
SwapFree: 834084 kB
Dirty: 0 kB
Writeback: 0 kB
Mapped: 164592 kB

That's an awful lot of mapped memory. Have you been altering
/proc/sys/vm/swappiness? Has some application run berzerk
and used tons of memory?

Slab: 7592 kB
Committed_AS: 423120 kB
PageTables: 1996 kB
ReverseMaps: 69425
HugePages_Total: 15
HugePages_Free: 15
Hugepagesize: 4096 kB

You've lost 60 megabytes in hugepages! Bill's patch (which is in .47)
changes the initial number of hugetlb pages to zero, which is rather

So I don't _think_ there's a leak here. It could be that your
normal workload fits OK ito 256 megs, but thrashes when it is
squeezed into 196 megs.

Suggest you do `echo 0 > /proc/sys/vm/nr_hugepages' and retest.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:23 EST