First post, by BeginnerGuy
- Rank
- Oldbie
Having trouble finding an existing thread on the topic with proposed solutions so I'm opening my own for the 486 gurus. This post is a bit wordy with benchmarks but the issue is quite apparent.
I have a feeling I may need to try buying a new kit of cache sram, but in the mean time i'm curious if I should stick to write-through or write-back. I've seen some people saying to just use write-through, but eh. It's not about usable performance, the machine runs good enough, just my tweaking spirit wanting to maximize it's potential.
My score in topbench drops significantly with write-through (265) compared to write-back (303), which is odd since according to cachechk, writeback is making no difference on my l2 cache, only destroying main memory speed.
System Specs
- Genoa 486VLG-X4 Bios 2c4I9F20 11/1994
AM5x86 133 ADZ (running as DX4S @ 120mhz - 40 bus)
Cirrus Logic CL GD-5428 1MB VLB
16MB 60NS FPM (non parity / 2M X 32 in banks 2 and 4, doesn't seem to want to post if i try banks 1 and 2 per the stason guide, may have bad banks?)
256k 20ns cache (8x 32K X 8 -- I believe the tag is 16k X 8, will pull it open to check soon)
Cachechk - 486DX2 @ 66mhz
I forget the ram and cache timings
L1 cache is 8KB -- 68.9 MB/s 15.2 ns/byte (200%) (148%) 3.9 clks L2 cache is 256KB -- 46.5 MB/s 22.5 ns/byte (135% […]
L1 cache is 8KB -- 68.9 MB/s 15.2 ns/byte (200%) (148%) 3.9 clks
L2 cache is 256KB -- 46.5 MB/s 22.5 ns/byte (135%) (100%) 5.7 clks
Main memory speed -- 34.4 MB/s 30.4 ns/byte (100%) [read] 7.8 clks
Effective RAM access time (read ) is 121ns (a RAM bank is 4 bytes wide).
Effective RAM access time (write) is 61ns (a RAM bank is 4 bytes wide).
"GenuineIntel" 486 DX2 Clocked at 66.7 MHz. Cache ENABLED.
After upgrading to a 5x86 133 (board won't take it so it runs as a DX4-S @ 100mhz or 120mhz at 40 bus, I can't seem to figure out how to get the L1 in write-back either) those results drop to roughly 12-18MB/s with ~250ns read access time depending on slower,faster,fastest options in bios if I enable write-back. If I switch L2 back to write-through, the memory speed returns to normal. Note that benches are done at the faster setting because fastest will fail memtest86+ on both of my ram kits and cause constant crashes.
Cachechk Write-through 5x86 @ 120mhz
Memory settings (bios doesn't provide me with full control it seems)
DRAM Speed: Faster, 0 write WS, 1 Write CAS, write burst and slow refresh enabled
Cache Burst Read: 1T, Cache Write Cycle: 2T
L1 cache is 16KB -- 124.3 MB/s 8.4 ns/byte (335%) (185%) 3.9 clks L2 cache is 256KB -- 67.0 MB/s 15.6 ns/byte (180 […]
L1 cache is 16KB -- 124.3 MB/s 8.4 ns/byte (335%) (185%) 3.9 clks
L2 cache is 256KB -- 67.0 MB/s 15.6 ns/byte (180%) (100%) 7.2 clks
Main memory speed -- 37.1 MB/s 28.3 ns/byte (100%) [read] 13.0 clks
Effective RAM access time (read ) is 113ns (a RAM bank is 4 bytes wide).
Effective RAM access time (write) is 50ns (a RAM bank is 4 bytes wide).
"AuthenticAMD" 486 Clocked at 120.2 MHz. Cache ENABLED.
Cachechk Write-back 5x86 @ 120mhz
Same memory and cache bios settings as above bench
L1 cache is 16KB -- 124.3 MB/s 8.4 ns/byte (668%) (185%) 3.9 clks L2 cache is 256KB -- 66.9 MB/s 15.7 ns/byte (359% […]
L1 cache is 16KB -- 124.3 MB/s 8.4 ns/byte (668%) (185%) 3.9 clks
L2 cache is 256KB -- 66.9 MB/s 15.7 ns/byte (359%) (100%) 7.2 clks
Main memory speed -- 18.6 MB/s 56.4 ns/byte (100%) [read] 25.8 clks
Effective RAM access time (read ) is 225ns (a RAM bank is 4 bytes wide).
Effective RAM access time (write) is 50ns (a RAM bank is 4 bytes wide).
"AuthenticAMD" 486 Clocked at 119.9 MHz. Cache ENABLED.
Speedsys also confirms the issue so it's not just cachechk. I've tried a different kit of FPM as well, same results. I'm willing to buy some fresh cache if that may be the issue, if I do I might as well just bump it to 1024k since it's going to cost me the same as 256 or 512. I'm hesitant however because this may be a board issue or a non-issue made into an issue by benchmarks. 486 gurus enlighten me 😎
Sup. I like computers. Are you a computer?