[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: howto improve speed of lh build with more RAM

On Thu, Mar 25, 2010 at 02:03:33PM +0100, Jonas Stein wrote:
> Hi,
> i want to speed up the generation of new debianlive images.
> At the moment it takes 2.5 hours to build a 4 GB System an put it into  
> an squashfs.
> The CPU utilisation was not 100%. The HDD seems to be the bottleneck.
> I have installed 8 GB RAM now. My idea was to make a 6 GB ramdisk with  
> kernelmodule brd.
> I want lh build to use this ramdisk for chroot.
> My first idea was to
> mount /dev/ram0 /var/local/deblive/chroot
> cd /var/local/deblive
> lh config ...
> lh build
> but lh build wants to delete chroot. Who has an idea, how i can make  
> best effort with the RAM to improve the speed during build process?

What about the time it takes to create the squashfs image?

Isn't it large? Doesn't it also consume tons of memory?

               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir

Reply to: