PDA

View Full Version : Run PI on one core



Lagu
01-12-2007, 01:54 AM
Is there any way run PI on one core even if I have two. I ask because I run D2OL on one core. It seems as I´m forced run PI using both cores so far. It should be good have an agent where we can disable it from use one of the core.:icon_rolleyes:

gamer007
01-12-2007, 01:57 AM
For me, I have CPU0 and CPU1. Each takes a different Affinity in the Task Manager. Try disabling 1 of them. Make sure it's not the 1 w/ D2OL processing on it or else they'll probably fight for CPU power.

gatekeeper53
01-12-2007, 02:25 AM
oppps never mind

NVM
01-12-2007, 03:52 AM
lagu, bit of a warp here but have you managed to run an instance of D2OL on each core? i had a bit of trouble but managed to get my opty165(Denmark) to run two.

gatekeeper53
01-12-2007, 04:17 AM
OK Mike how'd you do it?

NVM
01-12-2007, 04:24 AM
the trick is to download another copy of d2ol, and install it into another folder and let it fire up at the end of the install while the original version is still running.

the problem i had was how to start the second version if both were shut down. the D2OL folder in my START menu only starts one version, so the only way to get a second version going is the above method( i found), and that is to install another copy while one is running.

if i turn my computer off(which i rarely do on purpose), i can start one version through the start menu, but i have to create another node everytime i want to get two versions going.

gatekeeper53
01-12-2007, 04:29 AM
OK Thanks. I guess I'll just throw another puter on it whole lot easier lol

Scooter
01-12-2007, 08:01 AM
just thinking out loud here but what happens if you try to start the second one from the new folder

Lagu
01-12-2007, 08:38 AM
lagu, bit of a warp here but have you managed to run an instance of D2OL on each core? i had a bit of trouble but managed to get my opty165(Denmark) to run two.

No, D20L on one core and PI Segment on the second one. But it seems to complicated. Best If PI´s client was so build as I can disable the agent so it understand a dual core as one as it is when a machine has one core only.:icon_rolleyes:

NVM
01-12-2007, 04:19 PM
just thinking out loud here but what happens if you try to start the second one from the new folder
i can't see the .exe.....

Lagu
01-12-2007, 07:48 PM
Guys, I must be really smart. If you want to run PI Segment at one core simply set your cache to 1 WU every time the agent will fill op your cache. This mean the second core gets the status “waiting”. I have test it because i want to se what happen when the WU was finished if it should change core but it never happen. On core is occupied by D2OL.:icon_rolleyes: :icon_mrgreen:

gatekeeper53
01-12-2007, 09:24 PM
ALL RIGHT LAGU great going. It's going to cost chess 960 though lol

JUST
01-14-2007, 02:58 AM
Since I think D2OL do not set the affinity of CPU, you can try to do following operations to balance the resources:

1. Close Pi Segment
2. Open "config.ini" by notepad
3. Find [P0] and [P1] section and change them to
[P0]
Init=1
Enable=1
Affinity=3
[P1]
Init=0
Enable=0
Affinity=0
4. Save the file and run Pi Segment again. Then Windows will balance the two cores to Pi Segment and D2OL

Ototero
01-14-2007, 10:22 AM
Thanks Just

Lagu
01-14-2007, 09:00 PM
Great Just!:) :)

Lagu
01-14-2007, 10:15 PM
I see now my smart solution wasn’t so good. It seems as PI Segment and D2OL had chare the same core. One core use 100 % of its recourse and eOn the other core with less recourse. PI is now calculating faster. If I run eOn it will slow down PI. I thought if I ran D2OL and the started PI it automatic should feel which core as was free. :icon_redface: :icon_rolleyes:

gamer007
01-14-2007, 11:14 PM
Try switching P0 off and leave P1 on. That way, D2OL should use core #1, then PI Segment will use Core #2.

Lagu
01-29-2007, 08:04 AM
Since I think D2OL do not set the affinity of CPU, you can try to do following operations to balance the resources:

1. Close Pi Segment
2. Open "config.ini" by notepad
3. Find [P0] and [P1] section and change them to
[P0]
Init=1
Enable=1
Affinity=3
[P1]
Init=0
Enable=0
Affinity=0
4. Save the file and run Pi Segment again. Then Windows will balance the two cores to Pi Segment and D2OL

Any as remember the settings for Init, Enable and Affinity if I will run both cores? I forgot write it up before I change settings.

Lagu:icon_wink: :)

vaughan
01-29-2007, 09:03 AM
This is from my config.ini


[P0]
Init=1
Enable=1
Affinity=1
[P1]
Init=1
Enable=1
Affinity=2

Lagu
01-29-2007, 08:43 PM
Thank you Vaughan:)