Subject: Re: pkgsrc on SMP machines
To: Hubert Feyrer <feyrer@cs.stevens.edu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 12/15/2005 01:34:35
On Thu, 15 Dec 2005, Hubert Feyrer wrote:
> + ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -j17 ${BUILD_MAKE_FLAGS} \
Thanks. I am using -j2 here and both of my CPUs are getting used. I am
building kdelibs on Linux. top (from wip/procps) shows me:
Tasks: 74 total, 3 running, 71 sleeping, 0 stopped, 0 zombie
Cpu0 : 95.5% user, 4.2% system, 0.0% nice, 0.3% idle, 0.0% IO-wait
Cpu1 : 95.5% user, 3.2% system, 0.0% nice, 1.3% idle, 0.0% IO-wait
And sometimes I have multiple shlibtool, cc1plus and g++ running at same
time.
Sometimes the Cpu1 jumps down to only near 0 percent though during same
build, but that is okay.
I should have recorded how long it took to build before ...
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/