Re: CPU affinity



on 10/03/2011 05:45 Steve Kargl said the following:
On Thu, Mar 10, 2011 at 11:56:22AM +0900, Hideki Yamamoto wrote:
Hi,

We are interested in realtime application and CPU affinity.
After googling pthread_setaffinity_np, I have found that it appeared in 7.2.
But I cannot find it by man command.
Does anyone know the status of CPU affinity function in FreeBSD or
useful links about it?
I have found the pointer about a command,
http://segfault.in/2010/09/how-to-set-cpu-affinity-for-a-process-in-freebsd/


Man pages are available on-line.

http://www.freebsd.org/cgi/man.cgi?query=pthread_setaffinity_np&apropos=0&sektion=0&manpath=FreeBSD+8.2-RELEASE&format=html


And the actual functions that should be used on modern FreeBSD are
cpuset_setaffinity and cpuset_getaffinity.

--
Andriy Gapon
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: CPU affinity
    ... We are interested in realtime application and CPU affinity. ... But I cannot find it by man command. ... Does anyone know the status of CPU affinity function in FreeBSD or ... And the actual functions that should be used on modern FreeBSD are ...
    (freebsd-current)
  • Re: [opensuse] [OT] unstable system - still trying to identify the culprit.
    ... taskset - retrieve or set a processes's CPU affinity ... running process given its PID or to launch a new COMMAND ...
    (SuSE)
  • CPU affinity
    ... We are interested in realtime application and CPU affinity. ... After googling pthread_setaffinity_np, I have found that it appeared in 7.2. ... But I cannot find it by man command. ...
    (freebsd-current)
  • Re: CPU affinity
    ... We are interested in realtime application and CPU affinity. ... After googling pthread_setaffinity_np, I have found that it appeared in 7.2. ... But I cannot find it by man command. ...
    (freebsd-current)