You are not logged in.
Pages: 1
Hi,
I'm enjoying 1 Gb RAM, then I decided to allocate some RAM as temporary use.
I set in my /etc/fstab
/tmp /dev/shm tmpfs size=256m 0 0
But I'm not sure whether my /tmp is erased by boot procedures or because it's a real RAM.
Is there some test, to verify this?
Do I made wrong setting?
F
do it good first, it will be faster than do it twice the saint
Offline
Don't you want something like this:
none /tmp tmpfs nodev,nosuid,noexec,nodiratime,size=768M 0 0
That's what I'm running and my tmp is certainly in RAM and properly emptied. The size option gives an upperbound, I never reached it yet
Last edited by Ramses de Norre (2008-06-06 11:05:50)
Offline
Well, temporary CD creations, will get you that much
do it good first, it will be faster than do it twice the saint
Offline
can I ask you what improvements do you get putting /tmp in ram?
Offline
can I ask you what improvements do you get putting /tmp in ram?
I suppose you'd barely notice... I just like the idea and probably access time to cached documents etc is faster. But still, I don't think it really matters, I just like to experiment with stuff like this
Offline
It was a default setup in Arch a few years ago, btw.
Offline
It was a default setup in Arch a few years ago, btw.
Does anyone know why the default was changed?
Offline
IMHO, will reduce tear/wear on the HD, specially for unnecessary files, that are used as a simple placeholder.
Hard disks will do better on retaining important data, temporary files are accepted when RAM cannot suffice.
My dream would be to have a spindleless laptop. 64 Gb data storage, 16 Gb RAM and sata socket if HD or other removable disk will need.
F
Last edited by TheSaint (2008-06-07 13:42:36)
do it good first, it will be faster than do it twice the saint
Offline
lucke wrote:It was a default setup in Arch a few years ago, btw.
Does anyone know why the default was changed?
if I need to copy a cd the temporary image goes to /tmp of course, but I don't have 700 mB in /tmp because I don't even have 700mB of ram.
Offline
dhave wrote:lucke wrote:It was a default setup in Arch a few years ago, btw.
Does anyone know why the default was changed?
if I need to copy a cd the temporary image goes to /tmp of course, but I don't have 700 mB in /tmp because I don't even have 700mB of ram.
O.K., that makes sense. Thanks for the explanation.
Offline
Pages: 1