Deutsch   English   Français   Italiano  
<100ifa6$2b7vi$1@dont-email.me>

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

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: BGB <cr88192@gmail.com>
Newsgroups: comp.arch
Subject: Re: Is Parallel Programming Hard, And, If So, What Can You Do About
 It?
Date: Tue, 20 May 2025 12:42:38 -0500
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <100ifa6$2b7vi$1@dont-email.me>
References: <vvnds6$3gism$1@dont-email.me>
 <edb59b7854474033c748f0fd668badaa@www.novabbs.org>
 <w32UP.481123$C51b.217868@fx17.iad> <vvqdas$g9oh$1@dont-email.me>
 <vvrcs9$msmc$2@dont-email.me>
 <0ec5d195f4732e6c92da77b7e2fa986d@www.novabbs.org>
 <vvribg$npn4$1@dont-email.me> <vvs343$ulkk$1@dont-email.me>
 <vvtt4d$1b8s7$4@dont-email.me> <2025May13.094035@mips.complang.tuwien.ac.at>
 <vvuuua$1mt7m$1@dont-email.me> <vvvons$3uvs3$2@dont-email.me>
 <1000nfp$2440u$1@dont-email.me> <1000pae$3uvs3$3@dont-email.me>
 <100bdhq$lhdb$3@dont-email.me>
 <91c8a31fc5d04a1fadf210b2dd6d4875@www.novabbs.org>
 <100e0it$19264$1@dont-email.me>
 <fa7e33d953bc6f545387d862e19c2bd2@www.novabbs.org>
 <100gipr$1sbnn$10@dont-email.me> <100h3jm$23ehu$1@dont-email.me>
 <jwv7c2bjqcx.fsf-monnier+comp.arch@gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 20 May 2025 19:48:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4d3e0c2c3abc39033c4833c10ebb0516";
	logging-data="2465778"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18Wg9esL/e3+i/93GYws/vfaeS15LrFcy4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:l4g7J0xrH/7G6aWe4eRGQjAgo64=
In-Reply-To: <jwv7c2bjqcx.fsf-monnier+comp.arch@gnu.org>
Content-Language: en-US

On 5/20/2025 9:49 AM, Stefan Monnier wrote:
>> You need RAM to make this work, and a few MB of HDD side cache isn't a huge
>> cost if one would have already needed the same stuff to make the HDD work.
> 
> Indeed, AFAIK, what we call "HDD cache" is actually just the RAM used
> by the embedded CPU inside the drive for its operation.
> I expect this is used to store the information about in-flight requests
> (e.g. most importantly the data about the write requests received but
> that haven't yet reached the platters), but I also expects it holds data
> that happened to fly recently by the read-head, just in case.
> 

Probably.

As I understand it, it is this, along with a certain amount of "read 
prefetch", which is granted, typically the data for the rest of the 
track as the drive spins around;
And, keeping some copies of previously read content around, which can be 
read again from this cache if they happen to be requested.

As I understand it, also more modern HDDs tend to be "density per area" 
rather than angular slices (as it was on much older HDDs and floppies, 
*), so there would be more sectors on outer tracks vs on inner tracks.



*: Though, IIRC, there were some oddball floppy drives / variants that 
did something similar, and could get significant improvements in 
capacity while still using the same (or similar) physical media 
(although, incompatible with more normal floppy drives).

Eg: apparently things like LS-120 drives with 32MB on a 3.5" floppy sort 
of things, vs more on its specialized disks.


Well, vs the 2.88MB format, which simply shoved more sectors onto the 
disk...

Most everything else reached 1.44MB and died on this hill.



> 
>          Stefan