Last modified 6 years ago
Speed up compilation
If your host system has 1.5GB RAM or more, you can use tmpfs filesystems to speed up compilation.
(You kernel must support tmpfs RAM filesystems)
edit your /etc/fstab and add :
none /tmp tmpfs defaults,size=512m,mode=1777 0 0 none /storage/btux/sources tmpfs defaults,size=1024m,mode=1777 0 0
Be sure to replace /storage/btux/sources with the full path of your btux/sources directory.
then mount them :
mount /tmp mount /storage/btux/sources
Note : some distros comes with /tmp already mounted as a tmpfs.
Benchmark : On an XP 3200+ CPU, building the tools takes 56m22s (with /tmp as tmpfs) 7200rpm HDD, while it takes 44m29s with both /tmp and butx/sources as tmpfs.
