Ram disk Scratch Space
Jonathan Aquilina
jaquilina at eagleeyet.net
Sun Sep 29 11:28:19 UTC 2019
Understood not sure if it’s tmpfs but I have everything on a single disk. I have a 4th gen i7 in this laptop but what I can’t understand is why even with ccache takes about 2 hrs to compile
Regards,
Jonathan Aquilina
Owner managing director
Phone (356) 20330099
Mobile (356) 79957942
Email sales at eagleeyet.net
________________________________
From: Wols Lists <antlists at youngman.org.uk>
Sent: Sunday, September 29, 2019 1:09:54 PM
To: Jonathan Aquilina <jaquilina at eagleeyet.net>; libreoffice at lists.freedesktop.org <libreoffice at lists.freedesktop.org>
Subject: Re: Ram disk Scratch Space
On 29/09/19 11:26, Jonathan Aquilina wrote:
> 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?
>
My reasoning was "it can't harm and might help". If /tmp is tmpfs then
it gets cleared out every boot. Saves wasting space. And
/var/tmp/portage was tmpfs for the same reason - if the system crashed
during an upgrade it would have caused a bit of a problem but otherwise
it's fine.
Where is your swap? Is that on the same disk - do you only have the one?
A tmpfs stores everything in memory - ram+virtual - so if it runs out of
ram it overflows into swap. I just wanted the space available if it was
needed.
Bear in mind also that if you make heavy use of tmpfs, then with gentoo
it probably never touches the hard drive - it's downloaded, exploded and
compiled in ram all the way. On Fedora, it'll be slower because it needs
to be pulled from disk by the compiler. And a ramdisk won't help because
you've got to copy it on to the disk ... :-)
I'd just trust linux to do the best with what's available, and don't
expect two very different distros to behave similarly.
Cheers,
Wol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20190929/a0e53416/attachment.html>
More information about the LibreOffice
mailing list