[scyld-users] CPU binding for SMP
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Jeho Park tojeho at gmail.comWed Sep 13 15:36:33 PDT 2006
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Does Scyld OS has any means of CPU binding for clusters with SMP? The cluster I am working on has two CPUs per node with Scyld OS running kernel 2.2.19-12. I am trying to compile a benchmarking program which makes use of cycle counter for timing measure. Since the cluster has two CPUs, there must be a way to bind processes to one of the local CPUs to avoid obtaining wrong values of the cycle counter register from the other CPU (-- they don't share one cycle counter). There is a function, sched_setaffinity() from sched.h, for kernels 2.6.x or later version, or sysmp() function from pset patch for older kernels. Neither one works for my cluster. Is there any work around for the kernel 2.2.19-12 of Scyld OS? Thanks in advance, Jeho Park
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Scyld-users mailing list
