[COLUG] stress-testing multi-core systems
Rob Funk
rfunk at funknet.net
Fri Dec 28 15:51:04 EST 2007
Scott Merrill wrote:
> Can I restate my original question to seek advice on a single
> executable that will tax all of the available CPU cores in a system?
> Does such a thing exist?
If one exists, it would have to be Linux-specific, since POSIX doesn't
appear to have a way to specify what CPU to run a process on.
If you want to write/modify a program to do this, check out the Linux
sched_setaffinity(2) system call.
--
==============================| "A microscope locked in on one point
Rob Funk <rfunk at funknet.net> |Never sees what kind of room that it's in"
http://www.funknet.net/rfunk | -- Chris Mars, "Stuck in Rewind"
More information about the colug432
mailing list