LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling speed increased by ramdrive? (https://www.linuxquestions.org/questions/linux-software-2/compiling-speed-increased-by-ramdrive-211751/)

exodist 07-31-2004 02:58 AM

Compiling speed increased by ramdrive?
 
I am running a 2.2 p4 w/ 1gb ram, I noticed on compiling that my cpu rarely gets over 75% usage, and my memory never quite fills up, my hd's are all 7200rpm ata 133, I was wondering is the lack of cpu usage do to slow hd read times? would compiling be sped up if I made a ramdrive to extract/compile sources on?

jailbait 07-31-2004 10:16 AM

" would compiling be sped up if I made a ramdrive to extract/compile sources on?"

Probably not, because in creating the ram drive you would be removing memory from the cache. What speed you gained from the ram drive would be lost to a smaller cache size.

" I noticed on compiling that my cpu rarely gets over 75% usage, and my memory never quite fills up"

Linux always sets aside a little memory for emergency use. It would still do so if you created a ram drive.

In any case it would be interesting to try the experiment of running the same compile without a ram drive and with a ram drive and compare the two compile times.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites


All times are GMT -5. The time now is 02:57 PM.