Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: AmigaMance on January 06, 2006, 01:28:30 PM

Title: "Memory defrag" patches and newer execs
Post by: AmigaMance on January 06, 2006, 01:28:30 PM
Hi.
 Since the memory allocation routines has changed in piru's exec44 and exec45 of AmigaOS to reduce memory fragmentation, i want to ask if simple memory defrag patches like fragless and fragcure are still useful or obsolete.

 Also: I've heard that these patches (or is it PoolMem?) can cause serious HD corruption with some FileSystems like PFS. Is this true?
Title: Re: "Memory defrag" patches and newer execs
Post by: AmiDude on January 06, 2006, 01:35:20 PM
@AmigaMance

I'm using FragCure on My A4000/060-OS3.9-BB2
system without any problems. It actually defragments
the memory into larger blocks. If I don't have
the FragCure command in my startup-sequence,
the memory is more fragmented. So for me it's
still useful!
 :-)
Title: Re: "Memory defrag" patches and newer execs
Post by: Piru on January 06, 2006, 01:41:19 PM
@AmigaMance
Quote
Since the memory allocation routines has changed in piru's exec44 and exec45 of AmigaOS to reduce memory fragmentation, i want to ask if simple memory defrag patches like fragless and fragcure are still useful or obsolete.

They are still useful.

Quote
Also: I've heard that these patches (or is it PoolMem?) can cause serious HD corruption with some FileSystems like PFS. Is this true?

That's nonsense (the often repeated claim is that poolmem  would cause corruption with pfs3). I used PoolMem and PFS3 for years, and never had any problems.

Also afaik fragless and fragcure just play with MEMF_REVERSE. That is safe for sure...
Title: Re: "Memory defrag" patches and newer execs
Post by: AmigaMance on February 14, 2006, 03:40:28 PM
 I did some tests yesterday and i got some contradictive results.
 My test was to run a program which tends to fragment my ram for a while, quit the program and then use a utility to measure the fragmentation degree of my memory. The program  (game in this case) was Heretic 2 and the frag reporting utility was AmigaLoad.
 The interesting thing was that i get a 10% of fragmentation with theb FragCure patch installed and 6% without it. Strange.. Perhaps AmigaLoad doesn't give reliable results?
Title: Re: "Memory defrag" patches and newer execs
Post by: Piru on February 14, 2006, 03:52:11 PM
@AmigaMance

I'd blame Heretic 2 rather. Does it even return all memory to system at exit?
Title: Re: "Memory defrag" patches and newer execs
Post by: AmigaMance on February 14, 2006, 04:23:32 PM
Quote
I'd blame Heretic 2 rather.
I wouldn't know but i can say that the Amiga version of the game is less than perfect.

Quote
Does it even return all memory to system at exit?
Yes. Well, almost. After i quit and do a memory flush, i have only 200kb less fast ram.