public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Jenkins <aj504@student.cs.york.ac.uk>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Alan Jenkins <aj504@cs.york.ac.uk>,
	Chris Frey <cdfrey@foursquare.net>,
	linux-kernel@vger.kernel.org
Subject: Re: OOM policy, overcommit control, and soft limits
Date: Sat, 31 May 2008 17:45:59 +0100	[thread overview]
Message-ID: <484180C7.3040701@student.cs.york.ac.uk> (raw)
In-Reply-To: <20080531162341.4e183a09@core>

Alan Cox wrote:
>> In other words, I reckon I have on the order of a gigabyte of virtual
>> address space, which has been malloc'ed or equivalent, but is not used
>> and therefore requires no memory resource (ram or swap).
>>     
>
> No need to reckon. The committed_as in the proc file should give a rough
> value.
>
> Alan
>   
Thanks for the education.  I shall read up on the other numbers in 
/proc/meminfo as well.

In that case I was overly pessimistic.  I was only committed around the 
512M mark.  It jumps up to 750M if I open Amarok and Firefox though.  At 
times I've run more - I would guess I can contrive combinations which go 
above 1000M.


I've not had an OOM event on this machine.  I have had runaway 
development-related loads, causing thrashing (hitting swap) out of 
control, but I can't really comment.  I don't remember what caused it 
exactly.  Plus I'm swapping to a Flash drive; a Flash specific IO 
scheduler might have coped better (than noop) and made it easier to recover.

Alan

  reply	other threads:[~2008-05-31 16:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <azwvH-5QW-5@gated-at.bofh.it>
2008-05-31 12:48 ` OOM policy, overcommit control, and soft limits Alan Jenkins
2008-05-31 15:23   ` Alan Cox
2008-05-31 16:45     ` Alan Jenkins [this message]
2008-05-31 10:27 Chris Frey
2008-05-31 13:15 ` Alan Cox
2008-05-31 16:41 ` Andrea Righi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=484180C7.3040701@student.cs.york.ac.uk \
    --to=aj504@student.cs.york.ac.uk \
    --cc=aj504@cs.york.ac.uk \
    --cc=alan-jenkins@tuffmail.co.uk \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=cdfrey@foursquare.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox