Welcome, Guest. Please login or register.

Author Topic: Faster directory listing possible?  (Read 13693 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline djkoelkastTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2004
  • Posts: 200
    • Show only replies by djkoelkast
    • http://www.retroforum.nl
Faster directory listing possible?
« on: June 15, 2013, 04:00:12 PM »
I've got my old 3.9 bb2 installation running again. It's on a 8GB microdrive that has multiple partitions.
One of the partitions contains a LOT of folders with WHDLoad games, each folder has a game in it. When I open this partition in workbench it takes a few minutes before the listing shows. In the meantime I can't do anything else.
This partition is either in FFS of SFS, I don't quite remember, but it takes so long. Is there a way to speed up the directory listing?
I remember from older installations there was a .fastdir file that contained the listing? Never seen that on 3.9 though.
Amiga 4000/060 cybervision64, CyberSCSI MKII, AlfaData BSC MFC3 I/O, Ariadne II, OS 3.9(bb2), 2x IDE > CF 8GB Seagate Microdrive, 1x HD FDD, 1x SCSI ZIP 100

http://www.retroforum.nl
 

Offline Tenacious

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 1362
    • Show only replies by Tenacious
Re: Faster directory listing possible?
« Reply #1 on: June 15, 2013, 04:23:25 PM »
I think everything depends on what progran you're using to read the directory.

WB is slow.  Dopus is probably faster.  Ordering is (written in assembler?) much faster than Dopus.  ;)
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Faster directory listing possible?
« Reply #2 on: June 15, 2013, 05:06:09 PM »
Using Directory Opus is an excellent idea!

The other thing you should do is use PFS3 as it is very much faster than SFS at reading dirs and at the same time it uses less CPU power which means there is more cpu power available to poll that silly gawdawful IDE HD interface.

Another thing you can do to speed things up is switch to a quality SCSI DMA HD interface.

Another thing you can do is to buy a faster accelerator.


But really if you just switch to PFS3 + Directory Opus your dirs will be lightning fast.

Workbench is simply not coded for speed.   The underlying AmigaOS is fast but the Workbench.exe is sloooow.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline paul1981

Re: Faster directory listing possible?
« Reply #3 on: June 15, 2013, 05:33:51 PM »
Quote from: djkoelkast;737947
I've got my old 3.9 bb2 installation running again. It's on a 8GB microdrive that has multiple partitions.
One of the partitions contains a LOT of folders with WHDLoad games, each folder has a game in it. When I open this partition in workbench it takes a few minutes before the listing shows. In the meantime I can't do anything else.
This partition is either in FFS of SFS, I don't quite remember, but it takes so long. Is there a way to speed up the directory listing?
I remember from older installations there was a .fastdir file that contained the listing? Never seen that on 3.9 though.

Peter K's icon.library helps here: http://m68k.aminet.net/package/util/libs/IconLib_46.4

If you're not bothered about keeping the drawer icons for each game (2500 for example all in one drawer), you could always delete all the .info files for the game drawers which will make directory listings in file managers much quicker. Of course though, you will loose the ability to snapshot the drawer icon positions from within Workbench. This is okay for most people as they use a game launcher.

Check your disk buffers as well on your games partition...100 minimum, I use 300.

Even FBlit & FText helps though. The truth is, even after all the drawers have been read and the disk access has finished, it can still take AGES to sort and display the icons...so a SCSI setup won't make much of a difference...it's Workbench that's slow in sorting and displaying the drawer contents (does it still use chip ram or something? as I don't see much of a difference in fast machines compared to slower ones).
 

Offline djkoelkastTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2004
  • Posts: 200
    • Show only replies by djkoelkast
    • http://www.retroforum.nl
Re: Faster directory listing possible?
« Reply #4 on: June 15, 2013, 05:53:52 PM »
I do have a CyberSCSI MKII, but SCSI drives are noisy and expensive, that's why I'm using a microdrive currently.
Amiga 4000/060 cybervision64, CyberSCSI MKII, AlfaData BSC MFC3 I/O, Ariadne II, OS 3.9(bb2), 2x IDE > CF 8GB Seagate Microdrive, 1x HD FDD, 1x SCSI ZIP 100

http://www.retroforum.nl
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: Faster directory listing possible?
« Reply #5 on: June 15, 2013, 06:45:36 PM »
Quote from: djkoelkast;737953
I do have a CyberSCSI MKII, but SCSI drives are noisy and expensive, that's why I'm using a microdrive currently.


You are showing a CyberVision 64 so check that your sys:prefs/Workbench prefs have the gadget "Images in: Other Memory" selected. That with PeterK's icon.library will greatly accelerate icons. The 68060 version of PFS is much faster than alternative file systems for listing as mentioned.
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Re: Faster directory listing possible?
« Reply #6 on: June 15, 2013, 07:14:18 PM »
How reliable is PFS btw? (and which version?)

Anyway.. is listing entries in CLI slow too?
GUIs tend to love resources of all kinds..
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Faster directory listing possible?
« Reply #7 on: June 15, 2013, 07:29:38 PM »
PFS3AIO version from Aminet is recommended by Toni Wilen, coder of WinUAE.

Everyone in Team Chaos (except me) has been using PFS3 for many many years and they all swear by it.  Most of them tried SFS vs PFS3 and only then did they choose PFS, that was many years ago.

I have read the results of many timing tests performed by many different ppl over the years.  PFS3 FTW!
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Faster directory listing possible?
« Reply #8 on: June 15, 2013, 07:32:54 PM »
Quote from: matthey;737956
You are showing a CyberVision 64 so check that your sys:prefs/Workbench prefs have the gadget "Images in: Other Memory" selected.

+1

That will speed things up a lot.  Workbench is coded the slowest way possible so it always stores gfx in the slowest memory possible, which is just the wrong way to do things on AGA or on accelerated Amigas.


Quote

That with PeterK's icon.library will greatly accelerate icons. The 68060 version of PFS is much faster than alternative file systems for listing as mentioned.

There is a special version of PFS3 for 060?  Awesome!

060 FTW!
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: Faster directory listing possible?
« Reply #9 on: June 15, 2013, 09:02:17 PM »
Quote from: ChaosLord;737960

That will speed things up a lot.  Workbench is coded the slowest way possible so it always stores gfx in the slowest memory possible, which is just the wrong way to do things on AGA or on accelerated Amigas.


Workbench is coded in the most compatible way possible with settings and utilities to speed up and enhance the appearance.

Quote from: ChaosLord;737960

There is a special version of PFS3 for 060?  Awesome!


The original PFS3 package uploaded to Aminet has CPU specific versions. Toni's version does not but his version has a few minor bug fixes. The last regular version of PFS3 has been very stable for me though.
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Faster directory listing possible?
« Reply #10 on: June 15, 2013, 09:20:35 PM »
Quote from: matthey;737963
Workbench is coded in the most compatible way possible with settings and utilities to speed up and enhance the appearance.


I don't entirely agree with this.

If he opens his window with thousands of icons then Workbench will completely thrash the memory list and there will be thousands of memory fragments and the Amiga will be permanently slower from that point on.  If he opens and closes that window multiple times and then runs random software he is in for a crash.  Its like Workbench doesn't use memory pools at all and just bashes the OS with zillionz of malloc()/free().

I very strongly suggest that djkoelkast download TLSFmem from Aminet and install it near the top of the startup-sequence.  This will dramatically reduce the memory fragmentation and dramatically increase the speed of the Amiga and dramatically lengthen the uptime.

TLSFmem is the best utility for Amiga ever.  It greatly improves the speed of any program that performs a lot of memory allocations.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline djkoelkastTopic starter

  • Full Member
  • ***
  • Join Date: Jul 2004
  • Posts: 200
    • Show only replies by djkoelkast
    • http://www.retroforum.nl
Re: Faster directory listing possible?
« Reply #11 on: June 15, 2013, 09:47:06 PM »
I'll try all posibilities asap, my Multisync monitor is suffering from a broken cable, the cable is directly attached to the monitor so it's not possible to just take another cable :(
Amiga 4000/060 cybervision64, CyberSCSI MKII, AlfaData BSC MFC3 I/O, Ariadne II, OS 3.9(bb2), 2x IDE > CF 8GB Seagate Microdrive, 1x HD FDD, 1x SCSI ZIP 100

http://www.retroforum.nl
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Re: Faster directory listing possible?
« Reply #12 on: June 15, 2013, 10:11:35 PM »
What does TLSFmem that reduces the load?
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Faster directory listing possible?
« Reply #13 on: June 15, 2013, 10:22:57 PM »
Quote from: freqmax;737968
What does TLSFmem that reduces the load?


TLSFmem helps to prevent memory fragmentation.

Once your memory becomes fragmented then any time a program allocates memory or frees memory it then takes 100x longer or 1000x longer or 10000x longer or memory allocations FAIL completely.

It happens to everyone's computer on every OS.  That is why after running certain programs your 3Ghz computer starts running at the speed of a 50Mhz Amiga.  It has happened to me countless times.  It can be triggered by a certain flash ad or by opening a certain PDF.  PDF viewers were quite notorious for fraggling your memory on Windoze for many years.

I have had the same problem as the original poster many times.  I accidentally open a dir with Workbench that has a zillion icons and my Amiga becomes functionally unusable after that because my memory is so badly fragmented that it is totally impossible to allocate any large chunks of memory even though my memory is nearly empty.  It doesn't matter how empty your memory is.  If it is all fragmented it is completely useless.

If you are like me and you leave your computer running 24/7/365 then TLSFmem greatly speeds up your Amiga after a few days of use and greatly lengthens the uptime.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline Lurch

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 1716
    • Show only replies by Lurch
Re: Faster directory listing possible?
« Reply #14 on: June 15, 2013, 10:40:14 PM »
Windows XP is bad for doing this. Doesn't happen that often on Windows 7 unless a program has crashed. Programs that do that tend to be 3rd party badly written programs.

Most cases that I see is either the above, a badly written driver or 7 is just not setup correctly.

Have two server boxes here one with Windows 7 which has been up and running a few months now without needing a restart.

The other is Server 2008 R2 which is solid a rock (can even disable the gui if you wish)

Windows 8 doesn't seem to suffer from it, I've been running it for over year now. The only thing I dislike is the new task manager (But wont get into that).

Linux, now here's an OS that I can't kill. Had one server running for years without needing to reboot it and that's using x windows not just the shell.
-=[LurcH]=-
A500 Plus Black 030@40MHz 128MB | A1200T 060@80MHz 320MB | Pegasos II G4@1GHz 1GB  | Amiga Future Sub