Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


On 27/09/19 14:28, Jonathan Aquilina wrote:
I’m not sure it uses as much as it needs I have seen it max out at
around 6.1gb I know on gentoo, ok that is a source based distribution, I
had around 9gb of ram allocated as scratch space which greatly sped up
compile times.

And are your compile options the same? In particular concerning parallel
compilation?

No, on linux it pulls absolutely everything it needs into cache
(assuming the ram is available) and runs it from there. I notice you
haven't said how much ram your system actually has ...

If you really want to do something of the sort, I guess it might be
using /tmp - is that set up as a tmpfs? Please note that the definition
of /tmp says the contents may be lost at any time, so setting it up as
tmpfs is a *sensible* thing to do. On the other hand, the contents of
/var/tmp are defined as surviving a reboot (for things like crash
recovery) so that should *not* be tmpfs.

I run gentoo, and have a lot of tmpfs defined, but that's so that if
something overflows available ram the compile doesn't need to care about
it - it'll use all the ram available IFF it needs it.

Cheers,
Wol

Regards,
Jonathan Aquilina
Owner managing director

Phone (356) 20330099
Mobile (356) 79957942



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.