Re: Off-topic process question.

From: Jonathan Case Nicklin (nicklin@missioncriticallinux.com)
Date: Wed Apr 19 2000 - 14:50:03 EST


"Nicholas M. Kirsch" wrote:

> Maybe one of you kernel gurus can answer a simple question for me.
>
> I'm curious if there is a way to instruct the kernel to execute a
> particular process only on a particular processor in a multi-processor
> system.
>
> Thanks.
>
> Nicholas Kirsch <nkirsch@insynq.com>
>
> InsynQ Data Utilities
> http://www.insynq.com
> 253.284.2032
>
> GPG fingerprint = A74F D4BC 5EAB 6B69 668F 8E15 FEB7 60E1 4FC8 B683
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

Nicholas,

    Nope, there is no processor affinity in linux, hence you can't bind a
process to a specific CPU. However, the scheduler does give a goodness boost
to a process if it can run on the same cpu on which it ran last.

-Jonathan Case Nicklin
http://www.missionciticallinux.com

ps. there might a patch floating around to do this though.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:15 EST