Re: Kernel cached memory

2005-08-01 Thread Bill Davidsen
Gábor Lénárt wrote: On Mon, Jul 25, 2005 at 12:47:50PM -0400, Bill Davidsen wrote: Gábor Lénárt wrote: On Fri, Jul 22, 2005 at 05:46:58PM +0800, Ashley wrote: I've a server with 2 Operton 64bit CPU and 12G memory, and this server is used to run applications which will comsume

Re: Kernel cached memory

2005-08-01 Thread Gábor Lénárt
On Mon, Jul 25, 2005 at 12:47:50PM -0400, Bill Davidsen wrote: > Gábor Lénárt wrote: > >On Fri, Jul 22, 2005 at 05:46:58PM +0800, Ashley wrote: > > > >> 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

Re: Kernel cached memory

2005-07-26 Thread Bill Davidsen
Robert Hancock wrote: John Pearson wrote: Wouldn't having (practically) all your memory used for cache slow down starting a new program? First it would have to free up that space, and then put stuff in that space, taking potentially twice as long. If the cache pages are clean (not been mod

Re: Kernel cached memory

2005-07-25 Thread Robert Hancock
John Pearson wrote: Wouldn't having (practically) all your memory used for cache slow down starting a new program? First it would have to free up that space, and then put stuff in that space, taking potentially twice as long. If the cache pages are clean (not been modified since they were read

Re: Kernel cached memory

2005-07-25 Thread Chuck Ebbert
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 tune

Re: Kernel cached memory

2005-07-25 Thread Bill Davidsen
Paolo Ornati wrote: On Mon, 25 Jul 2005 12:47:50 -0400 Bill Davidsen <[EMAIL PROTECTED]> wrote: And IMHO Linux is *way* too willing to evicy clean pages of my programs to use as disk buffer, so that when system memory is full I pay the overhead of TWO disk i/o's, one to finally write the

Re: Kernel cached memory

2005-07-25 Thread Paolo Ornati
On Mon, 25 Jul 2005 12:47:50 -0400 Bill Davidsen <[EMAIL PROTECTED]> wrote: > And IMHO Linux is *way* too willing to evicy clean pages of my > programs to use as disk buffer, so that when system memory is full I > pay the overhead of TWO disk i/o's, one to finally write the data to > the disk a

Re: Kernel cached memory

2005-07-25 Thread Diego Calleja
El Mon, 25 Jul 2005 12:47:50 -0400, Bill Davidsen <[EMAIL PROTECTED]> escribió: > Just because default operation works well for you, kindly don't try to > convice us that there are no cases when the default operation is NOT > optimal. And IMHO Linux is *way* too willing to evicy clean pages of m

Re: Kernel cached memory

2005-07-25 Thread Bill Davidsen
Gábor Lénárt wrote: On Fri, Jul 22, 2005 at 05:46:58PM +0800, Ashley wrote: 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

Re: Kernel cached memory

2005-07-23 Thread Denis Vlasenko
On Saturday 23 July 2005 00:43, John Pearson wrote: > Wouldn't having (practically) all your memory used for cache slow down > starting a new program? First it would have to free up that space, and then > put stuff in that space, taking potentially twice as long. I think there > should be a system

Re: Kernel cached memory

2005-07-23 Thread Oliver Neukum
Am Freitag, 22. Juli 2005 19:58 schrieb Lee Revell: > On Fri, 2005-07-22 at 15:25 +0200, Gábor Lénárt wrote: > > Anyway, want to have 'free memory' is a thing like having dozens of cars > > in your garage which don't want to be used ... > > > > Really? I thought it was good to leave some memory

RE: Kernel cached memory

2005-07-22 Thread John Pearson
nt to do it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Erik Mouw Sent: Friday, July 22, 2005 5:58 AM To: Ashley Cc: linux-kernel@vger.kernel.org Subject: Re: Kernel cached memory On Fri, Jul 22, 2005 at 05:46:58PM +0800, Ashley wrote: >I've

Re: Kernel cached memory

2005-07-22 Thread Lee Revell
On Fri, 2005-07-22 at 15:25 +0200, Gábor Lénárt wrote: > Anyway, want to have 'free memory' is a thing like having dozens of cars > in your garage which don't want to be used ... > Really? I thought it was good to leave some memory free to speed up application startup, so we don't have to evict

Re: Kernel cached memory

2005-07-22 Thread Gábor Lénárt
On Fri, Jul 22, 2005 at 05:46:58PM +0800, Ashley wrote: >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(accr

Re: Kernel cached memory

2005-07-22 Thread Diego Calleja
El Fri, 22 Jul 2005 17:46:58 +0800, "Ashley" <[EMAIL PROTECTED]> escribió: > 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. You don't want that. Kernel will free cached memory w

Re: Kernel cached memory

2005-07-22 Thread Erik Mouw
On Fri, Jul 22, 2005 at 05:46:58PM +0800, Ashley wrote: >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(accr