On Sun, Jun 18, 2017 at 01:50:38PM -0500, Bruce Dubbs wrote:
> Ken Moffat wrote:
> > On Sat, Jun 17, 2017 at 09:35:55PM -0500, Bruce Dubbs wrote:
> > > 
> > > A couple of notes here.  The tmp.img is a separate partition as I 
> > > generally
> > > use that for the actual builds.  systemd by default uses a tmpfs for /tmp.
> > > I wonder about the wisdom of that, especially in a multi-user system as I
> > > initially ran out of memory.
> > > 
> > 
> > By default, tmpfs uses half of RAM - on a 4G machine or virtual
> > machine, that is enough for many things.  On an 8G machine I have
> > room to build most things in /tmp (but not texlive, perhaps not
> > libreoffice).
> 
> Certainly not firefox or qt.  Generally I like to keep the builds around.
> Currently my /tmp is 13G.
> 
>   -- Bruce
Well, if you want to keep the builds around then using a tmpfs, or
indeed clearing /tmp after a reboot, is not useful.

And I see that my main build machine is actually 16GB (tmpfs almost
8GB) which explains why it has loads of room for texlive or firefox.
I'm fairly sure that I've built and DESTDIR'd firefox in /tmp on an
8GB machine - with 55.0beta3 the build and DESTDIR only total 5.8 GB.

Actually, that makes me nostalgic for the days when I could do
things on an x86_64 machine with only 1GB and 1 core - but these days
I can do a lot more.

ĸen
-- 
I live in a city. I know sparrows from starlings.  After that
everything is a duck as far as I'm concerned.  -- Monstrous Regiment
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to