cache and buffer usage with kernel 2.6.10

From: M Benz (mbenz74_at_hotmail.com)
Date: 12/27/04

  • Next message: Steven Rostedt: "Re: Real-time rw-locks (Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.32-15)"
    To: linux-kernel@vger.kernel.org
    Date:	Mon, 27 Dec 2004 16:33:41 +0000
    
    

    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/


  • Next message: Steven Rostedt: "Re: Real-time rw-locks (Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.32-15)"

    Relevant Pages

    • Re: AMD64 Swsusp on 2.6.9-rc4-mm1
      ... On Sun, 2004-10-17 at 12:24 +0200, Rafael J. Wysocki wrote: ... > similar way if memory is stuffed with something. ... Hmmm, ok, well I can boot into other -rcx-mmx kernels and get my output ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.4.28 -> ch..ch...changes....
      ... memory usage grows, but now it 'drops off' when not being used... ... perhaps using swap for a bit under these ... I build all kernels with no modules, all built in (expect USB for memory ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Exploit in 2.6 kernels
      ... > Thanks to everyone for the pointers on this one I've rebuilt the kernels ... BTW, I'd recommend updating to 2.6.11.7 so that you're protected from ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kernel (64bit) 4GB memory support
      ... > similar configurations to mine ... Is your memory PC1600, PC2100, or PC2700? ... search of 2.6 kernels, to see which one works for you. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: lot of VM problem with 2.4.23
      ... > '\n' in the patch). ... I simply think that with other kernels, ... > of memory, but it runs, while with this one, all memory gets consumed, and ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)