News for hackers. Stuff that matters.
Re:Operation Costs in CPU Clock Cycles by AlphaSite on Saturday November 12, 2016 @01:17AM (#12936871)
Are core specific caches write through or write Back?
Re:Operation Costs in CPU Clock Cycles by CountSessine on Saturday November 12, 2016 @05:03PM (#12940460)
I think that they're always write-back, but it gets complicated with the different levels and it's different between Intel and AMD - my understanding is that Intel uses an 'inclusive' method where everything that's in a higher-level cache line will also be in a lower-level cache line; i.e. if something is in L1 it will always also be in L2 and L3, but then with AMD's exclusive scheme L1 or L2, when clearing a dirty line, can/will effectively 'write-around' L2 or L3 straight to a lower level.