Help Understanding Linux memory management

2007-04-10 Thread Mouawad, Tony
Hello, I've been a MS Windows based programmer for a very long time and was recently tossed in an environment where I am developing embedded apps on the m68k / Linux platform. That makes me a Linux newbie. I started asking a few questions on various IRC channels and was directed to this group.

RE: Help Understanding Linux memory management

2007-04-10 Thread Mouawad, Tony
request the memory in pagecache to be released for use by the app. -Original Message- From: Robert Hancock [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 10:15 AM To: Mouawad, Tony Cc: linux-kernel@vger.kernel.org Subject: Re: Help Understanding Linux memory management Mouawad, Tony

RE: Help Understanding Linux memory management

2007-04-10 Thread Mouawad, Tony
April 10, 2007 12:17 PM To: Mouawad, Tony Cc: Robert Hancock; linux-kernel@vger.kernel.org Subject: Re: Help Understanding Linux memory management On Tue, 10 Apr 2007 10:31:34 -0400 "Mouawad, Tony" <[EMAIL PROTECTED]> wrote: > When vm.overcommit_memory = 2 and there appears

RE: tmpfs and the OOM killer

2007-04-11 Thread Mouawad, Tony
Can someone describe the process of finding the best value to tune the overcommit_ratio to? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Willy Tarreau Sent: Wednesday, April 11, 2007 3:48 PM To: Pedro Cc: linux-kernel@vger.kernel.org Subject: Re: tmpfs

RE: tmpfs and the OOM killer

2007-04-12 Thread Mouawad, Tony
I have noticed that with overcommit_memory=2 and overcommit_ratio=100, my system cannot leverage as much ram as it could if it was configured for overcommit_memory=0. Is this because when overcommit_memory=2, anything that mallocs memory but doesn't touch that memory is counted as used memory? I