VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: accelerate vl...  (Read 1338 times)

ghartl1

  • Vectorite
  • ***
  • Posts: 379
accelerate vl...
« on: March 19, 2008, 03:55:53 am »

hi,

i stumbled in the net over this howto..
its in grman...but the cli speaks for itself

to put it in a nutshell:

modify the fstab so the progs store their codes in ram than on the hd.

http://www.linuxhilfe.org/wiki/929-linux-beschleunigen-durch-tmpfs.html

would this work in vl too?

thats my original entry in fstab

tmpfs   /dev/shm    tmpfs defaults 0  0

any recommendations?
greets g√ľnter
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4130
Re: accelerate vl...
« Reply #1 on: March 19, 2008, 04:53:51 am »

My German is beyond rusty, but yes, it works well if you have enough RAM. I did this a while back when I replaced my hard drive with a compact flash card. My motivation was to reduce writes to the flash memory. I have not done any testing to see how performance was affected, but it definitely did not hurt my system.

I did not impose that 128 MB limitation, it has given me problems in the past. Here is what I added to fstab:

tmpfs   /tmp    tmpfs rw,suid,dev,exec,auto,nouser,async,noatime 0  0

« Last Edit: March 19, 2008, 04:57:23 am by nightflier »
Logged