Huge system slowdown while installing ports

Brandon S Allbery KF8NH allbery at kf8nh.com
Sat Jul 31 16:11:41 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7/31/10 18:57 , Haravikk wrote:
> I've actually always experienced this with Mac Ports, and I'm afraid
> I'm not sure what version I first tried, but when installing ports I
> often find that my system really crawls along at a snail's pace.
> Today I've spent nearly 13 hours installing the wine-devel port, even
> though kernel tasks (which I assume is the relevant process) has never
> gone beyond 15% CPU utilisation, yet light web surfing in Safari is
> sluggish, jerky, and sometimes unresponsive.

"Kernel tasks" would have nothing to do with compilation.  You are looking
for processes named "gcc", 'as", and "ld".

But in any case, the limiting factors for building ports are usually not so
much CPU as they are memory and disk I/O (not disk space, but how often the
disks are having to read/write).

> without having anything to do with the kernel.

That would be tricky, as any file open/read/write (you know, like reading
source code and writing object code) involves the kernel.  However, time
spent in the kernel on behalf of a process is accrued to that process.  If,
as I suspect, "kernel tasks" is pid 0, then it's collecting *idle* CPU time
and is completely irrelevant here.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxUrawACgkQIn7hlCsL25Up2QCfQp4mGtLiFjsgAcutTJ/OXrPI
ci4AoJ9br+VXdqU1qNUrdY986D5jsjKN
=h2PP
-----END PGP SIGNATURE-----


More information about the macports-users mailing list