Dual Core?
This is probably a silly question, but I haven't been able to find an answer in the mailing list archives. If built on a dual-core system, does LFS take advantage of the dual cores? - Mark -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Dual Core
Hi. I just bought a DualCore, and a friend of mine told me I should build a 64bits system. Is there any point in this ? I noticed while installing a base Debian (to start building LFS ;-) that the chosen kernel was the AMD64 flavor. Is this normal ? And what options should I enable in the kernel that are specific to this processor ? Thanks for any tips or links. \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Dual Core?
Mark Olbert wrote: > This is probably a silly question, but I haven't been able to find an answer > in the mailing list archives. > > If built on a dual-core system, does LFS take advantage of the dual cores? > If you enable the support in the kernel yes it does. Jaqui -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Dual Core?
> If built on a dual-core system, does LFS take advantage of the dual cores? I think that is less a distribution question and more one for the kernel. I do believe the linux kernel does offer support for dual-core processors. It looks like the kernel config option is - Multi-core scheduler support -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Dual Core?
lists wrote: > Mark Olbert wrote: >> This is probably a silly question, but I haven't been able to find an answer >> in the mailing list archives. >> >> If built on a dual-core system, does LFS take advantage of the dual cores? >> > > If you enable the support in the kernel yes it does. > > Jaqui > And if enabled, try this: when building any package which takes a while to build, time how long it takes to compile with a) make and b) make -j 10 the second one should give you a speedy experience... thorsten -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Dual Core?
> > And if enabled, try this: > > when building any package which takes a while to build, time how long it > takes to compile with > > a) make > > and > > b) make -j 10 > > the second one should give you a speedy experience... > I have found that compiling big programs like linux kernel or glibc works best with make -j3 on AMD X2 with 1GB in tests I ran a couple of years ago. Jerry -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Dual Core?
On Tuesday 29 January 2008 1:08:53 am Mark Olbert wrote: > This is probably a silly question, but I haven't been able to find an > answer in the mailing list archives. > > If built on a dual-core system, does LFS take advantage of the dual cores? > > - Mark if you compile a smp kernel it will. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Dual Core
Nicolas FRANCOIS wrote: > I just bought a DualCore, and a friend of mine told me I should build a > 64bits system. Is there any point in this ? You won't be able to use some packages without multilib (which is, essentially, building two systems, 64-bit and 32-bit, instead of one). Some of the affected packages are due to the fact that they use 32-bit Windows DLLs. The examples are are wine (obviously), mplayer (partially, but, for example, you won't be able to play any 5.1 wma files from http://www.lynnemusic.com/surround.html; this music is used only as an example of what won't play). Given that the version of ffmpeg in the BLFS book is ancient, the situation is even worse: no WMV3 (aka VC-1) support, and crashes on interlaced H.264 video (readily triggered by digital TV broadcasts in Yekaterinburg, Russia). The other class of affected packages are those where the programmer made assumptions not valid for 64-bit systems. This kind of problems usually manifests itself at runtime as segfaults. Until recently, this applied to OpenOffice.org. Until the BLFS team goes through all the packages and places appropriate warnings, it is not recommended to avoid x86-64 on a desktop computers with less than 4 GB of memory. > I noticed while installing a > base Debian (to start building LFS ;-) that the chosen kernel was the > AMD64 flavor. Is this normal ? And what options should I enable in the > kernel that are specific to this processor? This won't work for LFS as a host at all, unless you figure out how to use the "linux32" command (and even then, I am not sure that there will be support). And for the options, please build the 32-bit kernel, you already know how to do it for Pentium4-class machines, it will "just work" with 32-bit userspace. -- Alexander E. Patrakov -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page