[lkml]   [2005]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Binding a thread (or specific process) to a designated CPU
    "Brian D. McGrew" <> writes:

    > Good morning,
    > Using FC3 or FC4 with the 2.6.9 or later kernel, we're looking for a way
    > to bind a thread (or an entire process) to a designated CPU. We're
    > using dual processor systems as well as P4 with HT and Xeons so all of
    > our boxes either have two CPU's or 'appear' to have two.
    > I want to be able, in my C++ code to designate a specific thread to a
    > specific processor. I've heard rumors that with the 2.6 kernel this is
    > now possible???

    Look into sched_setaffinity() and friends.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-08-23 00:34    [W:0.021 / U:3.884 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site