Re: pin/bind a pthread to a processor? (take 2)

2007-02-16 Thread John Giacomoni
Dan Eischen and Julian Elischer, I'd really like the ability to pin to a processor. However, I think I need something stronger than immediately rescheduling the current process as seems to be done in the 4bsd scheduler. I'd like to own the cpu as much as possible until the pinned thread

Re: pin/bind a pthread to a processor? (take 2)

2007-02-16 Thread Daniel Eischen
What you are trying to do is real-time work. You will need to place your thread(s) or process in the real-time class or priority range and modify the scheduler(s) if necessary to support RT. I'm not familiar with the schedulers, but I suspect most of your work should be spent on getting one of

Re: pin/bind a pthread to a processor? (take 2)

2007-02-09 Thread Peter Holmes
Gracias, Peter List: freebsd-hackers Subject:pin/bind a pthread to a processor? (take 2) From: John Giacomoni John.Giacomoni () colorado ! edu Date: 2007-01-30 23:34:28 Message-ID: 722B66D4-4030-4C12-8C8D-8B3288F86498 () colorado ! edu Previously when I asked

Re: pin/bind a pthread to a processor? (take 2)

2007-02-09 Thread Julian Elischer
am doing wrong. Mucho Gracias, Peter would work if we made the syscall to do so. List: freebsd-hackers Subject:pin/bind a pthread to a processor? (take 2) From: John Giacomoni John.Giacomoni () colorado ! edu Date: 2007-01-30 23:34:28 Message-ID: 722B66D4

Re: pin/bind a pthread to a processor? (take 2)

2007-02-09 Thread Daniel Eischen
On Fri, 9 Feb 2007, Julian Elischer wrote: Peter Holmes wrote: This is something I am interested in doing as well. I had corresponded with Julian Eischen Daniel Elischer about this. Dan Eischen and Julian Elischer :-) Yes, it needed byte reversal or something. That would indeed be a

pin/bind a pthread to a processor? (take 2)

2007-01-30 Thread John Giacomoni
Previously when I asked this question it turned out to not be as necessary as I thought. However, I now need a way to pin/bind a user-space thread to a processor until I'm done with it as my timing constraints are too tight to account for. I checked sys/sched.h, sys/proc.h, pthread.h, and