PDA

View Full Version : Set processor Affinity


madfish
05-13-2002, 6:40 PM
just what does Set processor Affinity mean?? I run seti driver { for seti at home } on the duallie and seti driver has an option to Set processor Affinity.. I have no idear what it means/is.
Thanks


oh I wasn't sure where to post this question. sorry if it's in the wrong place.

jadison
05-13-2002, 6:53 PM
"If you have a multi-processor system, it is possible to select which CPU(s) an application uses. Open Task Manager and select your application on the Processes tab. Right click the program name and choose Set Affinity. Uncheck the processors which should not run this application.

If you try to select a service, Set Affinity will be ignored."

From HERE (http://www.jsifaq.com/SUBA/tip0200/rh0209.htm)

"The processor affinity in Windows is a number which specifies the number of processors (i.e. chips) that will be used by the running process."

From HERE (http://www.franz.com/support/documentation/5.0.1/doc/cl/pages/operators/system/processor-affinity-mask.htm)

From that, I'm interpreting that you can set the CPU settings that SETI@Home uses if you have a dual or multi-CPU system.

-EDIT- I also checked SETI@Home's website and couldn't find anything related to "Affinity" or "Processor Affinity". :confused:

madfish
05-13-2002, 10:47 PM
http://www.wakeassoc.com/setidriver/

download it and you'll see all it say is do you want to set it out not. I'm using the command line client btw. and seti driver just makes sure the each cpu has work to be done. lol and you confused me even more

DetemeaT
05-14-2002, 2:49 AM
Mad, you have 2 seti cli clients running right? Set the affinity to lets say CPU O on one client and CPU 1 on the other client. that way each client gets it own cpu dedicated to it. When Jag and I did that on our duallies, we got about 5.5 hours a work unit on ours. Of course we had it running on 1.4 t-birds;)


Did some digging and we used setihide (http://www.setihide.de/) for running the cli client. It would hide the cli clients and we could have up to 99 cached wu's. It has some pretty sweet eye candy too. It lets you see what point in the sky the wu your working on came from:cool: It also let you set affinity.

jadison
05-14-2002, 4:27 AM
Thanks for making it clearer DetemeaT. :)

madfish
05-14-2002, 2:50 PM
Thanks Dete, I'll go look at seti hide right off. and thanks also Jadison.

otheos
05-15-2002, 5:40 PM
You can set the affinity by runnint the cli version with the -cpu option.

So seti -cpu 0 will stick the process to CPU 0 etc.

However affinity setting is quite complex and not the most stable thing you could do. It's existance is mainly for IRQ setting reasons, as many hardware/driver combinations are not happy with two CPU's handling IRQs.