Over on EAB there has been a discussion about why a 1260 was much slower than a 1230 in a particular new application. The usual "60 chip ram speed" debate was taking place when a very talented coder "paraj" discovered bypassing the MMU using the TTR improved the 1260 performance. Speculation is that address translation cache misses were causing the performance penalties on the 060 vs 030.
https://eab.abime.net/showpost.php?p=16 ... stcount=69
I don't really understand how prevalent this effect is but I thought I'd repost here in case it was interesting to anyone?
Can all registered uses please login, even just for a few minutes..
It helps build a picture where our "good traffic" is coming from..
Thanks :)
It helps build a picture where our "good traffic" is coming from..
Thanks :)
060 performance issues traced to ATC misses?
Moderators: terriblefire, Terriblefire Moderator
060 performance issues traced to ATC misses?
Senior Principal ASIC Engineer - SystemVerilog, VHDL
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
Re: 060 performance issues traced to ATC misses?
As a side note, you can also see the ATC in effect on a 68030, as I've shown many years ago:
https://www.atari-forum.com/viewtopic.p ... 10#p390410
https://www.atari-forum.com/viewtopic.p ... 10#p390410
Re: 060 performance issues traced to ATC misses?
sounds interesting butalexh wrote: Mon Dec 04, 2023 6:13 pm Over on EAB there has been a discussion about why a 1260 was much slower than a 1230 in a particular new application. The usual "60 chip ram speed" debate was taking place when a very talented coder "paraj" discovered bypassing the MMU using the TTR improved the 1260 performance. Speculation is that address translation cache misses were causing the performance penalties on the 060 vs 030.
https://eab.abime.net/showpost.php?p=16 ... stcount=69
I don't really understand how prevalent this effect is but I thought I'd repost here in case it was interesting to anyone?
Unfortunately there is an issue with EAB: "The server is too busy at the moment. Please try again later."
ATW800/2 / V4sa / Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
Re: 060 performance issues traced to ATC misses?
I couldn't read the original discussion either but that argument is quite weird -- ATC is present in both CPUs. Also, as Christian's thread on AF confirmed, 060 does not suffer from ATC cache misses that much. So most likely the test with MMU is just red herring.
Re: 060 performance issues traced to ATC misses?
The EAB server is being updated at the moment.
It's not a red herring. ATC cache misses are definitely the cause of the slowdown on the 060 platform being used to test this application.
The exact cause for the differences is not 100% understood. 030 MMU and 060 MMU are quite different animals *AND* there is no data if the MMU was even enabled and mapped on the 030 runs where it was on the 060 runs.
As I tried to explain with my wording this is an effect seen in one use of one application in one environment and is not a general statement but it is an interesting discovery for anyone wrestling with unusually low 060 performance.
It's not a red herring. ATC cache misses are definitely the cause of the slowdown on the 060 platform being used to test this application.
The exact cause for the differences is not 100% understood. 030 MMU and 060 MMU are quite different animals *AND* there is no data if the MMU was even enabled and mapped on the 030 runs where it was on the 060 runs.
As I tried to explain with my wording this is an effect seen in one use of one application in one environment and is not a general statement but it is an interesting discovery for anyone wrestling with unusually low 060 performance.
Senior Principal ASIC Engineer - SystemVerilog, VHDL
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
Re: 060 performance issues traced to ATC misses?
Does this mean it's time to sell our 060's and move to 030 cards?
Re: 060 performance issues traced to ATC misses?
Wanna swap? I'm sure I can find you an old 1230matt020 wrote: Tue Dec 05, 2023 1:45 pm Does this mean it's time to sell our 060's and move to 030 cards?
This is at worst an MMU configuration issue and at best nothing, an interesting observation.
But the question I was trying to get people to ask is if it is a configuration issue, whether it is a widespread configuration issue?
i.e. Does it affect all applications? Every AmigaOS installation that uses MMULib?
Or is it this one, unusual, application that just happens to cause lots of ATC page refreshes? Or a system that has an unusual MMU configuration?
Senior Principal ASIC Engineer - SystemVerilog, VHDL
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
Re: 060 performance issues traced to ATC misses?
All over one app? or is it numerous apps? It's just one app, isn't it?alexh wrote: Tue Dec 05, 2023 3:23 pm This is at worst an MMU configuration issue and at best nothing, an interesting observation.
Re: 060 performance issues traced to ATC misses?
That's the big question. I have no evidence but it could be numerous apps.matt020 wrote: Tue Dec 05, 2023 11:49 pm All over one app? or is it numerous apps? It's just one app, isn't it?
In the 060 world, it is normal to always install MMULibs and always have the MMU enabled to remap your kickstart and VBR to fastRAM etc.
This particular application appears to cause ATC page thrashing which results in a measurable performance loss. It's not unrealistic to wonder if the same could be happening with other applications on 060 which are being executed from MMU mapped memory when they don't need to be.
Senior Principal ASIC Engineer - SystemVerilog, VHDL
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
