Re: swappiness drop_caches ?

2009-04-02 Thread Shane Ginnane
Remembering that Linux doesn't swap in the classic sense, but demand pages (the name is an unfortunate carry forward from a time when things were different). Swappiness is merely an indication to page replacement of how you would like pages biased when the time comes to toss some out - 100 says

Re: swappiness drop_caches ?

2009-04-02 Thread Rob van der Heij
On Thu, Apr 2, 2009 at 8:15 AM, Shane Ginnane sginn...@isi.com.au wrote: This is an indication of preference only - in a stress situation your input will be ignored. Well it should be - I have trouble explaining what Marcy saw at the setting of 60. My opinion* is that the two memory

Re: swappiness drop_caches ?

2009-04-02 Thread Mark Perry
Rob van der Heij wrote: On Thu, Apr 2, 2009 at 8:15 AM, Shane Ginnane sginn...@isi.com.au wrote: This is an indication of preference only - in a stress situation your input will be ignored. Well it should be - I have trouble explaining what Marcy saw at the setting of 60. My opinion* is

Re: swappiness drop_caches ?

2009-04-02 Thread Rob van der Heij
On Thu, Apr 2, 2009 at 9:33 AM, Mark Perry rita.co@googlemail.com wrote: JAVA JVMs like real storage :-) The Garbage Collection (GC) runs periodically and references ALL JVM allocated storage. If Linux has paged out any of the JVM storage it must be brought back in for every GC cycle.

swappiness drop_caches ?

2009-04-01 Thread Ayer, Paul W
Good afternoon all, Just wondering if anyone has some input (good, bad, warnings ...) or has had to used the following two items we are running VM5.4 and RHEL4.x and 5.x sles 9 and 10 systems 1) Setting swappiness to other than the default of 60 ? Echo nn

Re: swappiness drop_caches ?

2009-04-01 Thread Rob van der Heij
On Wed, Apr 1, 2009 at 9:20 PM, Ayer, Paul W pwa...@statestreet.com wrote: Good afternoon all, Just wondering if anyone has some input (good, bad, warnings  ...) or has had to used the following two items we are running VM5.4 and RHEL4.x and 5.x sles 9 and 10 systems 1)      Setting

Re: swappiness drop_caches ?

2009-04-01 Thread Ayer, Paul W
just hangs up ... very true ... Thanks, Paul -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Rob van der Heij Sent: Wednesday, April 01, 2009 3:43 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: swappiness drop_caches ? On Wed, Apr 1, 2009 at 9:20

Re: swappiness drop_caches ?

2009-04-01 Thread Marcy Cortes
this message. Thank you for your cooperation. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Ayer, Paul W Sent: Wednesday, April 01, 2009 12:20 PM To: LINUX-390@VM.MARIST.EDU Subject: [LINUX-390] swappiness drop_caches ? Good afternoon all, Just

Re: swappiness drop_caches ?

2009-04-01 Thread r.stricklin
On Apr 1, 2009, at 1:32 PM, Marcy Cortes wrote: We found that with the default vm.swapiness setting of 60, our biggest production WAS app would slowly fill up all of his swap space, run out after 5 days or so, and crash. Setting it to 20 made that problem go away . I'm pretty unhappy with

Re: swappiness drop_caches ?

2009-04-01 Thread Rob van der Heij
On Wed, Apr 1, 2009 at 10:19 PM, Ayer, Paul W pwa...@statestreet.com wrote: For swappiness  it seems that it would be set by each system and what they are doing from what I am reading.. Right, to be determined for each system separately, and reviewed when the application or configuration

Re: swappiness drop_caches ?

2009-04-01 Thread Saulo Silva
Hi Paul , The drop_caches is a command itself . To have it working you should create a cron job to issue the command all the time what is not so good . About the swappiness it works in my case because that parameters change the schedule about the swap out . The trick is the server will swap out

Re: swappiness drop_caches ?

2009-04-01 Thread Andrew Wiley
On Wed, Apr 1, 2009 at 4:16 PM, r.stricklin b...@typewritten.org wrote: My experience doing so, however, was that it opened us up to situations where I would start to see processes get pranged by the out- of-memory desperation kill feature, even though there was quite a bit of memory still

Re: swappiness drop_caches ?

2009-04-01 Thread Rob van der Heij
On Wed, Apr 1, 2009 at 11:16 PM, r.stricklin b...@typewritten.org wrote: I'm pretty unhappy with the way Linux has been managing memory, especially w/rt the block caches being allowed to page out process data. I was hopeful that we could affect some semblance of sane behavior by twiddling