Hi, I have a large amount of RAM (2go) on a laptop, and a friend adviced me to mount tmpfs into the RAM. When I 'free' or 'top' I see the RAM is never fully used. Unfortunately, I dont know how to do that. I'm running FC4. Would you know a "Fedora compliant" method to ilplement such a thing? Is it just about editing fstab? what value with (how to specify I want to use the RAM) Thank you.
On Thu, 2005-09-29 at 00:18 +0200, Rakotomandimby Mihamina wrote:
Hi, I have a large amount of RAM (2go) on a laptop, and a friend adviced me to mount tmpfs into the RAM. When I 'free' or 'top' I see the RAM is never fully used.
You've got to be kidding me. Linux uses _all_ ram.
total used free shared buffers cached Mem: 1518 1477 40 0 117 707
Unfortunately, I dont know how to do that.
#mount -t tmpfs tmpfs /mnt/tmpfs #df -h | grep tmpfs tmpfs 760M 0 760M 0% /mnt/tmpfs
#mount -t tmpfs tmpfs /mnt/tmpfs -o size=100M df -h | grep tmpfs tmpfs 100M 0 100M 0% /mnt/tmpfs