You are not logged in.

#1 2010-07-07 18:02:38

Rouslan Nabioullin
Member
Registered: 2008-12-23
Posts: 5

Purpose of Mounting /tmp as tmpfs

What are the benefits of using tmpfs for /tmp partition, as opposed to having /tmp be a partition or part of a partition on disk, assuming one will not use /tmp for building? I do not see how performance will be greatly increased since reads/writes to /tmp seem to be infrequent.

Offline

#2 2010-07-07 18:29:01

benob
Member
Registered: 2008-11-11
Posts: 187

Re: Purpose of Mounting /tmp as tmpfs

- you don't want to write too much to your SSD
- you don't want to loose time cleaning it at boot
- maybe on laptops you can spare a few disk resumes
- your / partition is almost full, you need an exstension and your partition table is full

Seriously, I don't know

Offline

#3 2010-07-08 00:01:00

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Purpose of Mounting /tmp as tmpfs

I use /tmp as a scartch space so it would be faster for me. *shrugs*


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2010-07-08 00:21:22

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Purpose of Mounting /tmp as tmpfs

Basically, the use of tmpfs is to place system elements into ram, since tmpfs is a ram established file system.

This definitely increases performance versus that obtained from HDD.

Q.E.D.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2010-07-08 02:27:55

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Purpose of Mounting /tmp as tmpfs

/tmp is my... temporary place where I download random stuff, extract it, edit it, etcetera. When I'm happy with it I move it elsewhere.
I use tmpfs.

Offline

Board footer

Powered by FluxBB