temp folder on SSD

Issues related to hardware problems
Post Reply
Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

temp folder on SSD

Post by Blisk » 2018/04/06 08:14:43

Will that make any good if I put temp folder and also from some other programs which have temp folders, all to SSD?
Will that make all go faster than now?
Any thoughts about that.

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: temp folder on SSD

Post by pjsr2 » 2018/04/08 16:30:49

There is no general answer to this question as it depends on how much the programs you are typically using are writing and reading information to/from temporary files. Most programs write no data to temp files at all.

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: temp folder on SSD

Post by hunter86_bg » 2018/04/09 04:44:15

In latest versions of LVM , there is lvm cache which is quite smart and will protect your ssd from unneeded stress.
You can find plenty 'how-to'-s over the internet.

Also another option (if you have enough ram) is to make your /tmp -> ram based FS. There is a predefined systemd service for that.

Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

Re: temp folder on SSD

Post by Blisk » 2018/04/09 06:39:43

So generally using SSD for cache or temp files is not an good idea?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: temp folder on SSD

Post by TrevorH » 2018/04/09 08:32:53

The default CentOS 7 setup out of the box uses tmpfs for /tmp - that's RAM and swap backed so would be even faster than SSD. The only reason to change it would be if you need more space than tmpfs provides.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply