VOGONS


First post, by Jed118

User metadata
Rank Oldbie
Rank
Oldbie

I've been tinkering with the M321 board, and I am in the middle of putting a full 256K cache on there (damn tag chip is soldered on, delaying my efforts) which the manual says the board supports:

http://www.rainbow-software.org/manuals/m321.html

In reading the cache configuration, I've noticed that there is an option to put in a 16 x 4 SRAM chip to enable Write Back caching. I would like to do this, however, this is the chip I found:

http://www.jameco.com/z/74189-Major-Brands-Tr … P-16_49883.html

based on some reading from this article:

https://books.google.ca/books?id=Hyl8SA1eHzIC … M%20buy&f=false

There's one on eBay here, it's DIP 16:

http://www.ebay.ca/itm/5PCS-DM74S189N-Encapsu … kQAAOSwR5dXS6p-

This is a DIP 22 package:

http://www.ebay.ca/itm/20PC-NEW-IDT-IDT7188L3 … WUAAOSwuTxWCJHr

It's damn hard to find anyone who'll sell you ONE...

According to some datasheets, these are DIP 16 packages, however, on the motherboard it is a DIP 24 socket. I'm wondering if this 16 pin DIP will work in there.

*EDIT This looks like the one: http://www.ebay.ca/itm/1-PC-SN74AS870NT-TI-16 … 6oAAOSwB09YE2Py

Anyone have any experience with these before I buy the wrong one?

Youtube channel- The Kombinator
What's for sale? my eBay!

Reply 1 of 12, by Anonymous Coward

User metadata
Rank l33t++
Rank
l33t++

If the socket has 24 pins, you'd better try to get the 24 pin chip. I am pretty sure Cypress and Micron make one.
64kx4 should also work

http://m.ebay.com/itm/1x-MICRON-MT5C2564-15-6 … %257Ciid%253A15

Last edited by Anonymous Coward on 2017-04-12, 00:57. Edited 1 time in total.

"Will the highways on the internets become more few?" -Gee Dubya
V'Ger XT|Upgraded AT|Ultimate 386|Super VL/EISA 486|SMP VL/EISA Pentium

Reply 2 of 12, by elianda

User metadata
Rank l33t
Rank
l33t

Write back will probably make it slower due to the additional latency on writes compared to write through.
There will be a gain if the cache is a lot faster than memory, but that is not the case with a 386.
Even on a 486DX2-66 write through is in most cases faster than write back.

Retronn.de - Vintage Hardware Gallery, Drivers, Guides, Videos. Now with file search
Youtube Channel
FTP Server - Driver Archive and more
DVI2PCIe alignment and 2D image quality measurement tool

Reply 3 of 12, by Jed118

User metadata
Rank Oldbie
Rank
Oldbie

That doesn't seem at ends with what I've been reading, as most of the articles I read were from Pentium 90 machines and above. The 386 has (I think) 70NS, it could be 60NS RAM, and the cache is 20NS, whereas the 16x4 I was eyeing (and the suggested 64x4) are both 15NS.

It might be worth the experimentation - First thing's first, gotta get that tag chip off the board...

Thanks for the input thus far.

Youtube channel- The Kombinator
What's for sale? my eBay!

Reply 4 of 12, by feipoa

User metadata
Rank l33t++
Rank
l33t++

The rated speed of the cache and the rated speed of memory chips do not determine the speed of memory read/write or cache read/write to the system; it is controlled by wait states imposed by the system. Faster cache/RAM can handle reduced wait states, but there is a limit to how little they can be. If your system is already stable with the lowest wait state, then replacing the cache or RAM with faster memory will not speed up the system.

I think elianda's comment was speaking from his personal experimentation experience and noticing that using write-back L2 cache on 486 systems at speeds 66 MHz and slower yielded [slightly] worse benchmark performance. Even on an AMD Am5x86-133 or 160 system, using write-back L2 cache produced only small improvements in select benchmarks.

You can view the difference in 386 RAM and L2 cache speeds in this thread, Post your 386 Speedsys results here

What I don't understand is elianda's statement about there needing to be a large delta between RAM and cache for write-back (as opposed to write-through) L2 cache to make a difference. Are you implying that the delta increases with increasing CPU speed, e.g. DX4-100/133 vs. DX33? Wouldn't it be approximately the same?

Plan your life wisely, you'll be dead before you know it.

Reply 6 of 12, by 386_junkie

User metadata
Rank Oldbie
Rank
Oldbie

When dealing with older 386's/486's... the Front Side Bus (FSB) determines really how fast your system can run and what cache you need.

If you have an FSB of 33MHz... then 1/33,000,000 = 3.03 x10 to the power of -8 = a system timing of 30ns, = 30ns cache!
If you have an FSB of 40MHz... then 1/40,000,000 = 2.50 x10 to the power of -8 = a system timing of 25ns, = 25ns cache!

At 33MHz, with 70ns DRAM simms... cache will be 2.33 times faster
At 33MHz, with 60ns DRAM simms... cache will be 2.00 times faster!

At 40MHz, with 70ns DRAM simms... cache will be 2.80 times faster
At 40MHz, with 60ns DRAM simms... cache will be 2.40 times faster!

As you decrease latency, you need faster DRAM i.e. 50ns!

EDIT: - Sorry this was meant for another thread... but is in some way applicable here too, hence why I'll leave it here.

Compaq Systempro; EISA Dual 386 ¦ Compaq Junkiepro; EISA Dual 386 ¦ ALR Powerpro; EISA Dual 386

EISA Graphic Cards ¦ EISA Graphic Card Benchmarks

Reply 7 of 12, by Anonymous Coward

User metadata
Rank l33t++
Rank
l33t++

I seem to recall when calculating the speed of the cache, you need to factor in some extra time for the address decoding.

"Will the highways on the internets become more few?" -Gee Dubya
V'Ger XT|Upgraded AT|Ultimate 386|Super VL/EISA 486|SMP VL/EISA Pentium

Reply 8 of 12, by 386_junkie

User metadata
Rank Oldbie
Rank
Oldbie
Anonymous Coward wrote:

I seem to recall when calculating the speed of the cache, you need to factor in some extra time for the address decoding.

I'm not sure about that... it may be with some IC's, you would need to check for the specific datasheet.

Generally, a full cycle is factored into the IC's rating i.e. for a 25ns cache IC... each instruction takes a portion of the 25ns... i.e. instruction 1 = 8ns (usually addressing), then instruction 2 = 5ns, instruction 3 = 8ns (usually the operation read/write)... and so on to accumulate a total of 25ns.

Just look in the later pages of an IC's datasheet... it breaks down the timings for each cycle for each IC.

Compaq Systempro; EISA Dual 386 ¦ Compaq Junkiepro; EISA Dual 386 ¦ ALR Powerpro; EISA Dual 386

EISA Graphic Cards ¦ EISA Graphic Card Benchmarks

Reply 9 of 12, by Jed118

User metadata
Rank Oldbie
Rank
Oldbie
386_junkie wrote:

When dealing with older 386's/486's... the Front Side Bus (FSB) determines really how fast your system can run and what cache you need.

If you have an FSB of 40MHz... then 1/40,000,000 = 2.50 x10 to the power of -8 = a system timing of 25ns, = 25ns cache!

At 40MHz, with 70ns DRAM simms... cache will be 2.80 times faster

Looks like I'm set up optimally then. 😁

More here:

a 386 with 256K cache? It is done and works, mostly (questions inside)

Youtube channel- The Kombinator
What's for sale? my eBay!

Reply 10 of 12, by 386_junkie

User metadata
Rank Oldbie
Rank
Oldbie
Jed118 wrote:

Looks like I'm set up optimally then. 😁

Maybe...

What is your DRAM rated at? 80, 70, 60, or 50ns?

At 25ns system speed... you'll need 4 clock cycles to accress 80ns DRAM, 3 cycles to access either 60ns or 70ns DRAM, but...

with 50ns DRAM, you'll only need 2 cycles!!! That would be really fast.

p.s. Great work with the solder job!

Compaq Systempro; EISA Dual 386 ¦ Compaq Junkiepro; EISA Dual 386 ¦ ALR Powerpro; EISA Dual 386

EISA Graphic Cards ¦ EISA Graphic Card Benchmarks

Reply 11 of 12, by Jed118

User metadata
Rank Oldbie
Rank
Oldbie

My DRAM is 70NS - I'm afraid that I have reached my wife's patience limits with spending on these old computers for now 😉 - I'm actually using up any spares I have to build a decent 386DX/40 in order to sell it - All I need now is a PSU and a video card.

Car tuning season has started, and I will already have to contend with expenses related to a new race clutch setup for an even older car than my 386 so 50NS RAM will have to wait 😁

The soldering is not too bad - I think I may have a cold solder somewhere where I had to use solid copper wire to emulate chip legs - The copper was a bit old and I had to clean it off to get it shiny, but the solder didn't really want to stick too well, hence the globbing near the last pins. I'm going to pick up a fresh 28PIN DIP socket just in case, try to find the 10th SRAM chip (I dropped it somewhere, whether at work or at home) and be ready to redo it if there is the slightest error.

Youtube channel- The Kombinator
What's for sale? my eBay!

Reply 12 of 12, by schlang

User metadata
Rank Oldbie
Rank
Oldbie

tell your wife to stfu and do whatever you want with your money 😁

PC#1: K6-III+ 400 | 512MB | Geforce4 | Voodoo1 | SB Live | AWE64 | GUS PNP Pro
PC#2: 486DX2-66 | 64MB | Riva128 | AWE64 | GUS PNP | PAS16
PC#3: 386DX-40 | 32MB | CL-GD5434 | SB Pro | GUS MAX | PAS16

Think you know your games music? Show us: viewtopic.php?f=5&t=37532