Pages:
Author

Topic: Why doesn't anyone write a way to fake cores? (Read 5105 times)

donator
Activity: 1218
Merit: 1079
Gerald Davis
September 27, 2011, 07:30:43 AM
#28
I have found jkminov script above to be very effective.  It sets affinity to a single core limiting power consumption.

C:\Windows\System32\cmd.exe /c start /affinity 2 /d 

One thing that may be confusing is that the cores are in powers of 2
1 = core 1
2 = core 2
4 = core 3
8 = core 4
16 = core 5
32 = core 6

The reason this is done is for people who want to set affinity to 2+ cores at same time.  For example affinity 3 would set affinity to core 1 & 2.  Obviously we don't want to do that but just be aware of how it works.
c_k
donator
Activity: 242
Merit: 100
September 27, 2011, 05:00:10 AM
#27
On Catalyst 11.8 drivers I get a drop in hashrate in cgminer when I throttle the CPU with BES.

Catalyst 11.9 drivers will be out in a few days anyway Smiley
full member
Activity: 176
Merit: 100
September 26, 2011, 09:56:41 PM
#26
Hmm... I see people haven't heard of this utility.
*hhrrnnnggghhh*

http://mion.faireal.net/BES/

*splat*

There 'ya go kids, have a blast. It's a process CPU-throttling application. Yours to keep.
donator
Activity: 1218
Merit: 1079
Gerald Davis
September 20, 2011, 11:09:12 AM
#25
Awesome jkminkov  thanks.
hero member
Activity: 698
Merit: 500
September 20, 2011, 10:27:39 AM
#24
The shitty thing is that  if you have a decent CPU the "CPU big" is costing a lot of wasted wattage.

Restricting CGMiner to a single core (@ 100%) reduced power consumption at the wall by 40W.  Make me think we would save another ~10W if it had no CPU bug.

Is there any way to setup an "automatic CPU afinnity?".  i.e. anytime program "CGMINER.EXE" launches it is restricted to core #3?

for win7, use shortcut like that:

C:\Windows\System32\cmd.exe /c start /affinity 2 /d  C:\bitcoin\phoenix-1.60 C:\bitcoin\phoenix-1.60\phoenix.exe -u http://user:pass@localhost:8332 -k phatk DEVICE=0 VECTORS AGGRESSION=12 BFI_INT WORKSIZE=256 -q 1

affinity 2 is 3rd core
sr. member
Activity: 462
Merit: 250
It's all about the game, and how you play it
September 19, 2011, 11:08:13 PM
#23
The shitty thing is that  if you have a decent CPU the "CPU big" is costing a lot of wasted wattage.

Restricting CGMiner to a single core (@ 100%) reduced power consumption at the wall by 40W.  Make me think we would save another ~10W if it had no CPU bug.

Is there any way to setup an "automatic CPU afinnity?".  i.e. anytime program "CGMINER.EXE" launches it is restricted to core #3?

The closest thing to that that comes to mind would be disableing the cores in the bios, although someone could probably cook up a script to set a program to core4 anytime it's launched
donator
Activity: 1218
Merit: 1079
Gerald Davis
September 19, 2011, 10:26:55 PM
#22
The shitty thing is that  if you have a decent CPU the "CPU big" is costing a lot of wasted wattage.

Restricting CGMiner to a single core (@ 100%) reduced power consumption at the wall by 40W.  Make me think we would save another ~10W if it had no CPU bug.

Is there any way to setup an "automatic CPU afinnity?".  i.e. anytime program "CGMINER.EXE" launches it is restricted to core #3?
hero member
Activity: 518
Merit: 500
September 19, 2011, 02:23:33 PM
#21
Yeah, you gotta get the latest and install them by hand. I use:

Seems like I better not. Works fine with 11.3 or whatever I have. Pretty much no CPU load at all.
full member
Activity: 140
Merit: 100
September 19, 2011, 01:59:04 PM
#20
That could explain it. Its the one jockey-gtk ("hardware drivers" app) installs by default for ubuntu 11.04.
Yeah, you gotta get the latest and install them by hand. I use:

http://foreverrising.wordpress.com/2011/04/16/bitcoin-mining-and-ubuntu-10-10-ati-radeon-5xxx/

for Linux mining, and I've had no issues. I use Phoenix with a custom kernel instead of what they recommend (poclbm?) but if you follow all the steps it should work.
hero member
Activity: 518
Merit: 500
September 19, 2011, 11:47:19 AM
#19
Looks like 11.3 to me.

That could explain it. Its the one jockey-gtk ("hardware drivers" app) installs by default for ubuntu 11.04.
full member
Activity: 140
Merit: 100
September 19, 2011, 11:06:58 AM
#18
Im not sure what version Im running.. its the one recommended, and AMD numbering doesnt make a lot of sense to me. Which version is this?

Looks like 11.3 to me.
hero member
Activity: 518
Merit: 500
September 19, 2011, 09:14:10 AM
#17
Im not sure what version Im running.. its the one recommended, and AMD numbering doesnt make a lot of sense to me. Which version is this?



[/URL]
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
September 19, 2011, 09:01:23 AM
#16
Is this a windows only problem perhaps? CPU load under ubuntu is 0.5% while producing 320MH/s (5850).
 Huh
If you want to reproduce the nice high CPU loads on linux as well, you can too, by upgrading from the 11.6 catalyst driver to 11.7 or 11.8.
hero member
Activity: 518
Merit: 500
September 19, 2011, 08:48:20 AM
#15
Is this a windows only problem perhaps? CPU load under ubuntu is 0.5% while producing 320MH/s (5850).
 Huh
member
Activity: 100
Merit: 10
September 19, 2011, 08:42:08 AM
#14
Okay so as an update.  I was able to create a new user, run guiminer under that user which also ran poclbm.   I then throttled the user account to 5% CPU....and watched my miners only pull in 50 Mh/s  Angry

I bumped it up to 20% and the Mh/s increased to 100.  So it would appear that the CPU usage is tied to the hashrate of poclbm.  

So all these people running drivers > 11.6 and forcing the miner to a single core are losing hashes?

I'm guessing there's a breaking point otherwise the above would be true (probably 1/#cores % Grin), surely people would notice before and after rates.
Correct about the breaking point.   IIRC, I played with it a little bit and found that around 80% throttle would let me reach my full hashrate. If I set it to 90% it was the same hashrate as 90%.  Since having the CPU run at 80% isn't much different than 100% for the effort to set it all up and maintain, I dropped it and just let it run at 100%
full member
Activity: 182
Merit: 100
September 19, 2011, 04:27:47 AM
#13
Okay so as an update.  I was able to create a new user, run guiminer under that user which also ran poclbm.   I then throttled the user account to 5% CPU....and watched my miners only pull in 50 Mh/s  Angry

I bumped it up to 20% and the Mh/s increased to 100.  So it would appear that the CPU usage is tied to the hashrate of poclbm.  

So all these people running drivers > 11.6 and forcing the miner to a single core are losing hashes?

I'm guessing there's a breaking point otherwise the above would be true (probably 1/#cores % Grin), surely people would notice before and after rates.
sr. member
Activity: 476
Merit: 250
moOo
you can use something like
process lasso

you could probably vmware it as well
member
Activity: 100
Merit: 10
I ended up installeding 11.6 and use a dummy plug that I have to move from one card to the other every time I reboot.  It sucks, but no CPU usage problem.
sr. member
Activity: 413
Merit: 250
Okay so as an update.  I was able to create a new user, run guiminer under that user which also ran poclbm.   I then throttled the user account to 5% CPU....and watched my miners only pull in 50 Mh/s  Angry

I bumped it up to 20% and the Mh/s increased to 100.  So it would appear that the CPU usage is tied to the hashrate of poclbm. 

A bit of it is tied, but I underclock my cpu's without affecting hashrate. You just need to reasonably do it. Having one program hog all the cpu resources in any way, leaves a bottleneck for lack of cpu to do basic OS management and do the network to gpu work. 
full member
Activity: 168
Merit: 100
Is there any way to write a program that fakes a third core on a dual core CPU that runs at like 10 Mhz (1/300 of the power of a real core) and set the affinity of the miner to it?
How did you get out of the newbie section exactly?

How did you get out from under your bridge exactly?

Trolling should be renamed 'diking'.
Pages:
Jump to: