[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: thoughts about adding tmpfs support to live-helper



On Sun, May 23, 2010 at 06:51:01PM +0200, intrigeri wrote:
> Hi,
> 
> Brendan Sleight wrote (23 May 2010 13:28:02 GMT) :
> > On 21 May 2010 12:19, Daniel Baumann wrote:
> >> can think of: moving everything except the config into build/, and
> >> having build/ on a tmpfs.
> > Maybe a silly question. But what happens if the tmpfs is too small,
> > either limitation in hardware/swap or set too small by lh ?
> 
> well, some program will abort when it is refused the necessary storage
> space, and the whole build will then fail.

tmpfs uses swap. So at first the build will probably chalk up a bit for
swapping. But I'm not sure you'll notice it for a long build. If there's
not even swap, I figure that the OOM killer will spring into action. Not
sure how it acts with tmpfs, though.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir


Reply to: