How do I get processes to remember affinity?

Associate
Joined
12 Sep 2006
Posts
1,379
Location
Tayside
As title really, I've two text crunchers running on my dual core. They used to max out my CPU all the time. Now, they both go onto one core (50%), so I set affinity and it jumps back to 100%.

But the damn things revert after every work unit! Any ideas why it doesn't behave like it used too?
 
Is this SETI or F@H?

If the latter, then you shouldn't be running two clients on one core. You might as well just run the one instance.

Assuming it is F@H, then the two clients should be set up with differing Machine IDs. This causes them to use two separate cores which is the normal and correct behaviour.

If this is SETI you are running, I can't really comment. I have no knowledge of the intracacies of the SETI client.
 
I'm taking "two text crunchers" to be Folding Console clients since BOINC is generally only a GUI version.

I don't have a clue why it would be doing that though. You could try stopping the clients, deleting all the .exe's and maybe even the config files (leaving the work folders and queue.dat files alone) then downloading fresh copies of the client and reconfiguring them. They should pick up the queue files and existing work and download fresh cores automatically.

Having said all that it's probably Windows having a fit - the above won't take long to do though and shouldn't do any harm, I doubt it'll do any good either though :p
 
I don't see the point of running two clients on one core. You might as well just run one.

The client gives up CPU time anyway so I don't know why the OP is worried about his CPU running at 100%.
 
I don't see the point of running two clients on one core. You might as well just run one.

The client gives up CPU time anyway so I don't know why the OP is worried about his CPU running at 100%.

That's not what he said.

He's got a dual-core machine, and for some reason the fahcores are only loading 1 of the CPU cores. However when he sets affinity, the cores are loaded properly.

My best guess would be windows being stupid, since the fahcores don't have the ability to load specific CPU cores.
 
That's not what he said.

He's got a dual-core machine, and for some reason the fahcores are only loading 1 of the CPU cores. However when he sets affinity, the cores are loaded properly.

My best guess would be windows being stupid, since the fahcores don't have the ability to load specific CPU cores.

My bad. I misread his post. :o
 
Very odd. You don't have anything installed that automatically sets affinity?

Nope, no idea what software I would try for that anyway.


To answer the other Qs yes it is two instances of F@H I've got, both with differing machine IDs (or, it was when they were configured, I may have to dbl check they've not changed for reasons unknown).

And in case it makes any difference, they do behave if I give them both affinity for both CPUs (automatically loading evenly, and maxing CPU to 100%).

I'll give reinstalling the application files a go, see if that helps. Thanks for the help fellas.
 
I think that's something I'll probably do- I was under the impression that a single CPU core and a GFX core would be good points, but I've since found out the SMP might give higher PPD.
 
Yeah, I read a post yesterday implying that, so SMP is what I'll attempt once these WUs are finished. I always thought the GPU projects gave good points- is SMP high points because it's under testing?
 
SMP clients have very, very short deadlines and are quite demanding. Which means only those people willing to run their PC nearly all day every day are able to contribute. 2.3K PPD is a good incentive :D
 
Yeah, I read a post yesterday implying that, so SMP is what I'll attempt once these WUs are finished. I always thought the GPU projects gave good points- is SMP high points because it's under testing?

Well it's under testing plus the deadlines are very short compared to the old clients - that often leads to machines having to run 24/7 which isn't a requirement for the older clients.

The SMP will likely give about double the output of a GPU and a single CPU client together - well worth it :)
 
Yowza, FAHMon reports this DC 3.4GHz P4 is 950PPD, compared to 400 running two single core crunchers (on my work machine ATM, which ironically never has trouble loading the cores).

Edit: after putting on the SMP client I mean- I thought it but it didn't make it to the keyboard :)
 
Back
Top Bottom