Messages in this thread | | | Date | Thu, 28 Aug 2008 17:51:00 +0100 | From | Alan Cox <> | Subject | Re: question about overcommit |
| |
O> my belief from watching the discussions is that it will evict things from > ram to make space for the new allocation, and as a result running with > overcommit disabled ends up wasting a noticable amount of ram. As a result
No-overcommit is address space accounting alone. It doesn't change actual allocation or management of memory, it simply ensures that there should always be enough space to ensure it can sort itself out without having to OOM something.
It's a bit like bank loans - providing I know how much money is available I don't have to do much except for ensure the total loaned is covered. In the overcommit mode we instead run like the US banking system and pray we don't hit a messy OOM (out of money) situation.
Alan
| |