VOGONS


First post, by Masejoer

User metadata
Rank Newbie
Rank
Newbie

I was testing out this 486 motherboard, which has a VIA VT82C485 chipset. A DX2-66 with 128KB of L2 on this VIA board performs similar to a DX-33 with 128KB of L2 on a SiS 85C461 board, and a DX-33 with no cache on a UMC UM8498/8496 board. With a DX-33, it performs much worse than the others. The memory bandwidth is atrocious, with the same 4x4MB sticks of 30-pin simms.

I noticed that most benchmarks go down about 10% when I disable the L2 cache, but the RAM throughput nearly doubles. If I change the default BIOS settings to the slowest cache and memory values, I get a small improvement in performance in some areas, worse performance in others. The L2 cache is 4x km68257bp-20 + 1x km68257bp-20 tag.

Is this chipset just that bad with talking to memory, or is something else going on here?

It's almost like I'm getting half the clock speed, but Speedsys and L1 speeds match what I'd expect with higher clocks. Shorting the turbo pins cuts the performance further, so that's not at fault. I did need to document my own cpu speed jumper settings as the four sources online don't match what I found to actually work.

VIA VT82C485 board L2-enabled, default BIOS
12.1fps Doom full screen
26.3 3dbench 3.0
17.5fps Chris 3D
6.8 PC player 320x200
112 Topbench
25.3 Speedsys
67.8M/s L1
34.7M/s L2
9.0M/s RAM

VIA VT82C485 board L2-disable, default BIOS
11fps Doom full screen
23.2 3dbench 3.0
16.8fps Chris 3D
7.0 PC player 320x200
103 Topbench
24.0 Speedsys
67.8M/s L1
17.5M/s RAM

VIA VT82C485 board L2-enabled slowest RAM/cache settings
13fps Doom full screen
28.5 3dbench 3.0
18.2fps Chris 3D
6.4 PC player 320x200
123 Topbench
25.1 Speedsys
67.8M/s L1
34.7M/s L2
7.8M/s RAM

And attached is what I found for jumper-clock-speeds, their topbench stores, and what the internet says the jumpers are. I found this discrepancy odd.

Attachments

  • jumpers.png
    Filename
    jumpers.png
    File size
    6.93 KiB
    Views
    901 views
    File license
    Public domain

Reply 1 of 16, by maxxis486

User metadata
Rank Newbie
Rank
Newbie

I can confirm the poor memory throughput.

Got that same board running a 486DX2-50 with 4x4mb RAM.

I also just upgraded from 128kb to 256kb cache.

Just been running some quick tests so far, but here's an output of cachechk with cache enabled.

IMG_20230402_000820.jpg
Filename
IMG_20230402_000820.jpg
File size
384.85 KiB
Views
864 views
File license
CC-BY-4.0

I will repeat the test tomorrow with cache disabled. Let's see if I can confirm that behavior.

Reply 2 of 16, by Masejoer

User metadata
Rank Newbie
Rank
Newbie
maxxis486 wrote on 2023-04-01, 23:07:

I can confirm the poor memory throughput.

I know VIA had its hits and misses on socket 7, 370, and slot 1, but I wasn't expecting such a poor showing on a basic 486. This is why I picked up this board though - I wanted to see how VIA compares. I also like the look of it, with the blue overdrive-ready socket. It's one that (physically) embodies what as 486 platform was, besides the oddly low memory bandwidth. Seems it may not be worthy of a PODP5V83.

Reply 3 of 16, by maxxis486

User metadata
Rank Newbie
Rank
Newbie

I repeated cachechk with different cache BIOS settings.

Here are the results:

With L1 and L2 cache enabled:

IMG_20230402_000820~01.jpg
Filename
IMG_20230402_000820~01.jpg
File size
780.94 KiB
Views
805 views
File license
CC-BY-4.0

With L2 cache disabled in BIOS:

IMG_20230402_155559.jpg
Filename
IMG_20230402_155559.jpg
File size
1.14 MiB
Views
805 views
File license
CC-BY-4.0

With L1 and L2 cache disabled im BIOS:

IMG_20230402_163426.jpg
Filename
IMG_20230402_163426.jpg
File size
980.85 KiB
Views
805 views
File license
CC-BY-4.0

Reply 4 of 16, by Masejoer

User metadata
Rank Newbie
Rank
Newbie

I found this from a few years ago Re: More 486 L2 cache troubles - timing sometimes so slow that cache isn't worth it?

Yeah, it just seems that this board/BIOS won't be the best for performance. Even the Pentium Overdrive doesn't do the best here.

Disabling auto-config in the advanced bios settings helps a little, but it still has abysmal memory performance when L2 is enabled. Nothing else in the settings has any positive impact on performance. There are a few disabled/hidden BIOS settings available in AMISETUP, but they don't appear to have an impact when changed.

Attachments

  • fic-comparisons.png
    Filename
    fic-comparisons.png
    File size
    31.84 KiB
    Views
    701 views
    File comment
    Benchmarks
    File license
    Public domain
  • 20230402_173649.jpg
    Filename
    20230402_173649.jpg
    File size
    659.36 KiB
    Views
    763 views
    File comment
    AMISETUP
    File license
    Public domain
  • fic-bios.png
    Filename
    fic-bios.png
    File size
    209 KiB
    Views
    777 views
    File comment
    AMI BIOS
    File license
    Public domain
Last edited by Masejoer on 2023-04-03, 17:08. Edited 1 time in total.

Reply 5 of 16, by Anonymous Coward

User metadata
Rank l33t
Rank
l33t

I agree that the FIC/VIA 486 motherboards are quite the lookers. It's too bad they're usually steaming piles.
Maybe polishing a turd was part of the marketing strategy.

What a weird company.
I once heard that there was a strong Christian influence in the company philosophy, but when you see stuff like "VIA GRAphics" it makes you wonder.

"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 6 of 16, by maxxis486

User metadata
Rank Newbie
Rank
Newbie

Well, I guess it's not so bad then that I used that board for my very first attempt on modding that infamous Dallas module.
It sure ain't pretty now, since I chose to do it with the module still on board, haha 😀

Reply 7 of 16, by douglar

User metadata
Rank Oldbie
Rank
Oldbie

Im having a very similar problem with this board: https://theretroweb.com/motherboards/s/asus-i … -486sv2-rev-3-1

The 486-66 runs like a poorly tuned 33mhz cpu and it all seems to be related to memory performance. The board is based on a SiS 85C461 chipset. All the jumpers look good.

Two strange thing stands out :
1) the L2 cache on my board is a mix of 20ns and 25ns chips.
2) the main memory is a mixed bank of simms.

Which is the most likely culprit?

Reply 8 of 16, by TheMobRules

User metadata
Rank Oldbie
Rank
Oldbie
douglar wrote on 2024-01-26, 18:21:

Which is the most likely culprit?

First I would check the turbo switch header. In ASUS boards you usually need to short those in order to run at full speed.

Otherwise I would probably blame the AMI BIOS. By analyzing the BIOS of several SiS471 based boards I found that it does not program the chipset registers correctly for setting memory/cache timings. I'm still not sure if it was done on purpose, but for example I managed to fix it on one of my boards by patching the BIOS.

In your case it's probably the same cause, considering the core for the SiS471 chipset is heavily based on its predecessors, the SiS460 and SiS461. Later on I'll try to post a link to the thread where I documented these findings.

Reply 9 of 16, by rasz_pl

User metadata
Rank l33t
Rank
l33t

I seem to remember a thread here on Vogons about cache mod where adding ?bigger TAG ram? to store some ?dirty? bit fixed bad main ram speed with L2 enabled? Maybe someone will know what Im babbling about 😀

Open Source AT&T Globalyst/NCR/FIC 486-GAC-2 proprietary Cache Module reproduction

Reply 10 of 16, by kingcake

User metadata
Rank Oldbie
Rank
Oldbie
rasz_pl wrote on 2024-01-26, 22:24:

I seem to remember a thread here on Vogons about cache mod where adding ?bigger TAG ram? to store some ?dirty? bit fixed bad main ram speed with L2 enabled? Maybe someone will know what Im babbling about 😀

This makes sense to me. Several 486 boards/chipsets had cacheable area problems. Often increasing the cache/decreasing ram fixed the drop in ram throughput when L2 was present. Back in the day many referred to it as a bug. ACC Micro chipsets in Packard Bells often had this problem.

Reply 11 of 16, by Masejoer

User metadata
Rank Newbie
Rank
Newbie
kingcake wrote on 2024-01-26, 23:48:
rasz_pl wrote on 2024-01-26, 22:24:

I seem to remember a thread here on Vogons about cache mod where adding ?bigger TAG ram? to store some ?dirty? bit fixed bad main ram speed with L2 enabled? Maybe someone will know what Im babbling about 😀

This makes sense to me. Several 486 boards/chipsets had cacheable area problems. Often increasing the cache/decreasing ram fixed the drop in ram throughput when L2 was present. Back in the day many referred to it as a bug. ACC Micro chipsets in Packard Bells often had this problem.

Worth a try. I have rows of tested-good IS61C1024 chips now days to use in motherboards. And a few dozen bad ones.

A proper 486 has 256KB of L2 imo, but increasing it is a good test.

16MB of RAM isn't a lot for my own testing of the FIC board though.

Reply 12 of 16, by douglar

User metadata
Rank Oldbie
Rank
Oldbie
TheMobRules wrote on 2024-01-26, 22:13:
First I would check the turbo switch header. In ASUS boards you usually need to short those in order to run at full speed. […]
Show full quote
douglar wrote on 2024-01-26, 18:21:

Which is the most likely culprit?

First I would check the turbo switch header. In ASUS boards you usually need to short those in order to run at full speed.

Otherwise I would probably blame the AMI BIOS. By analyzing the BIOS of several SiS471 based boards I found that it does not program the chipset registers correctly for setting memory/cache timings. I'm still not sure if it was done on purpose, but for example I managed to fix it on one of my boards by patching the BIOS.

In your case it's probably the same cause, considering the core for the SiS471 chipset is heavily based on its predecessors, the SiS460 and SiS461. Later on I'll try to post a link to the thread where I documented these findings.

I tried disabling the L2 cache and that slowed it down even more, so I think this is a different issue than the OP in this thread.

I'll check the turbo switch in the morning. I tried setting the board to 40Mhz FSB and that improved things so that it ran with the performance of a 33Mhz CPU. The fact that I got it to run at all at that speed with a 5v DX2-66 CPU makes me think that it could be running at a reduced clock speed, so you might be onto something with the turbo switch

Reply 13 of 16, by rasz_pl

User metadata
Rank l33t
Rank
l33t
kingcake wrote on 2024-01-26, 23:48:
rasz_pl wrote on 2024-01-26, 22:24:

I seem to remember a thread here on Vogons about cache mod where adding ?bigger TAG ram? to store some ?dirty? bit fixed bad main ram speed with L2 enabled? Maybe someone will know what Im babbling about 😀

This makes sense to me. Several 486 boards/chipsets had cacheable area problems. Often increasing the cache/decreasing ram fixed the drop in ram throughput when L2 was present.

no that one, let me search .. there it is: More 486 L2 cache troubles - timing sometimes so slow that cache isn't worth it?

jakethompson1 wrote on 2020-07-19, 21:51:

With L2 disabled, CACHECHK reports 16 us/KB up to 8 KB (L1) cache, and 22 us/KB for all bigger sizes.
With L2 enabled, CACHECHK reports 16 us/KB up to 8KB, 20 us/KB from 16 to 256 KB, and 37 us/KB on anything bigger. So I'd be trading 10% faster for things in the cache for an added 68% miss penalty on anything not in the cache. Ouch!

sounds pretty similar!

and as always fantastic @mkarcher comes to the rescue with explanation:

mkarcher wrote on 2020-07-20, 05:38:

The abysmal RAM read performance with cache enabled sounds like your board operates L2 in write-back with an "always dirty" strategy. This strategy is known to be worse than write-through in most situations. A L2 cache in write-back mode can have contents that are not yet in RAM. On cache miss, the RAM needs to be updated if the L2 cache line that gets ejected has data that is not yet in RAM. This takes some time. Usually, the chipset has a single bit per cache line indicating the clean/dirty state of the cache line. Old chipsets required a separate dirty tag chip to store the dirty bit, whereas newer chipsets can (optionally) use one of the 8 data bits from the tag chip as dirty bit. You can run in write-back mode without a dirty bit, but in that case, the chipset has to assume the data is dirty on every cache miss, and needs to have the processor wait for data during the often unnecessary write-back process.

Look for an option called "tag bits: 7+1"/"tag bits: 8" or "combine tag+dirty" in AMISETUP and set it to 7+1 (7 actual tag bits, 1 dirty bit) or combine:enabled. If you don't have an option like that, try to set the L2 cache in write-through mode. Read performance of main RAM with L2 disabled should not be considerably faster than with L2 enabled and a cache miss.

saga continues in 486 cache/ram speed issue with write-back with successful bios mod enabling L2 WT mode and WB with 7+1 reclaiming lost ram speed
How to set Asus VL/I-486SV2GX4 (SiS471) into L2:Write-through mode? another one with bios mod for L2 WT
I still cant find the thread where someone whipped out his soldering iron and soldered additional TAG SRAM chip to the chipset legs.

Open Source AT&T Globalyst/NCR/FIC 486-GAC-2 proprietary Cache Module reproduction

Reply 15 of 16, by rasz_pl

User metadata
Rank l33t
Rank
l33t
douglar wrote on 2024-01-27, 02:56:

It was the asus turbo switch . My problem went away once I jumpered the turbo switch.

😀 I think in 486 generation Turbo periodically flushes L1 cache, this is way worse than just disabling L1 cache because CPU is busy writing that 8KB back to ram all the time.
"Turbo in a retro PC - explanation and repair." - Necroware https://www.youtube.com/watch?v=i9DTA81xUN0

Open Source AT&T Globalyst/NCR/FIC 486-GAC-2 proprietary Cache Module reproduction

Reply 16 of 16, by douglar

User metadata
Rank Oldbie
Rank
Oldbie
rasz_pl wrote on 2024-01-27, 03:43:
douglar wrote on 2024-01-27, 02:56:

It was the asus turbo switch . My problem went away once I jumpered the turbo switch.

😀 I think in 486 generation Turbo periodically flushes L1 cache, this is way worse than just disabling L1 cache because CPU is busy writing that 8KB back to ram all the time.
"Turbo in a retro PC - explanation and repair." - Necroware https://www.youtube.com/watch?v=i9DTA81xUN0

Could be. There was funky divot that consistantly showed at the 7KB spoton the l1 step of the cache memory graph while the turbo switch wasn’t jumpered.