home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4512 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: nntp.teleport.com!sschaem
  2. From: sschaem@teleport.com (Stephan Schaem)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: One hardware-basher's manifesto
  5. Date: 29 Feb 1996 20:17:20 GMT
  6. Organization: Teleport - Portland's Public Access (503) 220-1016
  7. Message-ID: <4h51kg$cio@maureen.teleport.com>
  8. References: <4ge8na$vhe@ar.ar.com.au> <08000305729070351637@BIRDLAND> <4guenp$1a1@vixen.cso.uiuc.edu>
  9. NNTP-Posting-Host: julie.teleport.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Saladino Michael D (msaladin@students.uiuc.edu) wrote:
  13. : >> : > Please use OwnBlitter/DisOwn... and use CacheControl to turn on only the caches
  14. : >> : > you need (If data burst (030/040/060) modes is on the CPU will take 4x as much
  15. : >> : > time when accessing fastram randomly.
  16.  
  17. : I don't think I can express in words just how wrong this is, but I'm going to do my
  18. : best.  First of all, even if you were accessing RAM "randomly", you will not suffer
  19. : a 4x speed drop.  Checking a cache (L1 or L2) you only suffer a few clock cycles and
  20. : this is kept to a minimum thanks to pipelining the cache lookup hardware.  However,
  21. : this is a moot point because programs don't access RAM randomly.  The whole point
  22. : of the cache is to take advantage of the temporal and spatial locality that occurs
  23. : in ALL programs.  You would actually have to go WAY out of your way to make a program
  24. : that runs faster with caches turned off and I bet it wouldn't do much.  Are you aware
  25. : that modern day processors (and I'm even including the 680x0 line) get over 90% hit
  26. : rates on their data caches and even higher for the instruction cache.  Turning a
  27. : cache off is like flipping a switch to drop your clock from 50Mhz to 5Mhz.  It's 
  28. : stupid... don't do it!
  29.  
  30. : Caches should always remain on.  ALWAYS.
  31.  
  32.  You do not ALWAYS access ram linearly... Drawing a vertical line in 32bit
  33.  color only accessing ram linearly?
  34.  
  35. ..    move.l    d0,(a0)
  36.     adda.l    a1,a0
  37.     dbra    d0,..
  38.  
  39.  Since you are the expert here tell me what happen on a 030/040/060 with 
  40.  this and burst on? is it really 10 time faster with the burst on?
  41.  
  42.  Stephan
  43.