Bitcoin Forum

Other => Beginners & Help => Topic started by: FrodoMiner on November 17, 2011, 10:30:47 PM



Title: 100%CPU bug on ATI
Post by: FrodoMiner on November 17, 2011, 10:30:47 PM
Hi,

I have two 6970 in my system.

- When I use a Catalyst version > 11.5 my CPU shows 100% load per core when running OpenCL code (before it was around 3%).

- When I use Catalyst < 11.5 I see only one of my two GPUs in the system.

Question: How can I use BOTH my GPUs AND don't have this 100% load bug?

cheers,
F.


Title: Re: 100%CPU bug on ATI
Post by: DeathAndTaxes on November 17, 2011, 11:18:57 PM
Simple ... you can't until AMD gets around to fixing it.   >:(

11.10 fixes 1 (single) GPU 100% CPU bug in both Linux & Windows.
11.11 fixes 2+ GPU 100% CPU bug in Linux but not Windows.

Currently there is no fix for 2+ GPU 100% Bug in Windows.


Title: Re: 100%CPU bug on ATI
Post by: Graet on November 18, 2011, 01:53:36 AM
Hi,

I have two 6970 in my system.

- When I use a Catalyst version > 11.5 my CPU shows 100% load per core when running OpenCL code (before it was around 3%).

- When I use Catalyst < 11.5 I see only one of my two GPUs in the system.

Question: How can I use BOTH my GPUs AND don't have this 100% load bug?

cheers,
F.
yell @ ATI/AMD

you havent mentioned what OS or miner you are using - useful info for accurate answers :)

a workaround for ppl with multi cores on windows is set miner affinity to one core, this way its only 100% on 1 core and you can use others :)
task manager > processes tab > right click miner process> set affinity > uncheck all but 1 core :)


Title: Re: 100% CPU bug on ATI
Post by: deepceleron on November 18, 2011, 11:08:19 AM
11.6 (original, not 11.6b release) seems to work the best for most. If you have a multi-core CPU, you can force all your miners to run only on the same single CPU core by forcing CPU affinity. Here's a batch file that starts my miners as an example (if you are on Windows):

Code:
start /AFFINITY 01 c:\python27\python.exe phoenix.py -v -u http://user.name:pass@mineco.in:3000/ -k phatk2 VECTORS AGGRESSION=6 FASTLOOP=True WORKSIZE=256 PLATFORM=0 DEVICE=0

The affinity setting is actually a bitmask in hex, 01=CPU0, 02=CPU1, 03=CPU0+CPU1 etc.
I am also running Phoenix from source, not the binary, so correct the exe above if you are the other 99%.


Title: Re: 100%CPU bug on ATI
Post by: stcupp on November 19, 2011, 03:41:46 PM
this bug has been known for a long time thats what the search button is for =p


Title: Re: 100% CPU bug on ATI
Post by: Epoch on December 15, 2011, 02:39:41 AM
11.6 (original, not 11.6b release) seems to work the best for most. If you have a multi-core CPU, you can force all your miners to run only on the same single CPU core by forcing CPU affinity. Here's a batch file that starts my miners as an example (if you are on Windows):

Code:
start /AFFINITY 01 c:\python27\python.exe phoenix.py -v -u http://user.name:pass@mineco.in:3000/ -k phatk2 VECTORS AGGRESSION=6 FASTLOOP=True WORKSIZE=256 PLATFORM=0 DEVICE=0

The affinity setting is actually a bitmask in hex, 01=CPU0, 02=CPU1, 03=CPU0+CPU1 etc.
I am also running Phoenix from source, not the binary, so correct the exe above if you are the other 99%.

If you are not comfortable with batch files, an alternative would be to use GUIMiner, which has checkboxes for the specific CPU cores you want to assign to each GPU. As was mentioned before, you set them all to the same core. That one core will be used 100%, but if you have a dual or quad core machine, the remaining cores will be free.


Title: Re: 100%CPU bug on ATI
Post by: P_Shep on December 15, 2011, 11:28:12 PM
11.12 fixes the 100% bug on my machine (APU A6-3650 + HD 6670)
Me happy :)


Title: Re: 100%CPU bug on ATI
Post by: BinoX on December 15, 2011, 11:48:31 PM
Is there any mining speed increase with the newest version?


Title: Re: 100%CPU bug on ATI
Post by: Eveofwar on December 15, 2011, 11:51:11 PM
Is there any mining speed increase with the newest version?

Some people are reporting ~20 Mh/s decreases.


Title: Re: 100%CPU bug on ATI
Post by: BinoX on December 15, 2011, 11:56:11 PM
I'll stick with the high CPU usage then... it's not causing that much of a temperature increase for me and I don't use the machines for anything other than mining except the occasional test web server config, but even that's rare... (They're built from spare parts I had laying around and a couple of cheap 5830s from ebay)


Title: Re: 100%CPU bug on ATI
Post by: P_Shep on December 16, 2011, 07:48:53 AM
I haven't fount a drop in perf.
Currently 120 on the 6670 (@900) and 40 on the A6 (at stock 444)


Title: Re: 100%CPU bug on ATI
Post by: pooler on December 17, 2011, 01:16:48 AM
Is there any mining speed increase with the newest version?

Some people are reporting ~20 Mh/s decreases.

No speed decrease at all for me. Version 11.12 seems to have finally fixed this annoying bug under Linux, and the hashrate of my two 5870's is the same as before, totaling ~850 MH/s.


Title: Re: 100%CPU bug on ATI
Post by: nased0 on December 18, 2011, 02:27:41 AM
If you have installed 11.12 (or 12.1 driver), start its setup (i.e. c:\ATI\Support\11-12_vista64_win7_64_dd_ccc_ocl\setup.exe )
Then uninstall Ati Stream (AMD APP SDK) only and install:
for 64-bit Vista/Windows 7:  http://www2.ati.com/drivers/11-2_vista_win7_64_ocl.exe
for 32-bit Vista/Windows 7:  http://www2.ati.com/drivers/11-2_vista_win7_32_ocl.exe
for 64-bit XP: http://www2.ati.com/drivers/11-2_xp64_ocl.exe
for 32-bit XP: http://www2.ati.com/drivers/11-2_xp32_ocl.exe

You will have previous mining performance and no 100% CPU Bug!


Title: Re: 100%CPU bug on ATI
Post by: jwzguy on December 19, 2011, 05:55:13 PM
If you have installed 11.12 (or 12.1 driver), start its setup (i.e. c:\ATI\Support\11-12_vista64_win7_64_dd_ccc_ocl\setup.exe )
Then uninstall Ati Stream (AMD APP SDK) only and install:
for 64-bit Vista/Windows 7:  http://www2.ati.com/drivers/11-2_vista_win7_64_ocl.exe
for 32-bit Vista/Windows 7:  http://www2.ati.com/drivers/11-2_vista_win7_32_ocl.exe
for 64-bit XP: http://www2.ati.com/drivers/11-2_xp64_ocl.exe
for 32-bit XP: http://www2.ati.com/drivers/11-2_xp32_ocl.exe

You will have previous mining performance and no 100% CPU Bug!

I tried this and can't really recommend it. Performance was back to normal, but total core usage fluctuates between 20-50% each on all cores (4 core). If you quarantine the processes to 1 core, one of the cards can't get more than 96% and loses mhash, and that core's usage goes back to 100%. (Previously all 3 were steady at 99%.)

This rig was a 3x 5830 Win7 64x AMD x4 core.

Thanks for the suggestion though. It might work better for other setups.


Title: Re: 100%CPU bug on ATI
Post by: nased0 on December 19, 2011, 10:27:14 PM
To start your miners with Above Normal priority, use script with following commands to assign each miner to the different core:

start /AFFINITY x /ABOVENORMAL miner_command
where x = 2core no. (i.e. 1,2,4,8 ...)

This way you can get rid of the fluctuations and even mine Solidcoins or Litecoins on all CPU cores and Bitcoins on GPUs.

@up
Are you sure that the miners are responsible and not some other processes?
I use Windows 7 x64 and phoenix miners and they have 1% CPU usage in the Task Manager.
I have Intel C2Q 9450 + Asus Commando (p965) MoBo, Radeons 5850 and 5830.


Title: Re: 100%CPU bug on ATI
Post by: jwzguy on December 19, 2011, 11:34:41 PM
Thanks, but I am sure. This is a dedicated rig and usage is near 0% when it's not mining. It's been a while since I tried phoenix though, I'll give it another shot, but in the past phoenix made things worse as far as resources go.


Title: Re: 100%CPU bug on ATI
Post by: grue on December 19, 2011, 11:35:57 PM
To start your miners with Above Normal priority, use script with following commands to assign each miner to the different core:

start /AFFINITY x /ABOVENORMAL miner_command
where x = 2core no. (i.e. 1,2,4,8 ...)

This way you can get rid of the fluctuations and even mine Solidcoins or Litecoins on all CPU cores and Bitcoins on GPUs.

@up
Are you sure that the miners are responsible and not some other processes?
I use Windows 7 x64 and phoenix miners and they have 1% CPU usage in the Task Manager.
I have Intel C2Q 9450 + Asus Commando (p965) MoBo, Radeons 5850 and 5830.

that will wear out one of your cores pretty quick, unless your script rotates the cores.


Title: Re: 100%CPU bug on ATI
Post by: nased0 on December 20, 2011, 12:10:04 AM
that will wear out one of your cores pretty quick, unless your script rotates the cores.
I don't overclock CPU and its cooling is sufficient (Scythe Mugen), so wearing the CPU out is not feasible.
Besides, my point is to NOT load the cores in 100%, to save energy or increase profits by mining solidcoins !


Title: Re: 100%CPU bug on ATI
Post by: nased0 on December 20, 2011, 12:14:05 AM
Thanks, but I am sure. This is a dedicated rig and usage is near 0% when it's not mining. It's been a while since I tried phoenix though, I'll give it another shot, but in the past phoenix made things worse as far as resources go.
My phoenix batch script goes like this:
Code:
start /AFFINITY 4 /ABOVENORMAL phoenix -u http://USER1:PASS1@bitcoins.lc:8080/ -k phatk BFI_INT BITALIGN FASTLOOP=false VECTORS AGGRESSION=8 DEVICE=0 PLATFORM=0 WORKSIZE=256
start /AFFINITY 8 /ABOVENORMAL phoenix -u http://USER2:PASS2@bitcoins.lc:8080/ -k phatk BFI_INT BITALIGN FASTLOOP=false VECTORS AGGRESSION=8 DEVICE=1 PLATFORM=0 WORKSIZE=256


Title: Re: 100%CPU bug on ATI
Post by: grue on December 20, 2011, 12:29:22 AM
Thanks, but I am sure. This is a dedicated rig and usage is near 0% when it's not mining. It's been a while since I tried phoenix though, I'll give it another shot, but in the past phoenix made things worse as far as resources go.
My phoenix batch script goes like this:
Code:
start /AFFINITY 4 /ABOVENORMAL phoenix -u http://USER1:PASS1@bitcoins.lc:8080/ -k phatk BFI_INT BITALIGN FASTLOOP=false VECTORS AGGRESSION=8 DEVICE=0 PLATFORM=0 WORKSIZE=256
start /AFFINITY 8 /ABOVENORMAL phoenix -u http://USER2:PASS2@bitcoins.lc:8080/ -k phatk BFI_INT BITALIGN FASTLOOP=false VECTORS AGGRESSION=8 DEVICE=1 PLATFORM=0 WORKSIZE=256
wait, why are you setting to different affinity? wouldn't it be better to pack all instances into one core? it doesn't affect speeds for me


Title: Re: 100%CPU bug on ATI
Post by: nased0 on December 20, 2011, 12:38:32 AM
I have assigned BTC miners to different CPU cores at increased priority to allow mining solidcoins on four CPU cores at the same time.


Title: Re: 100%CPU bug on ATI
Post by: DeathAndTaxes on December 20, 2011, 05:39:39 PM
Why are you mining ScamCoins? 


Title: Re: 100%CPU bug on ATI
Post by: nased0 on December 20, 2011, 06:31:31 PM
For purpose of this thread: to test if I can mine BTC and SC at the same time. And to get rich  ;D