Question Ryzen 3000 Series EDC 1 bug

zx128k

Reputable
Nice warning, this runs the cpu outside the normal operation intended by AMD. You need water cooling or a decent AIO because your cpu is going to run all cores 4.45-4.65GHz in everything. This is an overclock and no one will guarentee it as safe.

So first the settings.

49431899601_595a301865_b.jpg


49631420881_413fcf419b_k.jpg


49430283162_81e7b480a2_k.jpg


c20
Single Thread-530 score
Multi Thread -5260 score
Idle temperature CPU-28°C
Max temperature CPU-71°C
Max CPU Core Voltage (SVI2 TFN) reached-1.431v

Settings in BIOS
MCLK/UCLK/FCLK Synced 1:1:1 1933Mhz ,that's DDR4 3866Mhz for those who do not know.
PBO Manual
PPT= 0 actual
TDC=0 actual
EDC=1 actual
Scaler 10X
PBO Override 500Mhz
source

Nice videos of the bug, one ingame and one in c20.


Note that this setup has been run for7 months or so and no reported issues.

Not everyone can expect to get IF 1933, the best I can get is 1917.
 
Last edited:
EDC 1, 100, or 1000 just so it's not 0, couldn't see any difference.
PBO manual but scalar on auto works best for me.
PBO Override only 200Mhz possible on my system, better off leaving it on Auto.
Cpu voltage, I'm using negative offset -0,05v, lowers idle voltage bellow 1.4v, no change in benchmark scores. CB r20 5098/511, can hit 5200+ only when all core OC to 4.3.
Best single core frequency under boost 4.397GHz other cores up to 4.317GHz.
Temps (and that goes for all Ryzen) under 65c.
Although B-die, my RAM performs best at 3600MHz Cl16. Had it going to 3800MHz but with ridiculous Cl which makes it slower than at 3600.
Tried all kinds of settings but oddly enough this BIOS allows me to set DOCP to 3000 and frequency to 3600MHz with couple of tweaks. No BCLK adjustments with this MB and BIOS and it changes between 99.6 - 99.8 which of course changes scores a bit.
FCLK works best at auto but it sets it fine at 1800. for 3600MHz RAM.
 
EDC 1, 100, or 1000 just so it's not 0, couldn't see any difference.
PBO manual but scalar on auto works best for me.
PBO Override only 200Mhz possible on my system, better off leaving it on Auto.
Cpu voltage, I'm using negative offset -0,05v, lowers idle voltage bellow 1.4v, no change in benchmark scores. CB r20 5098/511, can hit 5200+ only when all core OC to 4.3.
Best single core frequency under boost 4.397GHz other cores up to 4.317GHz.
Temps (and that goes for all Ryzen) under 65c.
Although B-die, my RAM performs best at 3600MHz Cl16. Had it going to 3800MHz but with ridiculous Cl which makes it slower than at 3600.
Tried all kinds of settings but oddly enough this BIOS allows me to set DOCP to 3000 and frequency to 3600MHz with couple of tweaks. No BCLK adjustments with this MB and BIOS and it changes between 99.6 - 99.8 which of course changes scores a bit.
FCLK works best at auto but it sets it fine at 1800. for 3600MHz RAM.

It works on my BIOS which is AGESA 1.0.0.3 ABBA. It's exploiting a bug, I think there was a post with it working on the 1.0.0.4 (the original thread is 54 pages long I could be wrong).

Basically I get ~5300 CB20 with my ram overclock. This is approx. 100 points higher than leaving the cores on stock (temperature and room air flow affect the score, highest run is 5211). Time spy cpu hits ~11700 with my ram overclock which is a 4.4GHz all core overclock. This gets you a high all core overclock but keeps the ST boost.

The issue is getting the full single core boost. This is why they try values of EDC from 1-11 and use the highest auto-oc value on their boards. MSI seem to have 500MHz but I have 200MHz.

This is totally use at your own risk but there is one report of this running fine from 8/2019 until now.
 
Must take in account things like silicone lottery but also variations in BIOS and AGESA. Last BIOS with 1003abba was giving me higher single core boost 4.42GHZ but lower on rest of cores. That SC boost lasted for shorter time than this 1004b which is giving some better scores now.
I think that things could be better if Asus wouldn't drag their a$$ with fixing this BIOS. 5406 is essentially previous 5220 with AGESA 1004b. Some settings are duplicated (mostly for PBO) but they don't seem to have same effect. BCLK is still not adjustable and not whole 100. DOCP is not strictly following XMP but in my case has positive effect by lowering Cl to 16 from 17.
 
Must take in account things like silicone lottery but also variations in BIOS and AGESA. Last BIOS with 1003abba was giving me higher single core boost 4.42GHZ but lower on rest of cores. That SC boost lasted for shorter time than this 1004b which is giving some better scores now.
I think that things could be better if Asus wouldn't drag their a$$ with fixing this BIOS. 5406 is essentially previous 5220 with AGESA 1004b. Some settings are duplicated (mostly for PBO) but they don't seem to have same effect. BCLK is still not adjustable and not whole 100. DOCP is not strictly following XMP but in my case has positive effect by lowering Cl to 16 from 17.

The main thing this breaks is the 110A and 70c limit for AVX loads. Like CB r20 for example. Anyway thats what the source thread states. So you can hit high all core clocks, performance is implied to be the same as 4.4GHz all core manual overclock.

Asrock bios's are not pretty too.
 
The guide at the start of the thread, https://www.overclock.net/forum/13-amd-general/1741052-edc-1-pbo-turbo-boost.html


EDC = 1, PBO TURBO BOOST bug*


bug = *feature.

Some posters over at the X570 Crosshair VIII thread came upon a way to get PBO to boost like never before. LINK

Shorthand info:

Set PBO into manual mode:
PPT 0
TDC 0
EDC 1

c-states disabled

For better tweaked results:
PPT [150]~[200+]
TDC [100]~[130+]
EDC 10 [25-30*]

(c-states disabled)

CnQ enabled

*EDC 25 is for 3950X, EDC 30 is for 3960X

PPT & TDC aren't important as they can be set whatever you want really but the key aspect here is EDC.
We are setting it to 1 Ampere Limit.

Some folks have probably noted there have been a bug in regard to EDC in the newer AGESA 1.0.0.4B BIOS. Some have complained that it would not work period. Basically only stock or 0 value which equals the processor fused setting is used. I have found a little flexibility with this setting but not as flexible as it was previously.

In case of a Ryzen 7 3800X EDC would have a limit of 140A EDC. There is TDC & PPT as well, PBO uses these limits to set boosting targets and characteristics.
Sadly I myself have noted PBO is gimped and performing beyond subpar to expectations. There are additional Limits on performance other than the available settings exposed in AMD_CBS & AMD_OVERCLOCKING BIOS pages.
What settings we have available ONLY set the targets for non-AVX loads. AVX instructions or software have additional targets and limitations that don't take note of these available settings and behaves in their own way. Probably by design by AMD to protect the more heat and Ampere intensive loads these are. They don't want your to fry your CPU with AVX loads when you use PBO. So these are excluded from your OC settings.

By investigation and testing I've found that Cinebench R20 has a target EDC = 110A & ~70C target to boost. If it hits these targets it's stops boosting and starts to maintain these limits. Simliar target is noted for Y-cruncher 110A EDC, temperature can flex a little but it's similar ~70C. Prime 95 has only a 100A limit for AVX2 & AVX. Some specific loads might exceed these targets. It's unknown how AMD handles the cases when PBO decides to use lower AVX non-user configurable limits. These limits are low!

This is not a OC friendly system! We have here are locked PBO restrictions! Not unlocked processors as we all want these to be! (you can only circumvent these restrictions in full manual OC mode, upp till now that is)
__ ___
PBO TURBO BOOST is here!

We can use PBO and the EDC setting to create a feature super fun TURBO BOOST situation!
We can have EDC setting be so low that the turbo boost algorithm goes FULL THROTTLE* haywire! *bug
You will get EDC to be allways above it's set target and the boosting algorithm breaks and goes full throttle boost!

What we get is all-core multi-core full boost! Your CPU will now boost multi-core 4.400-4.550Ghz in most situations for a 3800X sample. (*4.600Ghz attainable)

EDC Limit gets broken and discarded by the algorithm and you get unlocked PBO boosting.
I have seen that EDC will read TDC Amperage limit and you cores will run at their full capabilities! EDC gimp no longer!

What this means is Cinebench R20 will now run up-to 4.4Ghz ALL-CORE rather then the gimped 4.100~4.150Ghz from before because it would hit temperature [~70C ]or EDC [110A] limits for AVX loads.
Multi-thread score will reach 5200-5280points from 5000point scores.

Gaming will see your CPU boost to max clock that your sample is capable off in multithread to what your CPU was before in single thread.*

*sample variances apply, not all chips clock the same, silicon lottery thing

There are caveats, not all CPU's will be stable with this! GREAT COOLING REQUIRED

Tweaks with voltage and LLC will effect results. Scalar settings has effect on boost. scalar[10x] works best for my 3800X sample.

BEWARE! single thread is throttling.
Single thread or low load will cause the system to throttle as the boosting algorithm is trying to maintain the 1 Ampere limit for EDC. Only works under higher load. Under lower loads the Algorithm is trying to wrestle control to keep EDC to target.
Here is advice: Either disable C-states to have no lower clock states or increase EDC target a little to allow the system to have clearance for single-thread loads.
Disabling c-states has best effect for single thread throttling issues but you no longer have c-state C6 used. So higher power draw at idle. Cores will never fully idle at their lowest power state.

I myself found EDC targets between [1]~[12] work to make the system go full throttle under heavy load.
For single thread loads I've found EDC 10 and scalar 10x has worked best with a 3800X. It will on occasion throttle to keep the EDC to target at idle or single thread load but all other applications usually work for multi-thread loads to have full boost capabilities.
Others have found that a 3950X likes EDC 25 and a 3960X likes one around EDC 30.

Picking a too low EDC value will cause more throttling if you have c-state enabled. Using a too high value your CPU will clock down all cores to keep it below your EDC target. More cores usually means you have to pick a higher target for better results.

Another thing is to test CnQ enabled/disabled, it alters the boost behaviour. Do note some might be stable with one and unstable with the other.
I've myself had better boost clocks with CnQ Enabled.

After a tip from gerardfraser Install and use the Windows Ultimate Power Plan to have less single-thread throttling with EDC settings.
Beware that idle voltages will not reach the usual 0.200V with this, they will usually stay ~1.000V minimum but you might lessen the single thread throttling we had as issue before.
To add it if you don't have this option run CMD with administrator privileges.

Code:
powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61
Using this power plan isn't necessary but it might give some better results when having c-states enabled.

Others may have had good results with the 1usmus Ryzen Power Plan with c-states enabled.

TEST AT YOUR OWN RISK! I take no liability if anything might brake for you. It works satisfactory here for me at the moment.
4.600Ghz single thread & 4.500Ghz+ multi-thread.

Voltages will increase to accommodate the higher clocks.

UNSTABLE?
Try a lower scalar setting if you get unstable results with scalar 10X. Some cores are better than others and not all behave the same and can at times only be stable with a lower scalar.
You can start at either end 1x and go up or at 10X and go down until your stable. Some processors or motherboard combinations might like a value in the middle range 3-5x. It varies.
Lower value should be more stable but also not allow PBO to boost as much or high. Higher values should give best performance at the exception of more unstable results if it tries to boost to much.
It varies by CPU samples.

Additional suggestions:
If you use a 3900X & 3950X. You will hit PPT, TDC & CPP/TDP limits which are 140watts & 95A TDC. You will want to increase these from stock limits to not be limited by these as much as matched by your cooling capabilities. Cinebench etc will otherwise throttle @ 140Watts if you don't increase wattage limits and you may only reach 4.1Ghz all-core which isn't the best these can do.

3960X have better behaviour with a EDC 30 setting.
3950X have better behaviour with a EDC 20~25 setting.
3900X have better behaviour with a EDC 16 setting.
3800X have better behaviour with a EDC 10 setting.