Answer the question
In order to leave comments, you need to log in
Should I store /tmp on ssd?
Khabravchane, subject. I have 2 disks - hdd and ssd. Partially installed ubuntu 12.04 on them, did this:
SSD:
8Gb - /
1Gb - / boot
10Gb - / tmp
30Gb - Windows
11Gb
- Empty
HDD:
16Gb - swap
10Gb - / var
300Gb - / home
674Gb - Windows
. I doubt that /tmp should be stored on ssd. Is it right or kill? It is dangerous to move it to RAM, chrome is constantly open with> 50 tabs, there may not be enough RAM (even though it is 12 gigs).
And can you recommend something else? :) Maybe it's worth moving / removing some sections?
Answer the question
In order to leave comments, you need to log in
Post on Habré , in particular:
tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/tmp tmpfs defaults 0 0
tmpfs /var/lock tmpfs defaults 0 0
tmpfs /var/log/apt tmpfs defaults,noatime 0 0
There are two approaches to the problem:
1. Pull out the SSD, put it near the monitor and admire.
2. Put everything you can on the SSD, leaving 5% free space.
Rather, the controller will fly out or the disk will become morally obsolete before your ssd cells wear out. Moreover, judging by the 12 gigs of RAM, you will change the ssd much earlier than any breakdown :).
In Windows, the same people move swap, hibernate, home directory, browser, etc. to the hard drive and wonder what the hell they need ssd for? ..
I don’t know where chrome writes in Linux, but in Windows it writes in home dir. I think that in Linux it also writes in the home directory. Why does he need a shared tempo folder? tmpfs, that's it. Only if you specifically do not drop large files into it.
I do not recommend swap and dynamically changing files on ssd, it increases wear and tear, and this is not necessary. How would I do this:
1. Make swap "symbolic", 1Gb for example
2. put swap on a regular disk, tweaked vm.swappiness=1
3. Increased the amount of RAM as much as possible
4. tmpfs limited in size (if there is a risk of gobbling up all the RAM)
tmpfs /tmp tmpfs size=1000M,mode=0777 0 0
5 Moved the chromium cache to tmpfs because by default it litters in the user profile (similar to / tmp)
tmpfs /home/username/.cache/google-chrome tmpfs size=1000M,mode=0777 0 0
All "code" is intended to be inserted into fstab
At first, I also put Windows on the ssd, and put everything superfluous on the screw, including the swap.
looked for about 4 months how it lives, the ssd promised to live until 2020.
Windows fell, rearranged, did not transfer anything anywhere, left everything as it is, only brought my documents to the hard drive.
ssd is promised to be dead by 2016. yes, this kingston is not the first freshness for 64 GB.
most likely, I will completely change the car more than once, than my ssd will die :)
use - by a girl ICQ, Skype, a lot of browsing, Gimp (content editor of an Internet store), by me - rdp - ICQ, Skype, TFS11 where my projects live in cvs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question