> Date: Sat, 12 May 2012 19:01:51 +0200 > From: [email protected] > To: [email protected] > 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 <[email protected]> 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
