Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <2024Oct21.083252@mips.complang.tuwien.ac.at>
Deutsch   English   Français   Italiano  
<2024Oct21.083252@mips.complang.tuwien.ac.at>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: MM instruction and the pipeline
Date: Mon, 21 Oct 2024 06:32:52 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 38
Message-ID: <2024Oct21.083252@mips.complang.tuwien.ac.at>
References: <venkii$23b6b$1@dont-email.me> <vep8rb$2d8ru$1@dont-email.me> <bf46a508f4e6bbe44846078a50af63b7@www.novabbs.org> <vf39a8$fr1q$1@dont-email.me>
Injection-Date: Mon, 21 Oct 2024 08:41:22 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="dbb1be91289ae7bbe61f92b425793fa1";
	logging-data="891761"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/Q5HGMn4f90EQ0gBBxEXGd"
Cancel-Lock: sha1:AMMno3NieT15SGzVKiqveVL3ZWI=
X-newsreader: xrn 10.11

"Paul A. Clayton" <paaronclayton@gmail.com> writes:
>I was thinking primarily about uncorrectable errors in the
>source. It would be convenient to software for MM to fail early on
>an uncorrectable source error. It would be a little less
>convenient (and possibly more complex in hardware) to generate an
>ECC exception at the end of the MM instruction (or when it
>pauses from a context switch).

Welcome to the DDR5 age (which started in 2021).  DDR5 not just has
on-die ECC, it also has ECS (error check and scrub).  From
<https://in.micron.com/content/dam/micron/global/public/products/white-paper/ddr5-new-features-white-paper.pdf>:

|An additional feature of the DDR5 SDRAM ECC is the error check and
|scrub (ECS) function. The ECS function is a read of internal data and
|the writing back of corrected data if an error occurred. ECS can be
|used as a manual function initiated by a Multi-Purpose Command (MPC),
|or the DDR5 SDRAM can run the ECS in automatic mode, where the DRAM
|schedules and performs the ECS commands as needed to complete a full
|scrub of the data bits in the array within the recommended 24-hour
|period. At the completion of a full-array scrub, the DDR5 reports the
|number of errors that were corrected during the scrub (once the error
|count exceeds a minimum fail threshold) and reports the row with the
|highest number of errors, which is also subject to a minimum
|threshold.

I am wondering why scrubbing is not performed automatically on
refresh.

Even before DDR5, scrubbing is a feature of the memory controller that
it performs in hardware (i.e., without software having to do something
in an interrupt handler or some such).  Of course the My66000 memory
controller may be less capable, and leave scrubbing to software; maybe
also refresh?

- anton
-- 
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>