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

  1. Path: news.vol.it!news
  2. From: bizzetti@mbox.vol.it (Fabio Bizzetti)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: CHIP RAM speed test resul
  5. Date: 3 Apr 1996 15:06:33 GMT
  6. Organization: Video On Line
  7. Distribution: world
  8. Message-ID: <8477.6667T982T2532@mbox.vol.it>
  9. References: <4j6jv0$1im@serpens.rhein.de> <5827.6659T112T770@mbox.vol.it> <1996Apr2.234528.8971@scala.scala.com>
  10. NNTP-Posting-Host: molcl10.vol.it
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  12.  
  13.  
  14.  
  15. >You don't understand dynamic RAM. The 80ns rating on a DRAM is the row
  16. >address access time. That's usually (depending on the part and the
  17. >memory controller), the fastest that data can be accessed from that
  18. >part. However, DRAM also has a row address precharge time, which is
  19. >usually about 60-80% of the access time. So while you can access a
  20. >word in 80ns from the start of the memory cycle, you can't
  21. >continuously run random access cycles any faster than around 140ns,
  22. >for an 80ns part. 
  23.  
  24. I know the difference between burst-modes and random access.
  25. I still think that the chipram bus is slower than it could be.
  26.  
  27. As I said many times, the implementation is not my field (I just made
  28. examples about many ways it _could_ be solved, never affirming what works
  29. and what doesn't, since I dont know what chips would be used and I dont
  30. know these chips' details), from a software developer side and hardware
  31. appassionate, I can say what is needed and what can be practically done,
  32. still not providing detailed hardware implementations.
  33.  
  34. >>Well, the chips inside my A1200 ("chipram") are much faster than
  35. >>they're supposed to be, but Alice brakes the CPU to gain from this
  36. >>speed because in fact Alice is chipram's controller.
  37.  
  38. >Not at all. The 80ns parts on the chip bus are exactly as fast as
  39. >they're supposed to be. The constraint on speed is not the normal
  40. >access time, but the timing for Alice's burst cycles. For video fetch,
  41. >Alice runs 64-bits to Lisa every 280ns. The burst cycle timing is
  42. >fairly critical, so 100ns parts would not work here.
  43.  
  44. Perhaps using a .8/.5 micron technology would allow these goals for the Walker:
  45.  
  46. # full AGA compatibility.
  47. # single chip solution.
  48. # possibility to add the AgaEXTENDER device, that does what every SVGA chip
  49.   does, and much more.
  50. # possibility to change the design of Alice's DMA controller, to allow
  51.   different chipram solutions and the possibility to select clock doubling for
  52.   the other components, to exploit the new DMA design also to increase the
  53.   RAM->RGB bandwidth, being the AgaEXTENDER able to get advantage from this.
  54. # cheaper technology than the old one actually used for AGA.
  55. # less consume (eventually for a portable AGA Amiga).
  56.  
  57. All these points would make the Walker more modern, but would not make become
  58. the A1200 obsolete.
  59.  
  60. I believe that the problem of the A1200's can't be solved in a different way
  61. than the one the AgaEXTENDER's offers, because using a SVGA board through the
  62. PCMCIA port will not be a big deal (and will be more expensive than many
  63. low-end users are disponible to afford). Of course the CPU connector is busy
  64. for a 68030 board, that anyway is still not sufficient to do on a SVGA what
  65. the SVGA doesn't do by itself (talking about games/demos/multimedia), now
  66. imagine if we've to return to the 14Mhz 68020 to use this SVGA board..
  67. A cabinet with ZorroIII slots is too much expensive.
  68.  
  69. I believe that the A1200's doesn't deserve to be considered obsolete,
  70. expecially because it's not at all (at least compared with the new Walker),
  71. thus a solution should be found, that is not keeping the A1200 as it is today
  72. though.
  73.  
  74. I proposed one, and I can show all its hidden potential to speed-up games/
  75. multimedia applications, if not (A1200 case) improving the bandwidth, surely
  76. allowing extreme semplifications in the CPU's routines, that would not have
  77. anymore to do what a raster device should do instead.
  78.  
  79. >>>It is clear that you can do better than current 7MHz chip RAM but
  80. >>>that's because RAM is faster nowadays.
  81.  
  82. >>It would be sufficient to modify the interface   CPU <->chipram<-> Alice.
  83.  
  84. >If Alice were designed in a modern process, and you ran the actual
  85. >chip bus timing from a 28MHz or 56MHz basis, rather than the 14MHz at
  86. >present, you could probably run four cycle bursts to Chip RAM in the
  87. >280ns window. Maybe CPU bursts too, though there's another problem
  88. >with memory access, and that's one of matching the cycle to the
  89. >CPU. It does you no good if you have data ready when the CPU can't
  90. >take it.
  91.  
  92. For writing this is not a problem (using a write buffer), but for reading it
  93. surely it.
  94. But there's to say that every heavy use of chipram is _expecially_ writes,
  95. while the access (as read) is most of the cases from fastram.
  96.  
  97. The write buffer would still be an important improvement. 
  98.  
  99. >The chip bus is a synchronous bus, and if you were to burst
  100. >four words out of it for a CPU cycle, you would either need a CPU that
  101. >perfectly aligned with the chip bus timing, or you would need a FIFO
  102. >device to store the fetched data for when CPU could take it. 
  103.  
  104. But in case of reads this still doesn't work, since the CPU must wait for the
  105. data, before being able to continue with the execution of the program.
  106. (we can't modify the CPU ;))
  107.  
  108. >>Maybe the "ram controller" that you wish (to multiplex data) would be more
  109. >>expensive than 2Mb of real dual access ram, this is to be examinated.
  110.  
  111. >Real dual-ported random access memory is exotic. You usually get it in
  112. >hundred-byte chips, generally used for contention-free mailboxes in
  113. >high performance multiprocessing systems. Video RAM (VRAM) is a
  114. >special purpose dual ported RAM, and it's commonly used in graphics
  115. >systems to get the video fetch activity decoupled from the "chip
  116. >bus". The AAA system supported VRAM, but it's a rather tricky thing to
  117. >support, since the video access portion is serial, not random
  118. >access. The AAA chips used a double line-buffer scheme to get around
  119. >this, but it's not a real cheap solution. More primitive graphics
  120. >systems can limit where displays live in order to simplify the
  121. >requirements for VRAM. 
  122.  
  123. >However, VRAM is expensive, since it's roughly 50% larger per cell
  124. >than DRAM. There's no inherent advantage to dual porting over other
  125. >methods. The main goal in making a faster graphics system is to speed
  126. >up the aggregrate bandwidth of the system. Dual porting can double (or
  127. >more like triple) a memory's bandwidth. But if I speed memory access
  128. >other ways, like increasing the bus size, I can get the same
  129. >advantages by time multiplexing the bus. There's nothing inherently
  130. >wrong with the way the Amiga does it, it's just dealing with
  131. >technology that began life in the mid 80s.
  132.  
  133. Re-designing the Alice's memory access circuits would solve many problems (not
  134. all) of the Walker, if there's time to do it, but the A1200 still needs another
  135. solution, and the A1200 shouldn't be declared obsolete for much time yet.
  136. IMO, the solution is to allow to the A1200 all the new modern functions needed,
  137. still providing better speed for the newer Amigas. The current bandwidth of
  138. the A1200 is sufficient for every modern game/video application needs, if we
  139. help the CPU with a programmable raster device.
  140.  
  141. >>> We already have "dual port RAM", just the multiplexing is done outside the
  142. >>> chip.
  143. >>
  144. >>This is the problem: it's performed by the 7Mhz (bus clock) of Alice.
  145.  
  146. >Alice has a 14MHz bus clock.
  147.  
  148. Alice offers 4 times the bandwidth than OCS, 2 times more using 32bit wide bus
  149. and the other 2 times more using FastPage modes. This means that the clock
  150. is doubled when Alice access to chipram, but the CPU still access with with
  151. the old 7Mhz speed. I think the real problem is CPU speed access to chipram;
  152. the chipram->RGB bandwidth is still usable for an A1200, considering that we
  153. can't change it.
  154.  
  155. >>Just think, 24Mb/sec
  156.  
  157. >Oh by the way, "24Mb/sec" means "24 megabits per second". I think you
  158. >mean 24MB/s in all your talk here...
  159.  
  160. 24Mb/sec is "megabytes", and is referred to the chipram->RGB bandwidth, simply
  161. calculated this way:
  162.  
  163. 384 low-res pixels (max overscan) * 4 (SHRES case) = 1536
  164. 312 lines in a 1/50 sec (the blank ones could be exploited for audio) = 312
  165. 8 bitplanes selectable in SHRES screens = 1
  166. number of frames/sec in this case (312 lines) = 50
  167. total = 1536*312*1*50 = 23,961,600 bytes / sec.
  168.  
  169.  
  170. >Dave Haynie          | ex-Commodore Engineering |   for DiskSalv 3 &
  171. >Sr. Systems Engineer |  Hardwired Media Company | "The Deathbed Vigil"
  172. >Scala Inc., US R&D   |    Ki No Kawa Aikido     |     info@iam.com
  173.  
  174. >         "Feeling ... Pretty ... Psyched" -R.E.M.
  175.  
  176.  
  177.  
  178.  
  179.   /-----------------------------------------------------------------------\
  180.   |  Fabio "Maverick" Bizzetti - bizzetti@mbox.vol.it - Maverick* at IRC  |
  181.   |            The maker of "CyberMan" and "Virtual Karting"              |
  182.   |              working on "VirtualRally" & "StarFighter"                |
  183.   \-----------------------------------------------------------------------/
  184.  
  185.  
  186.