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

  1. Path: ar.ar.com.au!not-for-mail
  2. From: storm@ar.ar.com.au (Storm)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: One hardware-basher's manifesto
  5. Date: 8 Mar 1996 16:19:52 +1100
  6. Organization: I need to put my ORGANIZATION here.
  7. Message-ID: <4hog1o$3op@ar.ar.com.au>
  8. References: <04000205714080640503@BIRDLAND> <4ge8na$vhe@ar.ar.com.au> <38232623@kone.fipnet.fi> <4gmlg9$jo3@serpens.rhein.de>
  9. NNTP-Posting-Host: ar.ar.com.au
  10. X-Newsreader: TIN [UNIX 1.3 941216BETA PL0]
  11.  
  12. Michael van Elst (mlelstv@serpens.rhein.de) wrote:
  13.  
  14. : .. and the CPU. A 040 does always use bursts for cachable data, the only
  15. : way to turn bursts off is to disable the cache and _that's_ slowing down
  16. : everything significantly. Disabling bursts almost never helps.
  17.  
  18. I have a question about an 040's data cache! Well, not so much a question,
  19. I just want to make sure my understanding is correct..
  20.  
  21. With the copyback mode, any writes to a cached memory location are only
  22. written to the cache, right? And then, when that bit gets pushed out of
  23. the cache to make room for something else, they get written to 'real'
  24. memory, right?
  25.  
  26. So, if you flush the cache (after self-modifying code for instance), it
  27. will possibly be forced to write a large amount of stuff to main memory,
  28. right?!
  29.  
  30. I want to know, because I've been using self-modifying code taking into 
  31. account that the exec routine to flush caches take ~1 raster line to
  32. execute on a standard A1200. But then it occurred to me that due to this
  33. copyback cache on the 040, it could take a _seriously_ longer time -
  34. long enough that self-modifying code could almost never provide any
  35. speedup?
  36.  
  37. Am I right in all of this? Or have I missed something?
  38.  
  39. --                  ______________________________
  40.                     \_/ "\/\/\__"\/ "\/ "\/\__"\_/ 
  41. Storm / Cydonia      / / / / / / / / / / / / ' /       Packing class
  42.                     / /\/>  / / / / / / / / / /__     & kicking arse!
  43.     (coder)         \__/ \_/\__/\__/\/\/\/\/\/ \/
  44.