Welcome, Guest. Please login or register.

Author Topic: Filesystem super slow on directories with big/many files  (Read 3367 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show all replies
Filesystem super slow on directories with big/many files
« on: January 23, 2009, 04:10:08 AM »
I seem to remember some problems related to this but I had never experienced them.
I'm using SFS, block size 512 and all that. I opened a drawer with may files in it and the system stoped responding to file operations. After a whole bunch of time, probably more than 1 minute it got back. I opened NotePad and it spit out an out of memory message!!! The menu bar shows 30MB free or more so I wonder what da heck is going on, is there a way to fix this ? Maybe the stack ? Will tinker more with it later but would like to hear your opinions.

:pint:
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show all replies
Re: Filesystem super slow on directories with big/many files
« Reply #1 on: January 25, 2009, 12:30:02 AM »
Well, one of the advertised features of SFS is "FAST reading of directories".

Buffers were set to 80, mask to oxffffffff, don't think these are too low values (for the buffers).. as 80 corresponds to 40Kb.

I've deleted the directory meanwhile and don't really know where I got it from, it was in an old HD I had lying around, just remember it had alot of small scanned images from a text book.
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show all replies
Re: Filesystem super slow on directories with big/many files
« Reply #2 on: January 25, 2009, 01:22:35 AM »
Is PFS still for sale ? I found it using Google but would prefer to not use a pirated copy if it's still not abandonware...
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show all replies
Re: Filesystem super slow on directories with big/many files
« Reply #3 on: January 25, 2009, 02:38:56 PM »
@Damage

The SFS docs say the optimal block size is 512.
As for the huge window in RAM is that really necessary or it's just the way it works ?
Yeah, now that you mention it I've had that problem browsing my PC's files too a couple of years ago when the nr of files is huge.
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show all replies
Re: Filesystem super slow on directories with big/many files
« Reply #4 on: January 25, 2009, 05:32:17 PM »
@Framiga

Will give that a try, thanks.
I was hopping it would have a sensible config out of the box...
\\"We made Amiga, they {bleep}ed it up\\"