deepceleron (OP)
Legendary
Offline
Activity: 1512
Merit: 1036
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 04, 2012, 02:21:07 AM Last edit: February 09, 2012, 01:56:42 AM by deepceleron |
|
I just did a whole bunch of benchmarking on my ATI Radeon 5830, with an overclocked core of 1060MHz. The goal was to find out all about the new AMD Stream SDK 2.6's OpenCL performance, and what miner optimizations may get performance back where it was with 2.5.775.2 and previous SDK runtimes. The 5830 is basically a 5870 (the same chip die) with the 1600 stream processors cut down to 1120 (failed die yields or simply product segmentation). The stock core clock on the 5870 is 850MHz, while the 5830 is 800MHz. My card's highest possible mhash with 2.4-2.5 are at 1060/366Mhz with Phoenix 1.7.2 (exe) phatk2 VECTORS AGGRESSION=13 FASTLOOP=False WORKSIZE=256. The odd 366MHz optimal RAM speed differs on 6xxx, 5850, and 57xx, where 300MHz is where the peak performance is usually found. Lets see what we find, I was curious what Diapolo's new 2011-12-21 kernel could do, so lots of Phoenix 1.7.2 benchmarks with different kernels, worksize, and RAM speeds (the scaling is similar to standard phatk2), tests were ran for several minutes and shares (unless the setting was obviously poor), with the -a averaging option: SDK 2.5/11.6worksize: | | | 256 | 128 | 64 | Diapolo | VECTORS2 | 366MHz | 340.87 | 335.56 | 324.79 | Diapolo | VECTORS2 | 1000MHz | 328.81 | 335.56 | 332.32 | Diapolo | VECTORS4 | 366MHz | 200.94 | 204.04 | 200.97 | Diapolo | VECTORS4 | 1000MHz | 244.39 | 250.09 | 244.39 | phatk2 | VECTORS | 366MHz | 345.32 | | | Note: VECTORS3 is in the diapolo init file, but phoenix crashes with a python traceback error if it is used.SDK 2.6/11.12 (12.1 is identical)worksize: | | | 256 | 128 | 64 | Diapolo | VECTORS2 | 366MHz | 332.99 | 327.86 | 321.16 | Diapolo | VECTORS2 | 1000MHz | 326.03 | 327.90 | 325.99 | Diapolo | VECTORS4 | 366MHz | 219 | 298 | 329.74 | Diapolo | VECTORS4 | 1000MHz | 255 | 278 | 216 | phatk2 | VECTORS | 366MHz | 307.37 | 306.78 | 297.25 | phatk2 | VECTORS | 1000MHz | 300.87 | 304.61 | 298.81 | phatk2 | VECTORS4 | 366MHz | 217.42 | 289.25 | 288.78 | phatk2 | VECTORS4 | 1000MHz | 262.69 | 339.5 | 340.21 | phatk | VECTORS | 366MHz | 326 | 323.5 | 315.3 | phatk | VECTORS | 1000MHz | 317 | 321.2 | 320.5 |
Conclusions: -AMD seems to have fixed the "bug" where underclocking memory is required for best performance; there is no massive drop at full RAM clock speed in most cases. -Performance using phatk2/VECTORS4/WORKSIZE 64 is 99% of the old maximum, but with the video card using more power because of not underclocking RAM -The new driver/SDK fixes the CPU bug; maybe you will break even in power usage by not using 100% CPU too... -The stock 1000MHz RAM speed is the optimum speed, from 300MHz-1200MHz, the highest performance was at 1000MHz, and no further tweaking could get more out of the best setting. -If you need the latest driver, play games, don't want to underclock, now you have your setting! Dedicated miners still get more hashrate for less wattage with SDK 2.5 (until OpenCL kernel tweakers can figure out how to get even more out of 2.6...) Soon to come: recompiling pyOpenCL against the 2.6 SDK. jedi95 might try this for his exe distribution. pyOpenCL-0.98 seems to get about 1% more than the newest pyOpenCL-2011.2, BTW, and appears to be the version rolled into the exe. done: no difference. Be sure to use PyOpenCL 0.98 for best performance if running from source/Linux. edit: My 5770 give similar results - it's default memory clock is 1200MHz, but the performance peak is at 1000MHz. VECTORS4 AGGRESSION=12 FASTLOOP=False WORKSIZE=128 gives me 229Mhash/s, vs the best before at 230Mhash/s.
|
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1434
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 04, 2012, 02:40:15 AM |
|
tl;dr: mine while gaming: 2.6 mine while browsing: 2.1-2.5
|
|
|
|
deepceleron (OP)
Legendary
Offline
Activity: 1512
Merit: 1036
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 04, 2012, 02:43:53 AM |
|
tl;dr: mine while gaming: 2.6 mine while browsing: 2.1-2.5
If you didn't read, you can get the highest gaming and mining performance with 2.6 by using optimal miner settings. No need to switch SDK or underclock.
|
|
|
|
DiabloD3
Legendary
Offline
Activity: 1162
Merit: 1000
DiabloMiner author
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 04, 2012, 03:41:40 PM |
|
I just did a whole bunch of benchmarking on my ATI Radeon 5830, with an overclocked core of 1060MHz. The goal was to find out all about the new AMD Stream SDK 2.6's OpenCL performance, and what miner optimizations may get performance back where it was with 2.5.775.2 and previous SDK runtimes. The 5830 is basically a 5870 (the same chip die) with the 1600 stream processors cut down to 1120 (failed die yields or simply product segmentation). The stock core clock on the 5870 is 850MHz, while the 5830 is 800MHz. My card's highest possible mhash with 2.4-2.5 are at 1060/366Mhz with Phoenix 1.7.2 (exe) phatk2 VECTORS AGGRESSION=13 FASTLOOP=False WORKSIZE=256. The odd 366MHz optimal RAM speed differs on 6xxx, 5850, and 57xx, where 300MHz is where the peak performance is usually found. Lets see what we find, I was curious what Diapolo's new 2011-12-21 kernel could do, so lots of Phoenix 1.7.2 benchmarks with different kernels, worksize, and RAM speeds (the scaling is similar to standard phatk2), tests were ran for several minutes and shares (unless the setting was obviously poor), with the -a averaging option: SDK 2.5/11.6worksize: | | | 256 | 128 | 64 | Diapolo | VECTORS2 | 366MHz | 340.87 | 335.56 | 324.79 | Diapolo | VECTORS2 | 1000MHz | 328.81 | 335.56 | 332.32 | Diapolo | VECTORS4 | 366MHz | 200.94 | 204.04 | 200.97 | Diapolo | VECTORS4 | 1000MHz | 244.39 | 250.09 | 244.39 | phatk2 | VECTORS | 366MHz | 345.32 | | | Note: VECTORS3 is in the diapolo init file, but phoenix crashes with a python traceback error if it is used.SDK 2.6/11.12 (12.1 is identical)worksize: | | | 256 | 128 | 64 | Diapolo | VECTORS2 | 366MHz | 332.99 | 327.86 | 321.16 | Diapolo | VECTORS2 | 1000MHz | 326.03 | 327.90 | 325.99 | Diapolo | VECTORS4 | 366MHz | 219 | 298 | 329.74 | Diapolo | VECTORS4 | 1000MHz | 255 | 278 | 216 | phatk2 | VECTORS | 366MHz | 307.37 | 306.78 | 297.25 | phatk2 | VECTORS | 1000MHz | 300.87 | 304.61 | 298.81 | phatk2 | VECTORS4 | 366MHz | 217.42 | 289.25 | 288.78 | phatk2 | VECTORS4 | 1000MHz | 262.69 | 339.5 | 340.21 | phatk | VECTORS | 366MHz | 326 | 323.5 | 315.3 | phatk | VECTORS | 1000MHz | 317 | 321.2 | 320.5 |
Conclusions: -AMD seems to have fixed the "bug" where underclocking memory is required for best performance; there is no massive drop at full RAM clock speed in most cases. -Performance using phatk2/VECTORS4/WORKSIZE 64 is 99% of the old maximum, but with the video card using more power because of not underclocking -The new driver/SDK fixes the CPU bug; maybe you break even in power usage by not using 100% CPU too... -The stock 1000MHz RAM speed is the optimum speed, from 300MHz-1200MHz, the highest performance was at 1000MHz, and no further tweaking could get more out of the best setting. -If you need the latest driver, play games, don't want to underclock, now you have your setting! Dedicated miners still get more hashrate for less wattage with SDK 2.5 (until OpenCL kernel tweakers can figure out how to get even more out of 2.6...) Soon to come: recompiling pyOpenCL against the 2.6 SDK. jedi95 might try this for his exe distribution. pyOpenCL-0.98 seems to get about 1% more than the newest pyOpenCL-2011.2, BTW, and appears to be the version rolled into the exe. edit: My 5770 give similar results - it's default memory clock is 1200MHz, but the performance peak is at 1000MHz. VECTORS4 AGGRESSION=12 FASTLOOP=False WORKSIZE=128 gives me 229Mhash/s, vs the best before at 230Mhash/s. I found the exact same results on DiabloMiner a few days ago. -v 4 -w 64 seems to give almost the same results, but not quite as much. However, I did the test with underclocked RAM, not full speed. However, I still recommend 2.1 on Radeon 5xxx hardware instead of 2.5, as that gets you the full performance.
|
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1434
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 06, 2012, 10:59:19 PM |
|
If you didn't read, you can get the highest gaming and mining performance with 2.6 by using optimal miner settings. No need to switch SDK or underclock.
lolwut? 2.5 phatk2 VECTORS 366MHz 345.32 2.6 phatk2 VECTORS4 1000MHz 262.69 339.5 340.21 plus 2.5 allows to get max speeds at lower clocks = more efficiency.
|
|
|
|
disclaimer201
Legendary
Offline
Activity: 1526
Merit: 1001
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 08, 2012, 01:56:06 PM |
|
Would love to see some such tests for poclbm (Gui) versions as well! The performance loss from 2.5 to 2.6 is very noticeable, but burning up CPU cores over time and spending more electricity for the 100% bug isn't good, either.
|
|
|
|
wndrbr3d
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 09, 2012, 05:05:29 PM |
|
I'm having issues keeping my 2nd GPU busy. ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Using the above method with the updated miner script for 2.6, I'm able to keep GPU1 at 99% utilization, but GPU2 bounces between 91-98% on my graph. I've put both on their own CPU to see if that would help but it doesn't seem to have an impact. GUIMiner Settings on both: -k phatk AGGRESSION=12 FASTLOOP=false VECTORS2 WORKSIZE=64 Has anyone tried the above with multiple GPU's??
|
|
|
|
DiabloD3
Legendary
Offline
Activity: 1162
Merit: 1000
DiabloMiner author
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 09, 2012, 05:55:44 PM |
|
I'm having issues keeping my 2nd GPU busy. ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Using the above method with the updated miner script for 2.6, I'm able to keep GPU1 at 99% utilization, but GPU2 bounces between 91-98% on my graph. I've put both on their own CPU to see if that would help but it doesn't seem to have an impact. GUIMiner Settings on both: -k phatk AGGRESSION=12 FASTLOOP=false VECTORS2 WORKSIZE=64 Has anyone tried the above with multiple GPU's?? Just switch to DiabloMiner or cgminer already.
|
|
|
|
wndrbr3d
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 09, 2012, 06:32:16 PM |
|
Just switch to DiabloMiner or cgminer already.
Thanks for the troll! ![Roll Eyes](https://bitcointalk.org/Smileys/default/rolleyes.gif) cgminer hasn't implemented the fixes yet that allow me to get back to full speed after installing 12.1, so until that happens, I need to figure out a way to get this working right. Fastest I can get of cgminer is 265 Mhash/sec, where as this fix gets back back up to the 290's. Additionally, the latest kernel from Diapolo won't compile in cgminer. So any ACTUAL help is welcome. Cheers! ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
DiabloD3
Legendary
Offline
Activity: 1162
Merit: 1000
DiabloMiner author
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 09, 2012, 07:49:13 PM |
|
Just switch to DiabloMiner or cgminer already.
Thanks for the troll! ![Roll Eyes](https://bitcointalk.org/Smileys/default/rolleyes.gif) cgminer hasn't implemented the fixes yet that allow me to get back to full speed after installing 12.1, so until that happens, I need to figure out a way to get this working right. Fastest I can get of cgminer is 265 Mhash/sec, where as this fix gets back back up to the 290's. Additionally, the latest kernel from Diapolo won't compile in cgminer. So any ACTUAL help is welcome. Cheers! ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) Diapolo seems to be missing optimizations DiabloMiner has, and DiabloMiner works on 79xx (although in an unoptimized state). Some guy has already gotten 666 mhash out of his 7970 on it. As for the 2.6 bug, on DiabloMiner, try -v 36 -w 64 with memory at full speed, or try your normal settings with memory at full speed. It should get at least most of it back. 2.6 seems to actually be using the hardware correctly, or at least doing something that requires much tighter memory latency. Or, otoh, you can slink back to 2.1 or 2.5, the slowness is SDK related.
|
|
|
|
disclaimer201
Legendary
Offline
Activity: 1526
Merit: 1001
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 09, 2012, 09:55:21 PM |
|
Will the CPU bug be gone with reversing to 2.1? How do I do that when I'm on 2.6 already? Heard all over the board going back isn't easy AT ALL.
Thx!
|
|
|
|
DiabloD3
Legendary
Offline
Activity: 1162
Merit: 1000
DiabloMiner author
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 09, 2012, 10:07:58 PM |
|
Will the CPU bug be gone with reversing to 2.1? How do I do that when I'm on 2.6 already? Heard all over the board going back isn't easy AT ALL.
Thx!
The CPU use bug currently is a flaw of the driver, not the SDK. I currently have no issues on 11.12 combined with any SDK, yet 10.7 through 11.10 cause me problems. SDK 2.2 and 2.3, however, had an identical CPU use bug and were the fault of the SDK (2.1 didn't do it, 2.2 and 2.3 do it with any driver revision); they may be identical bugs, but the source is different than the one people suffer from now. Don't get them confused. On Windows, it is difficult to revert SDKs, on Linux it is easy. So, ymmv.
|
|
|
|
mikemacman
Newbie
Offline
Activity: 7
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2012, 01:29:19 AM |
|
Has anyone tried this on a 5850? I'm curious if the same settings would be optimal?
|
|
|
|
deepceleron (OP)
Legendary
Offline
Activity: 1512
Merit: 1036
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 14, 2012, 03:43:02 PM Last edit: March 02, 2012, 11:13:39 PM by deepceleron |
|
I'm having issues keeping my 2nd GPU busy. ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Using the above method with the updated miner script for 2.6, I'm able to keep GPU1 at 99% utilization, but GPU2 bounces between 91-98% on my graph. I've put both on their own CPU to see if that would help but it doesn't seem to have an impact. GUIMiner Settings on both: -k phatk AGGRESSION=12 FASTLOOP=false VECTORS2 WORKSIZE=64 Has anyone tried the above with multiple GPU's?? On Vista and Win7, try the command line Start /REALTIME phoenix.exe ... This sets the miner to the highest possible process priority, ensuring that other OS background stuff don't steal any CPU time from the miner sending work to your GPU. Additionally, after the realtime option, you can add the command line option setting single-CPU affinity for each miner. /AFFINITY 01 = first CPU core /AFFINITY 02 = second CPU core /AFFINITY 04 = third CPU core /AFFINITY 08 = fourth CPU core Finally, if you have two console windows open, each with a miner, the selected/highlighted one will get more CPU. Click on the wallpaper so neither are selected. Alternately, under Control Panel -> System -> Advanced -> Performance settings, you can optimize for "background services" instead of "Programs" to avoid a foreground window hogging resources.
|
|
|
|
zvs
Legendary
Offline
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 21, 2012, 07:17:52 PM Last edit: January 21, 2012, 07:37:59 PM by zvs |
|
My card's highest possible mhash with 2.4-2.5 are at 1060/366Mhz with Phoenix 1.7.2 (exe) phatk2 VECTORS AGGRESSION=13 FASTLOOP=False WORKSIZE=256. The odd 366MHz optimal RAM speed differs on 6xxx, 5850, and 57xx, where 300MHz is where the peak performance is usually found. Lets see what we find, I was curious what Diapolo's new 2011-12-21 kernel could do, so lots of Phoenix 1.7.2 benchmarks with different kernels, worksize, and RAM speeds (the scaling is similar to standard phatk2), tests were ran for several minutes and shares (unless the setting was obviously poor), with the -a averaging option: SDK 2.6/11.12 (12.1 is identical)worksize: | | | 256 | 128 | 64 | Diapolo | VECTORS2 | 366MHz | 332.99 | 327.86 | 321.16 | Diapolo | VECTORS2 | 1000MHz | 326.03 | 327.90 | 325.99 | Diapolo | VECTORS4 | 366MHz | 219 | 298 | 329.74 | Diapolo | VECTORS4 | 1000MHz | 255 | 278 | 216 | phatk2 | VECTORS | 366MHz | 307.37 | 306.78 | 297.25 | phatk2 | VECTORS | 1000MHz | 300.87 | 304.61 | 298.81 | phatk2 | VECTORS4 | 366MHz | 217.42 | 289.25 | 288.78 | phatk2 | VECTORS4 | 1000MHz | 262.69 | 339.5 | 340.21 | phatk | VECTORS | 366MHz | 326 | 323.5 | 315.3 | phatk | VECTORS | 1000MHz | 317 | 321.2 | 320.5 |
5830, SDK 2.6 (10.0.851.6) Diapolo from December 12th, 2011 1060 core, 385 memory (phoenix 1.7.2) phoenix -k phatk device=1 AGGRESSION=11 fastloop=false VECTORS4 WORKSIZE=64 -a 1000 332.96 395 raises it another point or so. Never tried 399. Not going to run my card at 1060 core and 1000 memory setting. I imagine the ~2% gain you have listed here is more than offset by energy costs associated w/ cooling (and wear and tear on the card, theoretically resulting in faster depreciation of the value of the equipment) I usually run it at 1000/385. (ed: for comparison, back in June or so when I put my score on the 'Mining Hardware comparison' wiki page, I got 334, with 1030 core and 385 memory... but it's worth it for a multi-card setup, anyway... don't have that core getting smashed 100% anymore) (ed2: same thing at 399 memory setting - [335.09 Mhash/sec] [18 Accepted] [0 Rejected] [RPC (+LP)])
|
|
|
|
zvs
Legendary
Offline
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 21, 2012, 07:50:11 PM |
|
I'm having issues keeping my 2nd GPU busy. ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Using the above method with the updated miner script for 2.6, I'm able to keep GPU1 at 99% utilization, but GPU2 bounces between 91-98% on my graph. I've put both on their own CPU to see if that would help but it doesn't seem to have an impact. GUIMiner Settings on both: -k phatk AGGRESSION=12 FASTLOOP=false VECTORS2 WORKSIZE=64 Has anyone tried the above with multiple GPU's?? Just switch to DiabloMiner or cgminer already. i still use phoenix rising v1.3, hoho
|
|
|
|
zvs
Legendary
Offline
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2012, 01:27:46 PM |
|
I finally got a 5870 to mess around with, and, yeah, the "best" memory setting on that is diff than the 5830.
At 1000/395, it gets 440mhash, at 1000/310, 448mhash, etc.
|
|
|
|
DiabloD3
Legendary
Offline
Activity: 1162
Merit: 1000
DiabloMiner author
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2012, 01:29:54 PM |
|
I finally got a 5870 to mess around with, and, yeah, the "best" memory setting on that is diff than the 5830.
At 1000/395, it gets 440mhash, at 1000/310, 448mhash, etc.
1/3rd core speed is considered the rule. So, in your case, 1000/333.
|
|
|
|
zvs
Legendary
Offline
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2012, 01:37:30 PM |
|
I finally got a 5870 to mess around with, and, yeah, the "best" memory setting on that is diff than the 5830.
At 1000/395, it gets 440mhash, at 1000/310, 448mhash, etc.
1/3rd core speed is considered the rule. So, in your case, 1000/333. Small test size, but results were similar to 1000/310. I know if I set my 5830 to 1000/333 instead of 1000/395, it drops it quite noticeably (agg 9, ~316mhash @ 395 to ~305mhash @ 333)
|
|
|
|
Joshwaa
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2012, 01:56:23 PM |
|
Will the CPU bug be gone with reversing to 2.1? How do I do that when I'm on 2.6 already? Heard all over the board going back isn't easy AT ALL.
Thx!
Actually Quite easy.. Let me know if you want help with it.
|
Like what I said : 1JosHWaA2GywdZo9pmGLNJ5XSt8j7nzNiF Don't like what I said : 1FuckU1u89U9nBKQu4rCHz16uF4RhpSTV
|
|
|
|