I'm thinking of having /tmp on its own partition... what would be a good filesystem to format it with?
The reason I ask is because the data being stored in /tmp is not permanent, so I don't need journaling, a fancy index, or anything.
|
I'm thinking of having /tmp on its own partition... what would be a good filesystem to format it with? The reason I ask is because the data being stored in /tmp is not permanent, so I don't need journaling, a fancy index, or anything.
| ||||
|
feedback
|
|
I sometimes find moving | |||||||||||||||||||
feedback
|
|
There are several good choices here:
If your computer runs for a long time, it is a good idea to delete unused files in However my first choice would be using | |||
|
feedback
|
|
Using ext4 with specific mount options should be fine. Use the following mount options:
| |||||
|
feedback
|
|
Using That being said...something that should be considered with regard to using a ramdisk for
When it's heavily used, this is a temptation - "we'll put /tmp into a RAM disk, it'll speed up access, and when the system reboots/shuts down, there's nothing to clean up". However, if you are thinking of implementing temp space as a RAM disk that will be swapped, then I would consider the ramifications of your system's swap space usage by other programs. If swap is there as a form of "emergency overflow" for when the system is in dire straights and needs it, the last thing you need is to have swap space consumed by a runaway process filling /tmp, consuming memory, causing pressure on the VM subsystem to swap to disk. Between swap activity, and the additional I/O streaming into the RAM disk (which in turn may cause additional page-ins to satisfy a | |||
|
feedback
|
|
If you don't want it possibly eating RAM, Actually, scratch that, you should probably use ext4 and disable its journal, it should be faster than ext2. Format it ext4, and stick it in | ||||
|
feedback
|
|
I'm happy with ext4. You can play with some mount options if you like to tweak it or use tmpfs if you have a lot of ram. | |||
|
feedback
|
|
I would stick with ext3 or ext4 (what ever your using). Unless you plan to access it from a windows install, then I'd go with a fat32. Why go with a sep. partition for tmp is I may ask? | |||||||||||||||||
feedback
|