Csound Csound-dev Csound-tekno Search About

cacheing

Date1997-11-18 10:27
Fromjames@maths.ex.ac.uk
Subjectcacheing
owner-csound-outgoing wrote
>From owner-csound-outgoing Mon Nov 17 15:34:28 1997
From: owner-csound-outgoing
Date: Mon, 17 Nov 97 15:34:28 GMT
Message-Id: <16468.9711171534@maths.exeter.ac.uk>
To: owner-csound-outgoing
Subject: BOUNCE Csound: Non-member submission from [lrackl%SLC%HEXCELNET@hexcel.attmail.com (Rackl, Les)]

>From lrackl%SLC%HEXCELNET@hexcel.attmail.com Mon Nov 17 15:34:18 1997 remote from 
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Mon, 17 Nov 97 15:34:18 GMT
Received: from caau.ca.br.np.els-gms.att.net [199.191.128.166] by hermes via SMTP (PAA18784); Mon, 17 Nov 1997 15:34:09 GMT
Date: Mon, 17 Nov 1997 07:11:00 +0000
From: lrackl%SLC%HEXCELNET@hexcel.attmail.com (Rackl, Les)
Received: from hexcel by attmail; Mon Nov 17 15:34 GMT 1997
Subject: RE: 32 bit float AIFF
To: csound, javi.ruiz@tfn.servicom.es
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: 





 ----------
>P.S. I have just bought a 8600/200, should I buy more cache memory for   
real
>time
>performance? (I have already enough DRAM)


>Javier Ruiz


If you are loading data into the CPU from RAM in 64K chunks (say), then   
64K of cache
can add tremendous performance increases, because it "pre-fetches" the   
data chunk and
can then load into the CPU very, very quickly (something like 1 CPU   
cycle).

If you're not loading 64K chunks, though, you'll be generating cache   
misses which will actually
degrade performance, relative to having no cache.

This is my understanding of it, though i confess to not understanding the   
differences between
Level 1 and Level 2 cache.  Could someone straighten this out for me?


les


-- 
James Andrews, maths CDO, ext.3977