iopq (OP)
|
|
July 29, 2011, 09:11:30 PM |
|
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?
|
|
|
|
Zagitta
Full Member
Offline
Activity: 302
Merit: 100
Presale is live!
|
|
July 29, 2011, 10:18:12 PM |
|
Because even if it's possible it would be easier to just reverse engineer ATI's stream SDK and fix the bug...
|
|
|
|
PLaci1982
Full Member
Offline
Activity: 168
Merit: 100
Live long and prosper. \\//,
|
|
July 30, 2011, 08:13:26 AM |
|
Because even if it's possible it would be easier to just reverse engineer ATI's stream SDK and fix the bug... OK, go on!
|
Hardware Expert / WinXP, Win7 Expert
1J5oPkyGVdb4mv44KGZQYsHS2ch6e1t4rc
|
|
|
dikidera
|
|
July 30, 2011, 10:48:09 AM |
|
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?
|
|
|
|
iopq (OP)
|
|
July 30, 2011, 05:02:18 PM |
|
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? spamming until 5 posts
|
|
|
|
Grinder
Legendary
Offline
Activity: 1284
Merit: 1001
|
|
July 30, 2011, 07:40:06 PM |
|
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? If this is a newbie question we need more newbies. It's a brilliant idea and there already exist a program for Linux called CPU limit that does what he needs, just not quite the way he suggests.
|
|
|
|
flyswatta
Member
Offline
Activity: 100
Merit: 10
|
|
July 31, 2011, 12:55:24 PM |
|
Absolutely brilliant! This got me thinking and googling. It appears that you can throttle CPU usage by SID (user) in Windows 7 http://technet.microsoft.com/en-us/library/ff384148%28WS.10%29.aspxYou can run a process, say guiminer (and maybe poclbm?) as a different user: http://www.sevenforums.com/tutorials/419-run-different-user.htmlSo it should be possible to run the miner under a different id, then then throttle the cpu usage of that user. I haven't tried this out yet - The family and I are about to go to the circus, but I thought I'd throw my thoughts out to the brain trust and see what they come up with. Otherwise, i'll dork around with it this afternoon.
|
|
|
|
flyswatta
Member
Offline
Activity: 100
Merit: 10
|
|
July 31, 2011, 06:58:51 PM |
|
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 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.
|
|
|
|
hawks5999
|
|
July 31, 2011, 07:06:12 PM |
|
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'.
|
■ ▄▄▄ ■ ███ ■ ■ ■ LEDGER WALLET ████ ■■■ ORDER NOW! ■■■ LEDGER WALLET Smartcard security for your BTCitcoins ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ Decentralized. Open. Secure.
|
|
|
xurious
|
|
August 04, 2011, 02:17:56 AM |
|
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 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.
|
SiaMining.com -- First PPS SiaMining Pool! 3%, VarDiff, Stratum Support
|
|
|
flyswatta
Member
Offline
Activity: 100
Merit: 10
|
|
August 04, 2011, 12:55:36 PM |
|
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.
|
|
|
|
joulesbeef
Sr. Member
Offline
Activity: 476
Merit: 250
moOo
|
|
August 05, 2011, 02:04:47 AM |
|
you can use something like process lasso you could probably vmware it as well
|
mooo for rent
|
|
|
kripz
|
|
September 19, 2011, 09:27:47 AM |
|
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 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 % ), surely people would notice before and after rates.
|
|
|
|
flyswatta
Member
Offline
Activity: 100
Merit: 10
|
|
September 19, 2011, 01:42:08 PM |
|
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 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 % ), 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%
|
|
|
|
P4man
|
|
September 19, 2011, 01:48:20 PM |
|
Is this a windows only problem perhaps? CPU load under ubuntu is 0.5% while producing 320MH/s (5850).
|
|
|
|
-ck
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
September 19, 2011, 02:01:23 PM |
|
Is this a windows only problem perhaps? CPU load under ubuntu is 0.5% while producing 320MH/s (5850). 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.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
P4man
|
|
September 19, 2011, 02:14:10 PM |
|
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]
|
|
|
|
bcforum
|
|
September 19, 2011, 04:06:58 PM |
|
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.
|
If you found this post useful, feel free to share the wealth: 1E35gTBmJzPNJ3v72DX4wu4YtvHTWqNRbM
|
|
|
P4man
|
|
September 19, 2011, 04:47:19 PM |
|
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.
|
|
|
|
bcforum
|
|
September 19, 2011, 06:59:04 PM |
|
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.
|
If you found this post useful, feel free to share the wealth: 1E35gTBmJzPNJ3v72DX4wu4YtvHTWqNRbM
|
|
|
|