English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 25 May 2021, 03:29   #1
elz
Registered User
 
elz's Avatar
 
Join Date: Nov 2018
Location: Québec / Canada
Age: 44
Posts: 28
does kickload into fastram improve performance of libs and devs ?

This is a simple question that I never could find a simple answer yet : Does a device or library run faster if it's in FastRAM or ROM ?

I removed the ChipRAM options since it's probably slower and if you rely on ChipRAM you probably want to save it as much as possible and keep everything you can on ROM. My understanding of the amiga world and it's memory is that it's versatility is often impaired with matter of tradeoff. You can adapt it as a matter of priority to suit your need.

When it come to custom ksroms, my first though goes to iconlib. I'm sure Peter Keunecke does everything that is humanly possible to keep the footprint of it's excellent icon.library as small as possible. But when I ponder about putting it in a custom rom, I can't help but wonder if it would make it display the icons slower ?

Do you have experience, similar thread/post or benchmark to share about it ? Thank you !
elz is offline  
Old 25 May 2021, 05:46   #2
Bruce Abbott
Registered User
 
Bruce Abbott's Avatar
 
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,546
Quote:
This is a simple question that I never could find a simple answer yet : Does a device or library run faster if it's in FastRAM or ROM ?
It's not such a simple question, because it depends on several factors that vary depending on the particular machine.

On a standard 16 bit Amiga (A1000/500/600/2000) the ROM and RAM are both 16 bit and run at the full CPU bus speed with no custom chip contention, so there should be no difference. However FastRAM usually has dynamic RAM chips that need refreshing, which typically steals ~1-3% of the bus cycles making it a bit slower than ROM. But the ROM routines also access RAM occasionally so the total effect will be a bit less. Bottom line is the difference is small enough that you probably won't notice.

On 16 bit machines with accelerator cards the system ROMs still run at standard 68000 bus speed, but if the FastRAM is on the faster local CPU bus it will be much quicker.

Stock A1200/3000/4000 have 32 bit ROMs (2 ROM chips) so the difference isn't that great, and their CPUs have instruction caches which also speeds up ROM access. But the CD32 only has a 16 bit ROM so copying it into FastRAM makes a big difference. Of course these machines also go a lot faster when using advanced accelerator cards with local FastRAM.

Many accelerator cards have a 'maprom' function which copies the system ROM to FastRAM on power up and then makes it appear like ROM, but much faster. On machines with 16 bit ROMs this noticeably improves the speed of system operations, including displaying icons on WorkBench.

Quote:
My understanding of the amiga world and it's memory is that it's versatility is often impaired with matter of tradeoff. You can adapt it as a matter of priority to suit your need.
The main 'tradeoff' is that ChipRAM is needed for graphics, sound, and blitter operations, and only 0.5/1/2MB is available so it is a valuable resource. Also the CPU is halted during intensive custom chip DMA operations (blitting images, high screen resolutions etc.) so it makes sense to put everything else in FastRAM if possible.

In the old days this did often result in 'impaired versatility' because FastRAM expansions were expensive and many Amiga owners were too 'poor' to afford them. That's not true now, so the only reason not to have a good amount of FastRAM today is for compatibility with buggy software that can't handle it.
Bruce Abbott is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
P-UAE Recommended settings to improve performance and prevent sound issues. qclart support.OtherUAE 2 04 February 2019 12:51
A600 4mb Fastram + A1200 Mb Fastram mikele MarketPlace 7 07 May 2012 19:28
Hardware Idea: Making use of microcode to improve 68k emulation performance HenryCase Amiga scene 5 24 December 2011 11:11
Help me to improve my Workbench Retrofan request.Other 22 08 January 2011 21:09
how can I improve my workbench maxs New to Emulation or Amiga scene 15 03 May 2003 21:47

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:18.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07532 seconds with 15 queries