public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel cached memory
@ 2005-07-22  9:46 Ashley
  2005-07-22 11:31 ` Diego Calleja
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Ashley @ 2005-07-22  9:46 UTC (permalink / raw)
  To: linux-kernel

Hi all
    I've a server with 2 Operton 64bit CPU and 12G memory, and this server 
is used to run  applications which will comsume huge memory,
the problem is: when this aplications exits,  the free memory of the server 
is still very low(accroding to the output of "top"), and
from the output of command "free", I can see that many GB memory was cached 
by kernel. Does anyone know how to free the kernel cached
memory? thanks in advance.

Sincerely,
Ashley
------------------------------------------------------
AlChip Technologies, Limited
26F, Huamin Empire Plaza, Suite B-H,
726 West YanAn Road,
Shanghai, China 200050
Tel: 86-21-5237-8800 ext.220
Fax: 86-21-5237-8880
http://www.alchip.com
------------------------------------------------------  



^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: Kernel cached memory
@ 2005-07-26  0:35 Chuck Ebbert
  0 siblings, 0 replies; 17+ messages in thread
From: Chuck Ebbert @ 2005-07-26  0:35 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: Ashley, lgb, linux-kernel, Lee Revell

On Mon, 25 Jul 2005 at 12:47:50 -0400, Bill Davidsen wrote:

> > It's a very - very - very old and bad logic (at least nowdays) from the
> > stone age to free up memory.
>
> It's very Microsoft to claim that the OS always knows best, and not let 
> the user tune the system the way they want it tuned.

Ironically, Microsoft offers a choice here.

In the registry (NT and W2K at least, don't know about XP:)

HKLM\SYSTEM\CurrentControlSet\Session Manager\Memory Management
        LargeSystemCache : REG_DWORD
                0: prefer application code over cached data
                1: prefer cached data

Also:

        DisablePagingExecutive : REG_DWORD
                1: don't allow kernel code to be paged out

        IOPageLockLimit : REG_DWORD
                controls the amount of memory that can be locked for I/O


__
Chuck

^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <4t5s8-68A-33@gated-at.bofh.it>]

end of thread, other threads:[~2005-08-01 21:03 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-22  9:46 Kernel cached memory Ashley
2005-07-22 11:31 ` Diego Calleja
2005-07-22 12:57 ` Erik Mouw
2005-07-22 21:43   ` John Pearson
2005-07-23 12:31     ` Denis Vlasenko
2005-07-22 13:25 ` Gábor Lénárt
2005-07-22 17:58   ` Lee Revell
2005-07-23 10:50     ` Oliver Neukum
2005-07-25 16:47   ` Bill Davidsen
2005-07-25 17:03     ` Diego Calleja
2005-07-25 17:07     ` Paolo Ornati
2005-07-25 18:02       ` Bill Davidsen
2005-08-01 10:38     ` Gábor Lénárt
2005-08-01 21:08       ` Bill Davidsen
  -- strict thread matches above, loose matches on Subject: below --
2005-07-26  0:35 Chuck Ebbert
     [not found] <4t5s8-68A-33@gated-at.bofh.it>
     [not found] ` <4tdIU-479-9@gated-at.bofh.it>
2005-07-26  5:03   ` Robert Hancock
2005-07-26 15:00     ` Bill Davidsen

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