Monday, February 29, 2016

New AMD Zen core details emerged

Just one week after my last blog posting, providing a hint of the maximum number of Zen cores supported per socket, a news wave about details of Zen based server processors given in the presentation of a CERN researcher hit the web. The guy works in the institution's Platform Competence Centre (PCC) and manages integration of predominantly prototype hardware according to his CERN profile. So it can be assumed, that anything he says about server platforms might have been provided by representatives coming from the different processor and server OEMs. The 8 memory channels haven't been mentioned before in a leak or patch. And the 32 core number is not related to my posting, as the CERN talk has been held on 29th of January while I published my posting (unaware of the talk) on the 1st of February, after first mentioning the patch already in December.

Now a new series of patches provides further information about the Zen core's IP blocks. They've been posted on 16/02/16 on the Linux kernel mailing list by an AMD employee, after an earlier round of patches in January, which even mention a "ZP" target, very likely being the abbreviation for "Zeppelin". The more recent patches cover additions to AMD's implementation of a scalable Machine Check Architecture (MCA), and handling of deferred errors. This is implemented in the Linux EDAC kernel module, which is responsible for hardware error detection and correction. The most interesting patch contains following sections, with some details highlighted:

+/*
+ * Enumerating new IP types and HWID values
+ * in ScalableMCA enabled AMD processors
+ */
+#ifdef CONFIG_X86_MCE_AMD
+enum ip_types {
+ F17H_CORE = 0, /* Core errors */
+ DF,  /* Data Fabric */
+ UMC,  /* Unified Memory Controller */
+ FUSE,  /* FUSE subsystem */
+ PSP,  /* Platform Security Processor */
+ SMU,  /* System Management Unit */
+ N_IP_TYPES
+};

+enum core_mcatypes {
+ LS = 0,  /* Load Store */
+ IF,  /* Instruction Fetch */
+ L2_CACHE, /* L2 cache */
+ DE,  /* Decoder unit */
+ RES,  /* Reserved */
+ EX,  /* Execution unit */
+ FP,  /* Floating Point */
+ L3_CACHE /* L3 cache */
+};
+
+enum df_mcatypes {
+ CS = 0,  /* Coherent Slave */
+ PIE  /* Power management, Interrupts, etc */
+};
+#endif

The interconnect subsystem is called "Data Fabric", which knows so called coherent slaves according to the last enumeration list. The "FUSE subsystem" might be replaced by something else like "Parameter block", as it just means a block managing the processor's configuration.

The second list of enumerations contains a blocks found in the Zen core or close to it. I think, the highlighted "RES" element might actually stand for a real IP block, as it doesn't make much sense to have it sitting inmidst the other elements and not at the end. According to some other code in the patch, the L2 cache is seen as part of the core, while the L3 cache is not (as expected):

+ case F17H_CORE:
+  pr_emerg(HW_ERR "%s Error: ",
+    (mca_type == L3_CACHE) ? "L3 Cache" : "F17h Core");
+  decode_f17hcore_errors(xec, mca_type);
+  break;

Now let's go through some of the error string lists, beginning with those dedicated to the load/store unit:

+/* Scalable MCA error strings */
+
+static const char * const f17h_ls_mce_desc[] = {
+ "Load queue parity",
+ "Store queue parity",
+ "Miss address buffer payload parity",
+ "L1 TLB parity",
+ "",      /* reserved */
+ "DC tag error type 6",
+ "DC tag error type 1",

This is the first of many lists containing error strings, in this case for the load/store unit. Similar to the enumeration above, there is a reserved element, possibly hiding something, as this is a public mailing list. The strings I left out don't contain any surprises compared to the Bulldozer family. But overall I get the impression, that AMD significantly improved the RAS capabilities, which are very important for server processors. The following block contains error strings related to the instruction fetch block ("if"):

+static const char * const f17h_if_mce_desc[] = {
+ "microtag probe port parity error",
+ "IC microtag or full tag multi-hit error",
+ "IC full tag parity",
+ "IC data array parity",
+ "Decoupling queue phys addr parity error",
+ "L0 ITLB parity error",
+ "L1 ITLB parity error",
+ "L2 ITLB parity error",
+ "BPQ snoop parity on Thread 0",
+ "BPQ snoop parity on Thread 1",
+ "L1 BTB multi-match error",
+ "L2 BTB multi-match error",
+};

There is a new L0 ITLB, which is the only level 0 thing being mentioned so far, while VR World mentioned level 0 caches (besides other somewhat strange rumoured facts like no L3 cache in the APU variant - while this has been shown on the leaked Fudzilla slide). The only thing resembling such a L0 cache is a uOp cache, which has clearly been named in the new patch in a section related to the decode/dispatch block (indicated by "de"):

+static const char * const f17h_de_mce_desc[] = {
+ "uop cache tag parity error",
+ "uop cache data parity error",
+ "Insn buffer parity error",
+ "Insn dispatch queue parity error",
+ "Fetch address FIFO parity",
+ "Patch RAM data parity",
+ "Patch RAM sequencer parity",
+ "uop buffer parity"
+};

There are strings for both a "uop cache" and a "uop buffer". So far I knew about this uop buffer patent filed by AMD in 2012, which describes different related techniques aimed at saving power, e.g. when executing loops or to keep the buffer physically small by leaving immediate and displacement data of decoded instructions in an instruction byte buffer ("Insn buffer") sitting between instruction fetch and decode. The "uop cache" clearly seems to be a separate unit. Even without knowing how many uops per cycle can be provided by that cache, it will help to save power and remove an occaisional fetch/decode bottleneck when running two threads. The next interesting block is about the execution units:

+static const char * const f17h_ex_mce_desc[] = {
+ "Watchdog timeout error",
+ "Phy register file parity",
+ "Flag register file parity",
+ "Immediate displacement register file parity",
+ "Address generator payload parity",
+ "EX payload parity",
+ "Checkpoint queue parity",
+ "Retire dispatch queue parity",
+};

Here is a first confirmation of a checkpoint mechanism. This has been described in several patents and might also be an enabler for hardware transactional memory, which has been proposed in the form of ASF back in 2009. Another use case is the quick recovery from branch mispredictions, where program flow can be redirected to a checkpoint created right before evaluating a difficult to predict branch condition.

Let me continue with some random picks:

+ "L3 victim queue parity",
...
+ "Atomic request parity",
+ "ECC error on probe filter access",
...
+ "Error on GMI link",

There is a confirmation of the "GMI link" mentioned on an already leaked slide, which mentioned a bandwidth of 25 GB/s per link. The term "Data Fabric" also has been used on that slide.

When reporting about the 32 core support, I wrote that some patents used the same wording. It's actually "core processing complex" (CPC) and can contain multiple compute units (like Zen cores). So they are not the same. AMD patent filings using the term are US20150277521, US20150120978, and US20140331069.

Last but not least I have updated the Zen core diagram based on these new informations and some very likely related patents and papers:



Notable changes are:
  • uOp Cache has been added based on the new patch
  • FMUL/FADD for FMAC pairing removed, based on some corrections of the znver1 pipeline description.
  • 4x parallel Page Table Walkers added, based on US20150121046
  • 128b FP datapaths (also to/from the L1 D$) based on "direct" decode for 128b wide SIMD and "double" decode for 256b AVX/AVX2 instructions
  •  32kB L1 I$ has been mentioned in some patents. With enough ways, a fast L2$ and a uOp cache this should be enough, I think.
  • issue port descriptions and more data paths added
  • 2R1W and 4 cycle load-to-use-latency added for the L1 D$ based on info found on a LinkedIn profile and the given cylce differences in the znver1 pipeline description
  • Stack Cache speculatively added based on patents and some interesting papers. This doesn't help so much with performance, but a lot with power efficiency.
It's still interesting, what the first mentioning of fp3 port for FMAC operations was good for. I thought, it was a typo, but more of the kind "fp3" instead of "fp2" in one case. It could still be related to register file port usage and/or bridged FMA, but probably not that useful for telling the compiler. Due to the correction patch I'm still looking further into the FPU topic, as promised earlier. I'll cover that in a followup posting.

Finally there is a hint at good hardware prefetcher performance (or bad interferences?), as AMD recommends to switch off default software prefetching for the znver1 target in GCC.

BTW have you ever heard of a processor core having 2 front ends and one shared back end?

Update: There is an update of the bespoken patches, posted on the same day as this blog entry. You can see it here. So far I didn't see any significant additions other than cleanups and fixes.

62 comments:

Nintendo Maniac 64 said...

"16/02/16"

Hah, that's quite the date! I must admit though, it really did through me for a loop for a moment, especially combined with the use of a two-digit year.

Though, if you use a 4-digit year (that being 2016/02/16) then you still end up with quite the funky date where it's still only using the numbers 0, 1, 2, and 6, and using each number exactly twice.

Unknown said...

https://patchwork.ozlabs.org/patch/599066/

(define_insn_reservation "znver1_sseimul_avx256" 4
(and (eq_attr "cpu" "znver1")
(and (eq_attr "mode" "OI")
(and (eq_attr "type" "sseimul")
(eq_attr "memory" "none"))))
"znver1-double,znver1-fp0*4")

(define_insn_reservation "znver1_sseimul_avx256_load" 8
(and (eq_attr "cpu" "znver1")
(and (eq_attr "mode" "OI")
(and (eq_attr "type" "sseimul")
(eq_attr "memory" "load"))))
"znver1-double,znver1-load,znver1-fp0*4")

(define_insn_reservation "znver1_sseimul_avx256_load" 11
(and (eq_attr "cpu" "znver1")
(and (eq_attr "mode" "OI")
(and (eq_attr "type" "sseimul")
(eq_attr "type" "sseimul"))))
"znver1-direct,znver1-fp0*3")

znver1_sseimul_avx256_load don't need load, from double to direct. L1 cache data: 7 clock?

Lo Absoluto said...

Just as i was saying, 128b high and 128b low operands at FPU.

Powerrush...

frs said...

hy are going to purchase a kitchen items or accessaries at affordable price you will reached at the right place, here you will find kitchen items, water bottles, shoes, men's and woman ware
Clcik here to buy

https://shoppingwithdeals.com

frs said...

if you are intersting into a buy kitchenware items or accessaries or water bottles or many daily usages things like cutter, peeler, knif etc...in a bulk quantity catact us by
Contact Here

https://firstrateshopper.com

frs said...

watch for men offering you to buy watches for mens and womens and we having available wide range of watch collections, casual and formal watch set and sporty wrist watch for men's. Best couple watches for gift to your perents or a friends wedding
Buy Now

https://www.watchformans.com

Unknown said...

Any of your research solutions: math, algebra, calculus, geometry, recreation idea, or other kinds of do the job would be performed just in time. Really, there is a sixty seven% possibility pay people to do your essay you get way sooner than you be expecting. Most of our orders are finished prior to the deadline. Look at the paper, ask for revisions, in circumstance you have to have them. Hand your operate to the professor. Performed below.

Sarah Winget said...

We give 100% assurance that the entirety of our work is just one of its sort and interesting. Aside from that the college cutoff times ensured as we generally convey work before close cutoff times so that any inquiry or altering can be settled on schedule. Our client care staff is consistently accessible to help students will all their assignment needs and prerequisites. programming assignment help
assignment provider

Brooklyn Smith said...

I really enjoy simply reading all of your website blogs and web pages. Simply wanted to inform you that you have people like me who appreciate your thoughts and, knowledge. Definitely a great post about this topic. Hats off to you guys! The information that you have provided is very helpful and I hope, you sharing also like this work. Thank you and Please keep doing like this fabulous work. Online Assignment Help Australia - Assignment Help in Melbourne - Best Assignment Help in Adelaide - assignments help

Abbie Wright said...

Dear admin, First of all i tell you some things about your writing. I have never seen like this writing about this topic. I like your each blogs. i am happy to read your blog and, I was looking at some of your webs pages also on this website, I conceive this website is really instructive! Keep putting up and Thank you so much for this help and Bless you buddy. homework help cpm - college essay help - homework help math - help with my assignment

Ina said...

with next to no concern, you can depend on my assignment help website and the substance accessible there. If still you have any uncertainty identified with our work, you can really take a look at the examples of our work from our website. We give individual help to each individual contingent upon their accessibility and timing. We at my assignment help give answers for each sort of questions identified with any subject and help students to achieve high grades and work on their exhibition. my assignment help

zarkazijar said...

Very nice blog, a debt of gratitude is in order for sharing such delightful data with us. Thank you. Check ausu post utme past questions and answers

Mark Spencer said...

The very next time I read a blog, I hope that it won’t fail me as much as this particular one. I mean, Yes, it was my choice to read through, however I genuinely believed you would have something helpful to say. All I hear is a bunch of complaining about write my assignment for me something that you could fix if you weren’t too busy searching for attention.

pagal ho tum said...

Enjoy a lot of information to read this post thanks a lot.Tyler the creator merch

Macmillermerchstore said...
This comment has been removed by the author.
sandra said...

Please remove background music, it's so annoying audibook production services that I have to stop watching though it's so much needed for me

Ammar Forte said...

At Flats for sale in Murree , you will have a lovely view from your window. Only at Clouds Casa Murree can you enjoy a lavish lifestyle with spectacular amenities. Clouds Casa Murree is the Best Property for Sale in Murree with Unparalleled Serenity.

Luckymeiseeghosts said...

Get Official Billionaire Boys Club shirt for Men and Women. Get official clothing with big discount and fast shipping.
bbcshirt

Luckymeiseeghosts said...

Buy genuine medical gloves in Malaysia at very low cost. Top quality gloves is the leading manufacturers and wholesale supplier of medical gloves, exam gloves, surgery gloves in bulk in malaysia. To know price of medical gloves call us on +60 16 332 5611
Disposable gloves

Maxus van said...

Really Good job Thankyou
Wao it’s an awesome page I like it so much because I have never seen this type blog from many days but at last I take it.
Black nitrile gloves

Unknown said...


You made some respectable factors there. I seemed on the web for the issue and found most people will go along with together with your website. Feel free to visit my website; 야설

Unknown said...

Very nice article and straight to the point. I don't know if this is truly the best place to ask but do you folks have any idea where to get some professional writers? Thank you. Feel
한국야동
free to visit my website;

Unknown said...


Hey there. I found your site by the use of Google whilst looking for a similar subject, your site came up. It looks good. I have bookmarked it in my google bookmarks to visit then. Feel free to visit my website; 국산야동


Angel charls said...

Hi, I want to thank you for sharing this interesting information.
it's great that nowadays we have an opportunity to share our thoughts. it seems to me, blogs and online services are our future. One and good example
nice post
please keep sharing more posts like this
PayPal Bellen

Sharly said...

I adore your own composing design, excellent information, appreciate it with regard to putting up: Deb. เว็บบาคาร่าโดยตรง

Qwik Aid said...

I feel really happy to have seen your webpage. I gained much unknown information, the way you have clearly explained is really fantastic. Thanks for the valuable input. Kindly Visit our Website:- Roadrunner Email Not Working With Outlook

selena gomez said...


Disney Plus costs $8 a month or $80 per year in the US. With a subscription,disneyplus.com/begin you get ad-free access to all of the service's streaming titles. Disney Plus does not currently offer a free trial.There's also an option to buy a bundled package with Hulu and ESPN+, which costs $14 a month for all three services. Individually, ESPN+ and the ad-supported version of Hulu each cost $7 a month.

토토사이트 온라인베팅 사설토토 플렛폼 said...

Toto sites, specialized in Sport Toto Proto, are usually private Toto sites. Totosites of the first generation often refer to the best sports zone with a focus on sports betting. 토토사이트 click here 안전놀이터

hameedudhaaam said...

Thanks for sharing this best stuff with us! Keep sharing! I am new in the blog writing. All types blogs and posts are not helpful for the readers. Here the author is giving good thoughts and suggestions to each and every reader through this article. literature-essay Quality of help with assignment writing the content is the main element of the blog and this is the way of writing and presenting.

hameedudhaaam said...

Excellent article. The writing style which you have used in this article is very good and it made the article of better quality. Thank you so much for this informative assignment writing uk post.

charles said...

Visit for more information
Hbomax/tvsignin
Disneyplus.com/Begin
Disneyplus.com login/begin
Fubo.tv/connect

Steven Smith said...

Creating an SOP is a tedious process and can take hours. If you are in the service industry, it is imperative that you have all of the relevant documentation in order to operate. But many companies are unable to produce this crucial document or have a poor or inadequate plan in place. So, it's time to avail the services of a Best SOP Writing Services in India.

Lucy Thomas said...


canon ij setup printers are exceptionally liked by such countless individuals. They need direction in setting them up to utilize. Observe the beneath referenced rules to play out the printer arrangement bother free and fight free.

mikasa smith said...

FOX NOW allows you to stream your favorite FOX programs live or on-demand. Log in using your TV provider credentials to download the app and watch full episodes.Open Foxnews.com/connect NOW and click "Activate TV".The activation code will appear on the screen.

Qunock6987 said...

HBO Max is available on PlayStation 4 and other home devices through an update to the HBO Now app. However, currently, the HBO Max app does not allow users who have free access with their cable plan to connect with their TV provider's specs. Hbomax.com tvsignin Either way, users can log into the HBO Max service using the TV login page on the HBO Max official website.
To do this, you will need to go to the official HBO Max website on the desktop browser.

Unknown said...

Enjoyed reading the above article. Also if you are looking forward to learning about the spacebar speed test. It is a free tool to count your total number of clicks and spacebar pressing speed in a given time. The spacebar cps counter can also be used to analyze how many times can you press the spacebar. This article will guide you.

tech news said...

Puzzling article. I'm managing a sprinkle of these issues too.. new tech updates

Samuel Jackson said...

This post is extremely helpful for me. I really appreciate the effort which you have put into this education article. If college students need academic-related help like Assignment Help Australia and essay writing services then you can contact me anytime from anywhere.

casinositeone.JDS said...

I will be reading your articles and using the informative tips. Looking forward to read such knowledgeable articles Feel free to visit my website; 카지노사이트존
카지노사이트
바카라사이트

thesmalltrend said...

I appreciate you sharing this information with us. In addition to being useful, I found it to be interesting as well. It is greatly appreciated that you were able to assist me.
https://thesmalltrend.com/

John Ty said...

This blog is very informative and Interesting i wait for more blog. i am also here to share information of my services that is Tafe Assignment Help
in Australia we complete assignment on time and 100% free plagrisum, our experts are experienced and well qualified and Get done your best subject assignment done with best price in market.

shopme said...

Without fail, your writing style is top professional; even your website also looks amazing thank you for posting.
anunlimitedamountofmoney

zarkazijar said...

A very appealing weblog. Thank you on your precious opinion. It became very useful and useful.
how to get acca f5 past questions visit Best Rated Educational Update Portal in the World; Examination and Academic Guide, High Paying Jobs & Scholarship  Website.

Buy routers and switches said...

asdf;'lsa;'dl fsa;'d lf;'ds lf;'sdlf;'salfdskfds;lkfoirpoirwpoeriwe
isr4331/k9

Buy routers and switches said...

dsalk jdlksajdsalkjdsalkdsalkdsalkdjsalkdjsalkdjsalkdsalkdjsadksa kljlk jlkj k ISR4331-SEC/K9 Price

Essential Hoodie said...

I read your post carefully and I love the way you share information.
banenciaga hoodie

essentials shop said...

<a href="https://essentialsshop.net/>essentials shop</a>
Thanks for sharing this information

Unknown said...

sang candle
thanks for sharing this information

Unknown said...


rhinestonehoodies
thanks for sharing this information

Sruthi Karan said...

Good job! your effort is very nice and keep doing...
Abogados de divorcio sin oposición Virginia Beach

Early Sunray said...

Thanks for sharing your knowledge about tips. Your post was very informative and provided me with some valuable takeaways. I'll definitely be using these tips in my own work Injectable Vitamins

proteiosgreen said...

Wow, what an amazing article! I am truly grateful to you; I thoroughly enjoyed delving into this topic. If you're interested in exploring similar content, I invite you to visit this https://proteiousgreen

Vallabhienterprises said...

I was searching some blogs on google and I read your blog, I really liked reading your blog
Please click for this website https://vallabhienterprises

Nursing Assignment Help said...

Nice Blog! As a busy professional pursuing further education,"Online assignment help has been a lifeline. It's reassuring to find dedicated services that understand the challenges faced by working students.

Nursing Assignment Help said...

Great Blog! I've recently used nursing assignment help services, and the assistance provided was a game-changer. It helped me manage my workload and improve my grades.

shadab khan said...

The meticulous attention to detail by Assignment Help is truly impressive.

Green Vision said...

Thanks for sharing your great perspective on the topic. You have made some valid points in this article. Keep up the excellent work.
Waste management design | Signage design

Nandi IVF said...

Delhi, India offers affordable and accessible options for couples seeking IVF treatment. The IVF cost in india delhi is relatively lower compared to other countries, making it an attractive destination for medical tourism. With state-of-the-art fertility clinics and experienced doctors, Delhi provides high-quality care at a fraction of the cost.

The city boasts a range of treatment options, including advanced techniques like ICSI and PGD, ensuring that couples have access to the latest advancements in reproductive technology. Additionally, Delhi's warm hospitality and cultural richness make it a welcoming and comfortable place for couples embarking on their IVF journey.

shadab khan said...

I've had a fantastic experience with Assignment Help. The depth of research and clarity of expression in their assignments reflect a high level of expertise. The consistent quality of their work has been instrumental in boosting my grades. Kudos to their dedicated team!

Daily News said...

Discover sleek, durable Sp5der Sweatpants, crafted for performance and style. Explore our versatile range of innovative designs, offering comfort and flexibility for your active lifestyle. Elevate your wardrobe with Sp5der.




Chrome Hearts Dress said...

Deftonesmerch

assignment helper said...

You are a student and need help with marketing assignment, here We are the global assignment expert. We offer assignment services to the students and delivers plagiarism free assignment. Global assignment help has a team of knowledgeable and experienced scholastic writer with 5 plus year of experience. Our team will help you with your assignment and they will also try to clear your doubt related with your assignment. So stop your search here, and connect with us on our website and give us chance to serve you better.