On Thu, Apr 14, 2011 at 10:00 AM, Bruce Dubbs <bruce.du...@gmail.com> wrote:
> There is definitely something wrong. On a production LFS system running > in a virtual envronment, I get: > > real 0m18.514s > user 0m8.984s > sys 0m2.697s I'm still having the same problems after recompiling the kernel a few times with different options. Ken, I don't know how to check against the 32 v 64 bit. uname reports: Linux hojo-lfs-6.8 2.6.38.2-LFS6.8 #1 SMP Mon Apr 18 20:35:16 MDT 2011 x86_64 x86_64 x86_64 GNU/Linux I have picked out a shell script that runs very slowly from the configure script from openssh. On a stable system the script runs as fast as expected: Script: #LS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done The time on the script my box: real 0m5.780s user 0m0.030s sys 0m5.710s I have to run this script in a loop roughly 300 times on the stable box to approximate the LFS run. If I run this in a loop on the LFS box top shows the following while bash only consumes around 7 to 9% of the cpu and a scant of memory. Cpu(s): 0.0%us, 25.7%sy, 0.2%ni, 74.0%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st > I'm not sure why you want multiple CPUs in a virtual environment when > you can clone a new one for each task. > I'm not sure how to do that. Do you have a hint or page to refer me to? > -- Bruce > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page