What exactly is the semantics of get_nprocs, the manual states: The @code{get_nprocs} function returns the number of available processors. Does available mean the number of all processors the kernel runs on? Or does it mean the number of CPUs upon which the process and its children will be permitted to execute? In the latter case we can use the sched_getaffinity system call for get_nprocs if it's available. If this is ok, I'll prepare a patch... Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126