Minor speed tweak tip

michalsc at email.uc.edu michalsc at email.uc.edu
Mon Feb 10 18:41:04 GMT 2003


is there a better way to do this
see if you can get a more automated method of doing this?
that is stable :-P

hardkrash

Quoting "Shern, Benjamin J" <ShernBJ at LOUISVILLE.STORTEK.COM>:

> For those of you with a decent size chunk of RAM:
> I've benchmarked 5-10% improvement in compile times by caching /usr/bin
> into
> memory.  The best way I've found to do this is:
> 
> mkdir /usr/bin_ram
> mount -t tmpfs tmpfs /usr/bin_ram
> cp -a /usr/bin/* /usr/bin_ram
> 
> Edit /etc/profile and put /usr/bin_ram before /usr/bin.
> 
> Only caveat is that you're mindful to re-mirror the tmpfs after
> removing
> packages.
> 
> Even on systems with less memory I'm guessing some performance could
> be
> added during compiling by caching individual binaries such as gcc,
> binutils,
> make, install etc...
> 
> regards,
> Ben
> 
> 
> Curious if anyone else has tested this and seem similar or better
> results...
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://lunar-linux.org/mailman/listinfo/lunar
> 


More information about the Lunar mailing list