home *** CD-ROM | disk | FTP | other *** search
/ hobbes.nmsu.edu / 2008-06-02_hobbes.nmsu.edu.zip / dos / xmtp12.zip / BEFORE < prev    next >
Text File  |  1995-06-24  |  8KB  |  150 lines

  1. *Problem:
  2. Was not able to use more than 16MB since chipset was caching only
  3. the first 16MB.  No option in the X-Setup to change this.  20MB
  4. is available, but the performance penalty is too severe unless all
  5. 20MB can be cached.
  6.  
  7. *Hardware:
  8. i486DX/100 CPU, 256KB L2, 20MB DRAM, 4x4MB plus 4x1MB (okay so far),
  9. VEGA motherboard with Symphony Haydn chipset (problem).
  10.  
  11. *Fix:
  12. XMTP results before running the two programs (listed below) is first,
  13. followed by, XMTP results after each program is run.  Note the non-cached
  14. region at 16MB+.  Unfortunately, my AMI X-BIOS setup does not offer any
  15. sort of control over the region to cache, though it is part of the chipset.
  16. Even AMISETUP, an AMI BIOS setup extension program, does not offer any
  17. such control (apparently it's limited to what is actually available in
  18. the X-BIOS setup).
  19.  
  20. Three XMTP read-performance snap-shots follow.  The write tests for
  21. all three runs were then same, with a 23us/KB result (over the entire
  22. range, even in the BEFORE run, and without running SYM32MB.COM --
  23. this is because the write-through cache has a buffer -- also settable
  24. from software via the chipset I/O -- not a write-back cache, a buffered
  25. write-through (sounds awfully alike, though, ey?)).
  26.  
  27. The test program is available at SimTel mirrors, in sysutil/ as xmtp11.zip.
  28. It uses block sizes from 1K to 1MB in size and tests how fast it can
  29. perform a LODSD (a 3-clock per dword operation) or STOSD (write test).
  30. An alternate test is also available.
  31.  
  32. ----BEFORE----
  33. Note the break at 1000000 (16MB mark).  This causes major slow-downs
  34. in OS/2 since the OS/2 kernel is loaded high and runs out of this
  35. (slow) memory.  Expect similar results in NT, and probably Win9x.
  36.  
  37. Extended Memory Read: 19MB +  0KB using REP LODSD
  38.    MB    1   2   4   8   16  32  64 128 256 512 1024 BlkSz
  39. 0000000  -   -   -   -   -   -   -   -   -   -   -  (n/a)
  40. 0100000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  41. 0200000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  42. 0300000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  43. 0400000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  44. 0500000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  45. 0600000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  46. 0700000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  47. 0800000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  48. 0900000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  49. 0A00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  50. 0B00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  51. 0C00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  52. 0D00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  53. 0E00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  54. 0F00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  55. 1000000  54  54  54  55  55  54  55  55  54  54  ov uS/KB
  56. 1100000  54  54  54  54  54  55  54  54  55  54  ov uS/KB
  57. 1200000  55  55  54  55  55  55  55  54  55  54  ov uS/KB
  58. 1300000  54  54  54  55  55  55  54  54  55  54  ov uS/KB
  59.  
  60. Extended Memory Write: 19MB +  0KB using REP STOSD
  61.    MB    1   2   4   8   16  32  64 128 256 512 1024 BlkSz
  62. 0000000  -   -   -   -   -   -   -   -   -   -   -  (n/a)
  63. 0100000  25  23  23  23  23  23  23  23  23  23  23 uS/KB
  64.          :  (all writes test gave exact same results)
  65. 1300000  23  23  23  23  23  23  23  23  23  23  23 uS/KB
  66.  
  67.  
  68. ----AFTER SYM32MB.COM----
  69. Note that there's no more break.  Great for OS/2, only
  70. the BIOS resets the chipset so that only 16MB is cached
  71. upon a reset, even a warm boot.  This means I need to
  72. write an OS/2 program to do this.  If interested, contact
  73. me and I'll let you have it (once I do it).
  74.  
  75. Extended Memory Read: 19MB +  0KB using REP LODSD
  76.    MB    1   2   4   8   16  32  64 128 256 512 1024 BlkSz
  77. 0000000  -   -   -   -   -   -   -   -   -   -   -  (n/a)
  78. 0100000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  79. 0200000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  80. 0300000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  81. 0400000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  82. 0500000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  83. 0600000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  84. 0700000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  85. 0800000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  86. 0900000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  87. 0A00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  88. 0B00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  89. 0C00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  90. 0D00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  91. 0E00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  92. 0F00000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  93. 1000000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  94. 1100000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  95. 1200000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  96. 1300000  10  10  10  10  10  19  19  19  19  45  45 uS/KB
  97.  
  98.  
  99. ----AFTER SYMBURST----
  100. My BIOS defaults the cache burst to disabled.  Hm.  I can
  101. option this to either a 2-clock burst or a 4-clock burst.
  102. Since the 2-clock setting locks up, I use 4-clock.  No
  103. problems so far.  Note how the 512K and 1MB block size
  104. results improve a good 30%.
  105.  
  106. Extended Memory Read: 19MB +  0KB using REP LODSD
  107.    MB    1   2   4   8   16  32  64 128 256 512 1024 BlkSz
  108. 0000000  -   -   -   -   -   -   -   -   -   -   -  (n/a)
  109. 0100000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  110. 0200000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  111. 0300000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  112. 0400000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  113. 0500000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  114. 0600000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  115. 0700000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  116. 0800000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  117. 0900000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  118. 0A00000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  119. 0B00000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  120. 0C00000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  121. 0D00000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  122. 0E00000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  123. 0F00000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  124. 1000000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  125. 1100000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  126. 1200000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  127. 1300000  10  10  10  10  10  19  19  19  19  33  33 uS/KB
  128.  
  129. Debug listings follow.  It's all I have now, and probably
  130. all I'll post.  Interested types (VEGA motherboard and
  131. Symphony chipset owners) should e-mail me for more stuff,
  132. especially the OS/2 version.
  133.  
  134. SYM32.COM                      SYMBURST.COM
  135. Sets cache range to 32MB.      Sets cache burst to 4-clock mode.
  136. 0100 MOV AL,45                 0100 MOV AL,40
  137. 0102 OUT A8,AL                 0102 OUT A8,AL
  138. 0104 NOP                       0104 NOP
  139. 0105 IN  AL,A9                 0105 IN  AL,A9
  140. 0107 AND AL,F8                 0107 AND AL,08
  141. 0109 OR  AL,03                 0109 OR  AL,80
  142. 010B OUT A9,AL                 010B OUT A9,AL
  143. 010D INT 20                    010D INT 20
  144.  
  145. This information was gathered from the c't magazine FTP site.  The
  146. archive CHIPS.ZIP contains about a dozen or so chipset documents,
  147. and a program to run to check your current settings.  Came across
  148. it while looking for another program (thanks guy).  BTW, the site
  149. is in Germany: (site here).
  150.