Ram disk Scratch Space
Jonathan Aquilina
jaquilina at eagleeyet.net
Sun Sep 29 10:26:02 UTC 2019
Hi Wol,
I have 16gb of ram. When I was on gentoo I was using 9gb of ram as a ramdisk to help speed up compilation. You mention temp if its on the same disk aren’t you going to have no gains in performance like that?
Regards,
Jonathan
On 29/09/2019, 12:24, "LibreOffice on behalf of Wols Lists" <libreoffice-bounces at lists.freedesktop.org on behalf of antlists at youngman.org.uk> wrote:
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
>
_______________________________________________
LibreOffice mailing list
LibreOffice at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
More information about the LibreOffice
mailing list