Re: taskset for smp

2012-06-08 Thread Marc Espie
There is this keyword in C that's called register. Back when C was invented, this was important. Machines were much simpler, and you had to explain to the compiler what you wanted in registers, and what could go to memory, so that codes would run faster. For the past 15 years (at least, I think,

Re: taskset for smp

2012-06-07 Thread Theo de Raadt
> > Would it be nice if there was a program like taskset which enables you > > to move processes to other cores? > > No. Let me be more clear on what Philip is saying by asking some questions. Can only root move programs to different processors via this program? Or can any user move their own o

Re: taskset for smp

2012-06-07 Thread Philip Guenther
On Thu, Jun 7, 2012 at 12:59 PM, Han Boetes wrote: > I just ran a script converting a bunch of files to mp3 and since I have > a 8 core machine now I'd like to make my little script multi-threaded. > So each resulting lame process will go to another core. All released versions of OpenBSD use user

taskset for smp

2012-06-07 Thread Han Boetes
Hi, I just ran a script converting a bunch of files to mp3 and since I have a 8 core machine now I'd like to make my little script multi-threaded. So each resulting lame process will go to another core. When I ran the script I noticed that all processes ended up being run on the same processor. T