Try building with SAGE_BUIILD_THREADS=2.  If you are building with 3
threads on a 2 cpu system you could be seeing some type of
cache/scheduler issue as pbuild fully saturates the threads it
launches to 100% cpu usage.

On Tue, May 6, 2008 at 2:05 AM, Dan Drake <[EMAIL PROTECTED]> wrote:
> I have access to a dual processor machine, so I thought I'd try out the
>  new pbuild stuff in 3.0.1. Unfortunately, exporting SAGE_BUILD_THREADS=3
>  and SAGE_PBUILD=yes resulted in a *slower* build:
>
>
>   real    205m21.375s
>   user    184m45.427s
>   sys     24m50.515s
>
>  was at the bottom after running `make'. When I cleared those variables
>  and ran `make' in a clean tree, I got
>
>   real    144m59.654s
>   user    111m43.727s
>   sys     18m36.220s
>
>  When the supposed pbuild was running, I ran top in another window and it
>  seemed like it was never actually running more than one process at a
>  time; top consistently reported about 50% idle and a load average near
>  1.
>
>  Below are some specs for the machine. Any thoughts on why it isn't
>  actually doing a parallel build?
>
>
>  It's a Fedora 7 box; uname -a gives
>
>  Linux vinh505.math.umn.edu 2.6.23.15-80.fc7 #1 SMP Sun Feb 10 17:29:10
>  EST 2008 i686 athlon i386 GNU/Linux
>
>  and /proc/cpuinfo is
>
>  processor   : 0
>  vendor_id   : AuthenticAMD
>  cpu family  : 6
>  model       : 8
>  model name  : AMD Athlon(tm) MP 2600+
>  stepping    : 1
>  cpu MHz     : 2133.460
>  cache size  : 256 KB
>  fdiv_bug    : no
>  hlt_bug     : no
>  f00f_bug    : no
>  coma_bug    : no
>  fpu     : yes
>  fpu_exception   : yes
>  cpuid level : 1
>  wp      : yes
>  flags       : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
>  pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow ts
>  bogomips    : 4270.04
>  clflush size    : 32
>
>  processor   : 1
>  vendor_id   : AuthenticAMD
>  cpu family  : 6
>  model       : 8
>  model name  : AMD Athlon(tm) Processor
>  stepping    : 1
>  cpu MHz     : 2133.460
>  cache size  : 256 KB
>  fdiv_bug    : no
>  hlt_bug     : no
>  f00f_bug    : no
>  coma_bug    : no
>  fpu     : yes
>  fpu_exception   : yes
>  cpuid level : 1
>  wp      : yes
>  flags       : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
>  pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow ts
>  bogomips    : 4266.20
>  clflush size    : 32
>
>
>
>  --
>  ---  Dan Drake <[EMAIL PROTECTED]>
>  -----  KAIST Department of Mathematical Sciences
>  -------  http://math.kaist.ac.kr/~drake
>
> -----BEGIN PGP SIGNATURE-----
>  Version: GnuPG v1.4.6 (GNU/Linux)
>
>  iD8DBQFIIBFFr4V8SljC5LoRAsrZAJ9w7otvjVpki/5CFb8C/OTzFDfhwACgocij
>  A0EqWiwo8EFsx1FfxDI7NqY=
>  =UUpu
>  -----END PGP SIGNATURE-----
>
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to