Agner`s CPU blog

Software optimization resources | E-mail subscription to this blog | www.agner.org

Test results for AMD Ryzen
Author:  Date: 2017-07-25 08:54
I have a question about attainable L1 cache bandwidth.

The Software Optimization Guide for AMD Family 17h Processors has been published recently (http://support.amd.com/TechDocs/55723_SOG_Fam_17h_Processors_3.00.pdf). It states that the L1 cache can handle two 16B loads and one 16B store per cycle. However www.agner.org/optimize/microarchitecture.pdf under 19.17 states "The data cache has two 128-bit ports which can be used for either read or write. It can do two reads or one read and one write in the same clock cycle." On what data is this latter statement based?

In contrast to AMD's statements, I haven't been able to get more than 32B/c from the L1 cache, giving credibility to the statement found in www.agner.org/optimize/microarchitecture.pdf. But I'm not sure what exactly the problem is. Either each AVX load or store is split into two separate SSE uops, each of which requires a dedicated AGU access. In that case the number of AGUs (two) limit the achievable L1 bandwidth. Or the L1 cache has in fact only two 128-bit ports as stated in www.agner.org/optimize/microarchitecture.pdf

 
thread Test results for AMD Ryzen new - Agner - 2017-05-02
replythread Ryzen analyze new - Daniel - 2017-05-02
last reply Ryzen analyze new - Agner - 2017-05-02
replythread Test results for AMD Ryzen new - Peter Cordes - 2017-05-02
last replythread Test results for AMD Ryzen new - Agner - 2017-05-03
last replythread Test results for AMD Ryzen new - Phenominal - 2017-05-06
last replythread Test results for AMD Ryzen new - Agner - 2017-05-06
last replythread Test results for AMD Ryzen new - Phenominal - 2017-05-06
last reply Test results for AMD Ryzen new - Agner - 2017-05-06
replythread Test results for AMD Ryzen new - Tacit Murky - 2017-05-05
last replythread Test results for AMD Ryzen new - Tacit Murky - 2017-07-08
last reply Test results for AMD Ryzen new - Michael Rolle - 2019-05-15
replythread Test results for AMD Ryzen--POPCNT new - Xing Liu - 2017-05-08
last reply Test results for AMD Ryzen--POPCNT new - Agner - 2017-05-11
replythread Test results for AMD Ryzen new - Justin - 2017-07-11
last reply EPYC new - Agner - 2017-07-11
replythread Test results for AMD Ryzen new - Lefty - 2017-07-12
last replythread Test results for AMD Ryzen new - Agner - 2017-07-12
replythread Test results for AMD Ryzen new - cvax - 2017-07-13
last reply Test results for AMD Ryzen new - Agner - 2017-07-13
last replythread Test results for AMD Ryzen new - Lefty - 2017-07-13
reply Test results for AMD Ryzen new - Agner - 2017-07-13
last replythread Test results for AMD Ryzen new - Travis - 2017-07-13
last reply Test results for AMD Ryzen - Johannes - 2017-07-25
last replythread Test results for AMD Ryzen new - Conrad - 2017-09-22
reply Test results for AMD Ryzen new - Agner - 2017-09-22
last reply Test results for AMD Ryzen new - Travis - 2017-09-26