home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11470 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.8 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!fido!zola!zuni!tenno.boston.sgi.com!tarolli
  2. From: tarolli@tenno.boston.sgi.com (Gary Tarolli)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: TLB miss cost?
  5. Message-ID: <nr2b0o8@zuni.esd.sgi.com>
  6. Date: 27 Jul 92 19:19:28 GMT
  7. References: <1992Jul27.182339.5075@CSD-NewsHost.Stanford.EDU>
  8. Sender: news@zuni.esd.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc.
  10. Lines: 25
  11.  
  12. I believe the first level TLB miss cost is 18-20 cycles.  There also is
  13. such a thing as a second level TLB miss.  It could also be the case that
  14. you are missing the data cache.  First level misses are in the 10-20 cycle
  15. range, second level misses are in the 100-150 cycle ranges, depending
  16. on machine etc.
  17.  
  18. If the problem is TLB faults and the TLB replacement algorithm is deterministic,
  19. I would think that the performance would be same all the time regardless of
  20. position in memory.  On the other hand, if the data was
  21. moved around in memory, some pages might end up conflicting in the data
  22. cache where they hadn't before, resulting in different number of cache misses
  23. and therefore performance.
  24.  
  25. There's also the icache, I've been noticing some peculiar things regarding
  26. what I believe to be icache misses.  Sometimes a benchmark pgm runs slower
  27. than I expect.  Just copying it to another file can temporarily make it run
  28. fast.  Just waiting a few hours or days also makes it run faster or slower.
  29. I believe the problem is the mapping of virtual pages to physical pages, and
  30. therefore to the icache.  If indeed this is the problem, then the dcache is
  31. probably affected also.
  32. ______________________________________________________________________________
  33.   _____              ______           _  _    (508)562-4800  tarolli@sgi.com
  34.  / ___  __  __         / __  __  ___ // // *    M/S DER-200
  35. (____/ (_/_/ (_(_/    / (_/_/ (_(_/ (/_(/_/_
  36.            _/
  37.