cache and buffer usage with kernel 2.6.10

From: M Benz
Date: Mon Dec 27 2004 - 11:35:17 EST


Hello,

I just upgrade my linux box from 2.6.8.1 to 2.6.10 yesterday, and I found that the memory usage behavier is very different btw the 2 kernels. I built 2.6.10 with the same .config with my 2.6.8.1

My box is a Pentium 4 HT machine, with 2GB of RAM, it's running apache to service a very busy website, around 1.5M PHP pageviews per day.

With kernel 2.6.8.1, "top" always show me acount 150MB buffer, 1.3-1.5GB cached, and 1-2M free, after switch to kernel 2.6.10, "top" shows me around 500MB buffer, 800M cache, and several MB free. after around 10 hours with 2.6.10, top now shows me 800MB buffer, 500MB cache and 2-300MB free.

Is there any change with memory management btw the two kernels? Also, what is the different btw "cache" and "buffer"? Why don't kernel 2.6.10 use all the memory but leave around 200MB free?

Thanks.

_________________________________________________________________
?? MSN Messenger?????????: http://messenger.microsoft.com/tc

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