Welcome, Guest. Please login or register.

Author Topic: Using fastram to boost AmigaOS 3.5?  (Read 1728 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline fragmentTopic starter

  • Full Member
  • ***
  • Join Date: Dec 2002
  • Posts: 218
    • Show only replies by fragment
    • http://www.fragment.fi/
Using fastram to boost AmigaOS 3.5?
« on: January 18, 2004, 05:47:31 PM »
Okay, I've been running on this configuration for about 6 months now and I was wondering is it possible to utilise the 64MB fastram better. I have about 55-63MB fastram free depending what software I'm running.

Is it possible for example to cache the icons in directories so they don't need to be loaded from the HD everytime I reopen the directory in WB? Also, is it possible to cache the libraries in use? For example running "wget" without options always takes about 4 seconds (uses ixemul.library) and seems to load it from the HD.

I'm already running BlazeWCP and fblit. So are there any other useful patches I should install? I'm using 060+AGA and AOS 3.5 (with boingbags).
...
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: Using fastram to boost AmigaOS 3.5?
« Reply #1 on: January 18, 2004, 05:50:14 PM »
Libraries that are in use, are in memory,and normally they stay there till all
apps useing them terminate AND the user calls "avail flush".

Cacheing them makes no sense.
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Using fastram to boost AmigaOS 3.5?
« Reply #2 on: January 18, 2004, 06:00:42 PM »
Icon imagery isn't cached. Even default icons read the env:sys/def_xxx.info files.

I've often thought about a patch for the icon.library for this purpose that would store the actual image data into some sort of LRU cache that was user sizeable.

You would always have to open the icon file to access the tooltypes and so forth, but cacheing the imagery would speed it up considerably, especially if you store it in a method best suited for the graphics hardware.

You just need to make sure your cacheing mechanism can catch any changes made to the icon.

int p; // A
 

Offline chris

Re: Using fastram to boost AmigaOS 3.5?
« Reply #3 on: January 18, 2004, 06:57:20 PM »
Quote

Kronos wrote:
Libraries that are in use, are in memory,and normally they stay there till all
apps useing them terminate AND the user calls "avail flush".


OR the OS needs to allocate the memory to some other task - in which case any unused libraries are flushed.  So, they are already cached.

Rather than just caching icons, wouldn't it be better to run a disk cache patch?

Chris
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Using fastram to boost AmigaOS 3.5?
« Reply #4 on: January 18, 2004, 09:22:46 PM »
Quote

chris wrote:
Rather than just caching icons, wouldn't it be better to run a disk cache patch?

Chris


A dedicated cache for the icon image data (stored in decoded format best suited for the display) could outperform a generic disk cache considerably. On some systems, the images could even be held in VRAM, for example.
int p; // A