| Deutsch English Français Italiano |
|
<20240801230825.00003cd2@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.arch Subject: Re: Arguments for a sane ISA 6-years later Date: Thu, 1 Aug 2024 23:08:25 +0300 Organization: A noiseless patient Spider Lines: 34 Message-ID: <20240801230825.00003cd2@yahoo.com> References: <b5d4a172469485e9799de44f5f120c73@www.novabbs.org> <v7ubd4$2e8dr$1@dont-email.me> <v7uc71$2ec3f$1@dont-email.me> <2024Jul26.190007@mips.complang.tuwien.ac.at> <v811ub$309dk$1@dont-email.me> <2024Jul29.145933@mips.complang.tuwien.ac.at> <v88gru$ij11$1@dont-email.me> <2024Jul30.114424@mips.complang.tuwien.ac.at> <v8bi3e$16ahe$1@dont-email.me> <2024Aug1.191028@mips.complang.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Thu, 01 Aug 2024 22:08:32 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f6ee886d028cbfe516d4c973804718a8"; logging-data="2486896"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RzJg0Co/7p2PYQsluFiTiKIEpmLTHGtE=" Cancel-Lock: sha1:CdSRpDuKGRLRHq4hFZg5+QwTIj0= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32) On Thu, 01 Aug 2024 17:10:28 GMT anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote: > BGB <cr88192@gmail.com> writes: > >Some amount of the cases where consistency issues have come up in my > >case have do do with RAM-backed hardware devices, like the > >rasterizer module. It has its own internal caches that need to be > >flushed, and not flushing caches (between this module and CPU) when > >trying to "transfer" control over things like the framebuffer or > >Z-buffer, can result in obvious graphical issues (and, > >texture-corruption doesn't necessarily look good either). > > The approach taken on AMD64 CPUs is to have different memory types > (and associated memory type range registers). Plain DRAM is > write-back cached, but there is also write-through and uncacheable > memory. For a frame buffer that is read by some hardware that can > access the memory independently, write-through seems to be the way to > go. > > - anton In theory WT regions can be used for frame buffers, but I would think that in real world overwhelming majority of [few remaining Direct IO] frame buffer applications use write-combining (WC) regions. To remind to those of us who recently didn't re-read the relevant topics of the manual, architecturally WC regions are weakly ordered and uncached. On the other hand, WT regions adhere to the same x86-TSO memory ordering model as WB regions. I don't believe that designers of iAMD64 CPUs pay much attention to performance of WT regions, because of the absence of killer app.