View previous topic :: View next topic |
Author |
Message |
drillsar n00b
Joined: 08 Sep 2010 Posts: 33
|
Posted: Tue Jun 11, 2019 7:33 pm Post subject: Moving Cache for SSD? |
|
|
I was wondering how to move cache to tmps? I have 16G of Ram by the way
I dont want to use systemd by the way.
I have /var/tmp with 1G as of now; thinking of also using 2G for Nginx pagespeed; 5G for cache Desktop.
I read this https://wiki.gentoo.org/wiki/SSD
profile-sync-daemon version 6 requires systemd; is there another way? |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Thu Jun 13, 2019 7:22 am Post subject: |
|
|
Which cache? You want to have /var/tmp in Ram? Then you can use tmpfs in fstab:
Code: | none /var/tmp tmpfs defaults,noatime,nodiratime,size=3500M,noatime 0 0 |
But I wonder if loosing Ram for this is worth as it also reduces the buffers. And even my 3,5GB was too small for some of the ebuilds so I had to add a blacklist for packages not fitting and being built outside the tmpfs. I don't use tmpfs anymore today, just for the small /tmp with 512M. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4149 Location: Bavaria
|
Posted: Thu Jun 13, 2019 9:42 am Post subject: Re: Moving Cache for SSD? |
|
|
drillsar wrote: | profile-sync-daemon version 6 requires systemd; is there another way? |
I have also an SSD, 16 GB and no systemd and NO sync-daemon - XDG Cache on tmpfs is enough (I have the two browsers "falcon" and "konqueror"). My dir: /home/peter/.cache is empty, because all is in /tmp/peter/.cache
Here the two important lines in /etc/fstab:
Code: | tmpfs /tmp tmpfs rw,noexec,nodev,nosuid,mode=1777 0 0
tmpfs /var/tmp/portage tmpfs rw,nodev,nosuid,size=10G,uid=portage 0 0 |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|