[lfs-support] 6.2.3. Mounting Virtual Kernel File Systems question
Hi All, I've recently updated my main workstation to LFS 7.1 (From LFS 6.7), and noticed one of my auto build scripts is now failing. I've tracked it down to the following command. mount -vt tmpfs shm $LFS/dev/shm It seems to me that this command is mounting onto /run/shm rather than /mnt/lfs/dev/shm due to /mnt/lfs/dev/shm being a symlink to /run/shm. Further more, when entering chroot environment, /dev/shm is now pointing to a no existent /run/shm. Am I'm doing something wrong or is this a bug? Thanks, Wayne. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Do you know why 2 CPUs act like a mirror in GCC test?
> Date: Sat, 12 May 2012 19:01:51 +0200 > From: akuk...@gmail.com > To: lfs-support@linuxfromscratch.org > Subject: Re: [lfs-support] Do you know why 2 CPUs act like a mirror in GCC > test? > > >On Sat, 12 May 2012 21:11:19 +0430 > >Yasser Zamani wrote: > > > > > > Hi, > > > > Sorry if it's off-topic; do you know why 2 CPUs act like a mirror > > while I'm running "make -k check" for testing GCC-4.6.2 (6.17's > > section of LFS-7.1)? it's not a problem but just I would like to > > know; I've attached an image which shows this while I was not running > > anything except GCC testing and Debian's System Monitor. > > > > I think it'll be an interesting reason that causes 2 CPU's mirror > > action during all test process! > > > > Thanks! > > > > -Yasser > > > > Probably make is running only one process at a time and Linux > load-balances the cores in that it dispatches them in an alternating > fashion. > > Try running make -j2 -k check to make make run two jobs at the same > time. > Yes, I think you're right. for compilation I always used -j2 switch but unfortunately I did not know that I can use this switch with any 'make ' command! I remember when I used this switch for compilation, both CPUs was on 100% load. thanks again, I learned that I can issue 'make check' with -j2 switch too and waiting less and mailing less as result ;) -Yasser -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Do you know why 2 CPUs act like a mirror in GCC test?
>On Sat, 12 May 2012 21:11:19 +0430 >Yasser Zamani wrote: > > > Hi, > > Sorry if it's off-topic; do you know why 2 CPUs act like a mirror > while I'm running "make -k check" for testing GCC-4.6.2 (6.17's > section of LFS-7.1)? it's not a problem but just I would like to > know; I've attached an image which shows this while I was not running > anything except GCC testing and Debian's System Monitor. > > I think it'll be an interesting reason that causes 2 CPU's mirror > action during all test process! > > Thanks! > > -Yasser > Probably make is running only one process at a time and Linux load-balances the cores in that it dispatches them in an alternating fashion. Try running make -j2 -k check to make make run two jobs at the same time. -- Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Do you know why 2 CPUs act like a mirror in GCC test?
Hi, Sorry if it's off-topic; do you know why 2 CPUs act like a mirror while I'm running "make -k check" for testing GCC-4.6.2 (6.17's section of LFS-7.1)? it's not a problem but just I would like to know; I've attached an image which shows this while I was not running anything except GCC testing and Debian's System Monitor. I think it'll be an interesting reason that causes 2 CPU's mirror action during all test process! Thanks! -Yasser <>-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page