To those with HT or Multi CPU - RunOnProcessorExplicitly

Joined
Sep 7, 2004
Messages
695
i was looking around and everyone sais to run 2 copies of FAH with hyperthreading P4...

well i wanted some way of automating cpu affinity...

what i found is ROPE, or RunOnProcessorExplicitly. it is a small command line app (i.e. can be built into a shortcut, or regestry key) that sets the affinity of a progarm...

it even has a built in help, so i dont have to explain it here. you can down load it from:
http://www.simtel.net/product.download.mirrors.php?id=61946
and it is tiny...

basicly my shortcuts (in startup folder) look like:
"C:\Program Files\innes.org\ROPE\ROPE.exe" -f 0 -n "G:\folding0\FAH502.exe"
"C:\Program Files\innes.org\ROPE\ROPE.exe" -f 1 -n "G:\folding1\FAH502.exe"

and it puts them on diffrent cpu's in hyperthreading... this is great because windows XP doent have it built in....
 
wait, what?

so instead of those who have HT/MC running 2 FAH programs, they just run one...or..wtf...?

is this something to stop SMP from kicking in? like, assigning one CPU *only* to one WU *only*? whereas w/o it, both CPUs would work on both WU's at the same time? :confused:

 
it is like doing the following:

ctrl+alt+del -> prosseses -> (FAHCore_78.exe) Set Affinity -> CPU 1

without doing that, i.e. from a shortcut or startup item...

so you can run one copy of FAH on 1 "cpu" and a second copy on another, but without manualy changing the affinity

sorry to dissapoint about working on 1 WU with 2 CPU's (that would be cool)
 
Ok, talk to me like I'm a 5 year-old. ;)

I have HT and simply have two folders with two ID #'s.

They start automatically when I start XP.

I don't understand what you mean, or why that would be easier. :eek:
 
Been there and done that.
There is no need to set F@H1 to CPU1 & F@H2 to CPU2 as it makes no practical difference to times, only +/- a few seconds for a whole work unit, so I just let Windozes control it.
All tests done under Windozes XP-pro.

Luck........ :D
 
ppD = I dont know I haven ran it in a while. I have a 2.53 Celery that took its place.
 
not spending 300 on p3 500mhz... jeeeze...

can get a bunch of them on ebay now for 5$ starting bids
 
lol I said 300 because I dont want to part with it, it makes my intarweb **** bigger. :D
 
oh god... enough of that.. you are supposed to be our mod....
keeps the peace... doesnt cuss

all that...
 
KodiakStar said:
oh god... enough of that.. you are supposed to be our mod....
keeps the peace... doesnt cuss

all that...
:confused:
Since when do mods not cuss????
 
Since they are role models for the noobs and young men and ladies? do we have any ladies? here in DC ;)

Similar to the place that we all go to talk in real time but i cant say where ;)
 
KodiakStar said:
Since they are role models for the noobs and young men and ladies? do we have any ladies? here in DC ;)

Similar to the place that we all go to talk in real time but i cant say where ;)
Yeah... I love ya man... but you live in a fantasy land. :p
The LAST person I see as a role model in any of these forums is any one MOD.
They do a great job and the forum is a much better place with them doing their services but if a bunch of n00bs start acting like MODS they'll get banned pretty quick.
You and I are pretty bad role models too....

All ya'll n00bs looking for a role model need to look at someone like Oldpueblo. The rest of us are scum. :D
 
me? bad? :eek:

Since when? :confused:

And why wasn't I told? :mad:

:rolleyes: well mostly was just poking fun at him, but I was being good and didnt say anything when he changed it, but now and then it helps to at least act civil
 
KodiakStar said:
No ..... Shelly bad..... you good....

Since when? :confused:
Birth

And why wasn't I told? :mad:
We tried but you post so much we can't get a word in edgewise.

:rolleyes: well mostly was just poking fun at him, but I was being good and didnt say anything when he changed it, but now and then it helps to at least act civil
You're just an aspiring mini-mod.... and that's ok. Just don't let it go to your head that you got a REAL MOD to change his cuss word to stars.
 
KodiakStar said:
everyone with dualies sucks ;)

I want one!

I'm setting up a pair of dualie P3-933s. Total cost for two mobos, 4 CPUs, 1 GB registered ECC 133 SDRAM, and two PSUs - about $400. Hopefully this weekend I can score two small HDs for about $10 each. Cheap nekkid boxen. If you want something similar, let me know, I can tell you where to get it.
 
Only got 7 here.
And one single......
Hence sig line.
Slowest @ 1.9Ghz & fastest @ 2.4Ghz with an average speed of 2.1Ghz.

Luck........ :D
 
DR_K13 said:
hahahaha....... I shall call him........ Mini-Mod.

Oh you didn't go there did you?!? :eek:

Now we'll have to deal with him posting more! ;)

 
if anyone is interested...

Dually P3 1ghz 4u rackmount..768ram..4-6gig hard drive (I have 2 of these duallys) and I could let them go for 275+shipping. This is what I have into them and I won't go any lower. As for the PPD..no clue. I'll consider keeping the 4u case and giving you the parts for 225+ shipping (would save on shipping too!).

Again..I don't care if I sell them, I use them to just fold. Only posting it in this thread as people were talking about other boxen and I'd prefer to see these go to someone folding. It also gives me an excuse of building dually opteron box!
 
bravo to all for hijacking this thread. no, i don’t wana buy your old dulies, thanks though

Tigerbiten said:
Been there and done that.
There is no need to set F@H1 to CPU1 & F@H2 to CPU2 as it makes no practical difference to times, only +/- a few seconds for a whole work unit, so I just let Windozes control it.
All tests done under Windozes XP-pro.
actualy, 2 running w/o changing the affinity is half as slow as running 1, but 2 running with changing the affinity is almost the same speed as one. i have tried it! (xp home)

Papa-Ming said:
I have HT and simply have two folders with two ID #'s.
They start automatically when I start XP.
changing the CPU ID# in only affects the stats on stanford's site... it does nothing to change CPU affinity (this is where windows will let threads run only on 1 cpu instead of both) this means that both copies are splitting 50% max usage (windows sees this as 100% because of HT), giving each copy of FAH only 25% of cpu cycles, leaving a poor 50% of the cpu's capabilities wasted.

now say you tell one copy to only run on cpu0... this will give it 100% of half of the cpu, or 50% total cycles. give the second copy free reign over cpu1, giving it 100% of half of the CPU cycles. that is a total of 100% cycles used for FAH.

you can demonstrate this by opening up task manager's process screen. first, start both copies of FAH running. check cpu usage %, then change the affinity of the first to cpu0 and the second to cpu1... go back and check again.

this is what happens when i run it without separate processors... it dont add up to 100
fah1.jpg

and with, it does:
fah2.jpg

so i dono i guess you can decide for your self
 
Like I said I've been there and done that.
After over two years folding on Duallies I think I've tried most of the combo's in a search for more speed.

I call my first client F@H1 after the name of the folder its in and the MachineID it uses.
The second client is F@H2 for the same reason.
I should have used CPU0 & CPU1 to be tecnically correct.
There is only a few seconds difference in Work Unit times if affinity is set for each client / CPU.

I've even tried folding off a Ram Drive to see if it was faster than a Hard Drive.
Again only a few seconds decrease in times for each Work Unit.

Luck......... :D
 
what are your %/%, Tiger?
50/50? i guess not, since the OS is running..so like, 48/48 ?

oh, and i think i saw in a thread a few years old you saying the flag "-advmethods" gave you Gromacs? is that true? should i leave it off so i get Tinkers on my AMDs?
 
Normal on my pure folding boxen is around 50/50 - 50/49.

Main boxen runs around 49/48 unless I'm gameing.
Then its either 25/25ish or 48/5 depending on how the mutithreading is working when the game starts.

The "-forceasm" flag is a must so that if you get an incorrect shutdown or an error you restart with the SSE boost re-engaged.

The "-local" switch is used with all my clients.

The "-advmethods" flag tends to get you Work Units just out of beta testing.
So whatever Stanford is newly releasing you will get plus any/all the old Work Units.
You can be inclined to get more "Folding@home Core Shutdown: EARLY_UNIT_END CoreStatus = 72 (114)" running with this switch.
My average is around 1 in 50.
I don't worry as long as I don't get 2 in a row or more than 1 a week on any one client.
If I do then its shut F@H down and stress test the box to prove its Memtest/Prime stable.

The only real way to speed F@H up is to use a trick to move Work Units around if you run a mixture of CPU types/ speeds.

Luck......... :D
 
Tigerbiten said:
Like I said I've been there and done that.
After over two years folding on Duallies I think I've tried most of the combo's in a search for more speed.
this doesnt partain to duel prossesor as much, more to hyperthreading (one prossesor, 2 virtual CPU's)
 
Back
Top