Deutsch   English   Français   Italiano  
<1000pae$3uvs3$3@dont-email.me>

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

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Stephen Fuld <sfuld@alumni.cmu.edu.invalid>
Newsgroups: comp.arch
Subject: Re: Is Parallel Programming Hard, And, If So, What Can You Do About
 It?
Date: Tue, 13 May 2025 17:49:17 -0700
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <1000pae$3uvs3$3@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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 14 May 2025 02:49:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1fce2fa80d13ba521977c905b90557b4";
	logging-data="4161411"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+cAC94Cj0OMOcLAcXfIiWQ7DIc9/qyMik="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:JK2dCc0W8o9+a6AR+J1HpKS9/ck=
Content-Language: en-US
In-Reply-To: <1000nfp$2440u$1@dont-email.me>
Bytes: 2947

On 5/13/2025 5:18 PM, Lawrence D'Oliveiro wrote:
> On Tue, 13 May 2025 08:33:15 -0700, Stephen Fuld wrote:
> 
>> No one is arguing that host based file caches are bad.  It is simply the
>> fact that there are situations where drive caches are a useful
>> addition ...
> 
> You can tell that’s wrong because the drive cache is slower than the OS
> filesystem cache. 

I don't think that proves anything.  I gave you an example of where the 
drive cache speeded up the sequence of two reads to where it was faster 
than two reads into the file cache.


Putting a slower cache in series with a faster one is a
> waste of time ... unless the slower cache is much larger.

See my counter example posted earlier.


> This is why, for example, we typically have 3 levels of RAM cache between
> the CPU and main memory these days. There is a factor of about 100:1 in
> relative speeds, so to bridge the gap we need multiple caches of various
> intermediate speeds, and you will notice their sizes are inversely related
> to their speeds.
> 
> A drive cache can never be as big as main RAM on a modern PC. That’s why
> the drive cache is useless.

You haven't refuted my example, and besides the comparison you give here 
is not meaningful because you can't use all the main ram as a file cache.




-- 
  - Stephen Fuld
(e-mail address disguised to prevent spam)