VOGONS


486DLC internal cache and Speedsys

Topic actions

Reply 40 of 45, by bloodem

User metadata
Rank Oldbie
Rank
Oldbie

Great work, @RayeR!!!

2 x PLCC-68 / 4 x PGA132 / 5 x Skt 3 / 1 x Skt 4 / 9 x Skt 7 / 12 x SS7 / 1 x Skt 8 / 14 x Slot 1 / 6 x Slot A
5 x Skt 370 / 8 x Skt A / 2 x Skt 478 / 2 x Skt 754 / 3 x Skt 939 / 7 x LGA775 / 1 x LGA1155
Current PC: Ryzen 7 9800X3D
Backup: Ryzen 7 5800X3D

Reply 41 of 45, by Tiido

User metadata
Rank l33t
Rank
l33t
mkarcher wrote on 2025-04-14, 19:38:
Tiido wrote on 2025-04-14, 19:17:

I do wonder, how hard would it be to skip the memory testing without skipping the cache testing ?

I don't think I understand what you mean. With SST478, as included in Phil's dosbench, if you press "space" while the extended memory is being tested, the "memory test" is skipped, but the throughput benchmarks, which shows the effect of the cache is still performed. Isn't that what you are asking for?

I guess I have had occasions where both tests get skipped when I have done that so I have been waiting for the extended memory test to finish, which can take some time when there's a lot of RAM...

T-04YBSC, a new YMF71x based sound card & Official VOGONS thread about it
Newly made 4MB 60ns 30pin SIMMs ~
mida sa loed ? nagunii aru ei saa 😜

Reply 42 of 45, by RiP

User metadata
Rank Member
Rank
Member

Thanks, I'll try it later 👍
But it still shows the CPU speed incorrectly.

douglar wrote on 2025-04-14, 11:42:
RayeR wrote on 2025-04-14, 00:26:

Here's the hotfix for 486DLC/SLC, so I finally got it benchmarked 😀

Lovely!

Would the screenshots be more usable for you if they were exported in GIF format?

Reply 43 of 45, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

Sure, I didn't change anything else. I neither investigated how fcpu is detected in this case, this old CPUs doesn't have nothing like TSC so there's not much exact way to determine fcpu, maybe just by running some loop...

Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA

Reply 44 of 45, by mkarcher

User metadata
Rank l33t
Rank
l33t
RayeR wrote on 2025-09-29, 04:06:

Sure, I didn't change anything else. I neither investigated how fcpu is detected in this case, this old CPUs doesn't have nothing like TSC so there's not much exact way to determine fcpu, maybe just by running some loop...

All cpu frequency mesaurement tools of that time used the programmable interval timer (Intel 8253/8254) to measure the time required to execute a fixed operation, possibly a loop. It's a well-known quirk of speedsys to get the CPU clock of Cyrix 486 processors low by a factor of 3. When I was young, I implemented a CPU speed measurement utility that executed a block of 64K NOP instructions, and assumed 3 cycles per NOP on any processor that does not have a writeable AC bit in EFLAGS, and 1 cycle per NOP on any processor that did have a writable AC bit. It worked on the small set of computers I had at hand. The idea is that NOP is specified as "3 cycles" on 8088-80386, and at "1 cycle" on the 486. Possibly, this works on the Pentium, too. Nevertheless, that algorithm will fail on the 8088, as it required 4 cycles per NOP to fetch the instructions. Just guessing: If speedsys also uses the block-of-NOP method, and if Cyrix didn't special case NOP (1 cycle) and still executes it as XCHG AX, AX (3 cycles), it would cause the symptom we observe.

Reply 45 of 45, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

Maybe, if someone interested, now it's possible to inspect the source code 😀
I understand it's tricky and lot of guessing on such old pre-CPUID CPUs...

Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA