Re: Reducing the time for buildworld

看板DFBSD_kernel作者時間15年前 (2011/03/07 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/7 (看更多)
On 3/6/2011 10:42 PM, Matthew Dillon wrote: > I hesitate to ask how much memory was configured originally. > > Certain subsystems within the buildworld build eat a huge amount of > memory. In particular, the GCC build within the buildworld has some > huge and complex files which eat a lot of memory while running and a > -j3 would potentially run three of those cc's simultaniously. > > I remember doing buildworlds on very old machines... with 256M of ram > or less, and they would always bog down compiling gcc. Configuring a lot > of swap and not using any make parallelism got the build through those > files. > > In modern day machines have enough memory that it's easy to forget about > build requirements, but we've seen people running VMs make the same > mistake of configuring too little memory. If you are going to be running > buildworlds I woulds say 512M is about the minimum that can be configured. > > And you should always configure outsized swap space, like a gigabyte or > so, on VMs with low amounts of configured ram just so it can slog though > the memory intensive bits. > > -Matt Well that explains why i had to give the VM a 523 ram . And after the 'make buildworld' my virtual disk is almost full . Is there a way to clean all these files after i 'make installworld' ?
文章代碼(AID): #1DS-z758 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #1DS-z758 (DFBSD_kernel)