Return-Path: Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:33623 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752364Ab0EXJz0 (ORCPT ); Mon, 24 May 2010 05:55:26 -0400 Date: Mon, 24 May 2010 11:02:45 +0100 From: Alan Cox To: Tharindu Rukshan Bamunuarachchi Cc: Hugh Dickins , linux-mm@kvack.org, linux-nfs@vger.kernel.org Subject: Re: TMPFS over NFSv4 Message-ID: <20100524110245.6b6d847d@lxorguk.ukuu.org.uk> In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Mon, 24 May 2010 10:26:39 +0100 Tharindu Rukshan Bamunuarachchi wrote: > thankx a lot Hugh ... I will try this out ... (bit harder patch > already patched SLES kernel :-p ) .... > > BTW, what does Alan means by "strict overcommit" ? Strict overcommit works like banks should. It tries to ensure that at any point it has sufficient swap and memory to fulfill any possible use of allocated address space. So in strict overcommit mode you should almost never see an OOM kill (there are perverse cases as always), but you will need a lot more swap that may well never be used. In the normal mode the kernel works like the US banking system and makes speculative guesses that all the resources it hands out will never be needed at once. That has the corresponding risk that one day it might at which point you get a meltdown (or in the kernel case OOM kills) Alan