Amiga.org

Amiga computer related discussion => General chat about Amiga topics => Topic started by: Ral-Clan on February 14, 2013, 05:16:34 AM

Title: Defragmenter for low-spec Amigas?
Post by: Ral-Clan on February 14, 2013, 05:16:34 AM
Hi,

Nowadays we are getting access to old and new hardware that allows us to attach what once would have been considered unthinkably large hard drives (and other storage media) to our low-spec wedge Amigas.

For instance, I just attached a 2.1GB hard drive to my A500 (SCSI) and I'm sure others have attached much larger hard drives.

After doing this, I installed my favourite defragmenting tool, ReOrg, on this Amiga.

I tested it out and it said "Not enough memory" --- reading the docs apparently it needs like 7K per MB plus some more cache RAM, etc. etc.

I had always used this tool with my A2000, which had about 50MB of RAM installed - so I never ran into this problem. It was a bit of a surprise.

I'm using an A500 with about 4MB RAM total.

So what is the tool of choice that will allow us to defrag these large volumes when attached to a low-spec Amiga?
Title: Re: Defragmenter for low-spec Amigas?
Post by: Rob on February 14, 2013, 05:42:25 AM
QuarterBack tools has a de-frag tool.
Title: Re: Defragmenter for low-spec Amigas?
Post by: ChaosLord on February 14, 2013, 07:39:48 AM
All you have to do is:
1. Copy all files over to another, empty partition.  This new partition is now defragulated.

2. You can now delete everything off the first partition, then copy everything back if you like.

Works on every Amiga with any amount of RAM.

I suggest adding some buffers using the AddBuffers command before you do your mass copy because it will speed things up a lot.  If you have the RAM you can do AddBuffers 1000 to both source and destination drives.

This idea works even better when you have 2 separate hard drives.  There is less head-thrashing that way so the copying goes much faster.

Or if you use a solid state hard drive that eliminates the head thrashing also.
Title: Re: Defragmenter for low-spec Amigas?
Post by: Crumb on February 14, 2013, 09:09:23 AM
Quote from: ral-clan;726315
Hi,

Nowadays we are getting access to old and new hardware that allows us to attach what once would have been considered unthinkably large hard drives (and other storage media) to our low-spec wedge Amigas.

For instance, I just attached a 2.1GB hard drive to my A500 (SCSI) and I'm sure others have attached much larger hard drives.

After doing this, I installed my favourite defragmenting tool, ReOrg, on this Amiga.

I tested it out and it said "Not enough memory" --- reading the docs apparently it needs like 7K per MB plus some more cache RAM, etc. etc.

I had always used this tool with my A2000, which had about 50MB of RAM installed - so I never ran into this problem. It was a bit of a surprise.

I'm using an A500 with about 4MB RAM total.

So what is the tool of choice that will allow us to defrag these large volumes when attached to a low-spec Amiga?


Chaos Lord method is very compatible and effective if you have enough space. In case you don't have space and use FFS/OFS ReOrg worked nicely with my miggies (don't use it with HDs bigger than 4GB!)
Title: Re: Defragmenter for low-spec Amigas?
Post by: gertsy on February 14, 2013, 10:21:31 AM
Shhhh! don't tell everybody. A lot of people think HD fragmentation is only a Windows problem.
Title: Re: Defragmenter for low-spec Amigas?
Post by: haywirepc on February 14, 2013, 10:41:50 AM
Generally it is... I've never defragged an amiga hard drive, never knew I needed to, I guess my amigas had very small hd's and  stay pretty clean, never saw it as a prob.

No defrag probs on linux...

:laugh1:
Title: Re: Defragmenter for low-spec Amigas?
Post by: polyp2000 on February 14, 2013, 10:45:29 AM
Are there any alternative file systems for the Amiga that do not require defrag?

N.
Title: Re: Defragmenter for low-spec Amigas?
Post by: Crumb on February 14, 2013, 12:25:17 PM
Quote from: polyp2000;726338
Are there any alternative file systems for the Amiga that do not require defrag?

N.


"PFS3 AIO" would be perfect, it's compatible with 68000 and OS1.3, autoselects scsi-direct, TD64 and NSD64... Toni Willen did an outstanding job :-)

http://aminet.net/package/disk/misc/pfs3aio
Title: Re: Defragmenter for low-spec Amigas?
Post by: bloodline on February 14, 2013, 12:47:03 PM
Quote from: ChaosLord;726321

Or if you use a solid state hard drive that eliminates the head thrashing also.


If you use Solid State media, then forget about fragmentation. It it not an issue for these devices as there is no physical difference where the blocks that make up the file are stored. Contiguous or as far apart as the physical media allows, the time to select a block will be te same.
Title: Re: Defragmenter for low-spec Amigas?
Post by: Ral-Clan on February 14, 2013, 12:59:32 PM
Quote from: Crumb;726326
Chaos Lord method is very compatible and effective if you have enough space. In case you don't have space and use FFS/OFS ReOrg worked nicely with my miggies (don't use it with HDs bigger than 4GB!)


But as I said in my first post, ReOrg says it's out of memory on my 4MB RAM A500 (2MB CHIP 2MB FAST).
Title: Re: Defragmenter for low-spec Amigas?
Post by: ChaosLord on February 14, 2013, 02:12:57 PM
Quote from: bloodline;726342
If you use Solid State media, then forget about fragmentation. It it not an issue for these devices as there is no physical difference where the blocks that make up the file are stored. Contiguous or as far apart as the physical media allows, the time to select a block will be te same.


100% True.  Fragmentation does not hurt Flash drives.
Title: Re: Defragmenter for low-spec Amigas?
Post by: psxphill on February 14, 2013, 03:15:28 PM
Quote from: ChaosLord;726362
100% True. Fragmentation does not hurt Flash drives.

While they don't have to deal with rotational delay or seek time, some file systems will have a CPU overhead when dealing with fragmented files.
 
If the flash memory is connected to a decent controller then only issuing one read request is likely to be faster than issuing many.
 
Modern RAM is solid state, but can read from contiguous locations faster than random access. So it's possible that some flash memory could have similar properties.
Title: Re: Defragmenter for low-spec Amigas?
Post by: danbeaver on February 15, 2013, 01:50:45 AM
Original question: Defrag Utilities

ReOrg, B.A.D., QuarterBack Tools, AmiBack Tools

These are all available on-line if you know where to look.

B.A.D. worked on my A500 back in the old days; QBT was good; I have AmiBack Tools, but haven't used the Defrag. There are others available I can't remember.
Title: Re: Defragmenter for low-spec Amigas?
Post by: psxphill on February 15, 2013, 04:17:13 AM
Quote from: danbeaver;726429
Original question: Defrag Utilities
 
ReOrg, B.A.D., QuarterBack Tools, AmiBack Tools
 
These are all available on-line if you know where to look.

I actually wouldn't defrag an FFS partition since I had Reorg destroy my hard disk one time when it crashed half way through.
 
I'd probably just go for either SFS or PFS. Both have online defragmentation and I would trust it more.
Title: Re: Defragmenter for low-spec Amigas?
Post by: paul1981 on February 15, 2013, 08:17:29 PM
Quote from: psxphill;726439
I actually wouldn't defrag an FFS partition since I had Reorg destroy my hard disk one time when it crashed half way through.
 
I'd probably just go for either SFS or PFS. Both have online defragmentation and I would trust it more.

I'm pretty sure SFS doesn't defragment itself. It certainly didn't defragment my drive when I had two 1.6GB partitions.

I had ReOrg crash my drive as well (many years ago)...it was my own fault though, ReOrg is actually a fantastic program. :cool:
Title: Re: Defragmenter for low-spec Amigas?
Post by: psxphill on February 15, 2013, 08:33:30 PM
Quote from: paul1981;726504
I'm pretty sure SFS doesn't defragment itself. It certainly didn't defragment my drive when I had two 1.6GB partitions.

You have to run SFSdefrag.
 
http://aminet.net/package/disk/misc/SFS
 
"o FAST defragmentation routines (100% transparent built-in optimiser)"

[generic]                 7972   13024  61.2% -lh5- 0ad8 Dec 21  2006 Smartfilesystem/AmigaOS3.x/SFSdefrag

PFS defrag support isn't as good as SFS.
Title: Re: Defragmenter for low-spec Amigas?
Post by: danbeaver on February 17, 2013, 01:37:51 AM
Quote from: psxphill;726439
I actually wouldn't defrag an FFS partition since I had Reorg destroy my hard disk one time when it crashed half way through.
 
I'd probably just go for either SFS or PFS. Both have online defragmentation and I would trust it more.


Well I'm sorry to hear that, but Ral-Clan asked for help.