lkml.org 
[lkml]   [2004]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectcache and buffer usage with kernel 2.6.10
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.031 / U:1.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site