How to fork or spawn processes to second processor ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sabre

    How to fork or spawn processes to second processor ?

    Hi everybody,

    how can I spawn or fork a second process onto the second processor of my
    dual core server ? Is there a possibility to determin the processor on which
    a process shall run ?

    Thanks in advance
    Bernd


  • Stefan Behnel

    #2
    Re: How to fork or spawn processes to second processor ?

    Sabre wrote:[color=blue]
    > how can I spawn or fork a second process onto the second processor of my
    > dual core server ? Is there a possibility to determin the processor on which
    > a process shall run ?[/color]

    Hi,

    from your post it's not clear why you would want to do that or which operating
    system you are using.

    Normally, you can expect any decent multi-processor operating system to
    distribute the load nicely over all available processors. Relying on that
    might help you.

    Stefan

    Comment

    Working...