Re: [SLE] Repository for kernel 2.6.17?



On Tue, 2006-09-12 at 10:19 +0200, Jan Engelhardt wrote:

I distinctly remember playing with BeOS on a dual processor system.
They had an option to shut down (more likely simply fail to use) either
processor. There was a button you could click and watch your load
jump to the remaining processor and the clicked one fall to zero.

I never found a valid use for this but it was cool to watch.

man taskset

I learn something new every day. I know how to do this in C code. Never
knew there was a command line tool.

What I am trying to determine is, when I leave the kernel to its own
devices, is it running my 2-thread app so that one thread runs in one
core and the other in another. Both threads do lots of basically
independent work on shared buffers. Is there a tool to see which cpu a
thread is running in? I can't seem to see the threads in ps or top. Some
brilliant tool is surely just waiting to tell all. Right?


--
Roger Oberholtzer

OPQ Systems AB
Ramböll Sverige AB
Kapellgränd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden

Tel: Int +46 8-615 60 20
Fax: Int +46 8-31 42 23


--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx