Page 1 of 1

Is it worth adding a swap partition?

Posted: Sun Oct 14, 2018 3:02 am
by daveyw
My A1XE has only 1 GB RAM, so I added a 1GB Swap partition. I'm not sure it ever worked or got used.

My X5000 has 2 GB RAM. Is it worth adding a swap partition, or with 2 GB being the max is this pointless?

Re: Is it worth adding a swap partition?

Posted: Sun Oct 14, 2018 11:27 pm
by K-L
With 2GB, it's useless.

Re: Is it worth adding a swap partition?

Posted: Mon Oct 22, 2018 1:27 pm
by Raziel
daveyw wrote:My A1XE has only 1 GB RAM, so I added a 1GB Swap partition. I'm not sure it ever worked or got used.

My X5000 has 2 GB RAM. Is it worth adding a swap partition, or with 2 GB being the max is this pointless?
2 GB RAM (may it be physical or "virtual" through a swap partition) is still the maximum AmigaOS4 can use.

I think it is because of the 32bit technic AmigaOS4 uses.
"More" is only possible/usable thorugh memory tricking (i think it's called "bank switching" or something like that) and it needs to be compiled into every single program...

Re: Is it worth adding a swap partition?

Posted: Mon Oct 22, 2018 8:55 pm
by daveyw
Raziel wrote: "More" is only possible/usable thorugh memory tricking (i think it's called "bank switching" or something like that) and it needs to be compiled into every single program...
Ah, bank switching. I remember that from my old Atari 130XE.

Re: Is it worth adding a swap partition?

Posted: Mon Oct 22, 2018 10:42 pm
by Raziel
Yes, someone on some other forum mentioned that this trick goes back to the early computer days.

If it helps using more than 2 GB of RAM...

Re: Is it worth adding a swap partition?

Posted: Tue Oct 23, 2018 8:13 am
by trixie
If it helps using more than 2 GB of RAM...
Exactly. Despite the technique being simple and ancient, it's better than having the extra memory completely unusable. Programs working with large data (such as a sound- or video editor) may use it as a handy storage, rather than swapping out to disk. I can certainly imagine such scenarios.

Re: Is it worth adding a swap partition?

Posted: Tue Oct 23, 2018 12:36 pm
by Raziel
trixie wrote:
If it helps using more than 2 GB of RAM...
Exactly. Despite the technique being simple and ancient, it's better than having the extra memory completely unusable. Programs working with large data (such as a sound- or video editor) may use it as a handy storage, rather than swapping out to disk. I can certainly imagine such scenarios.
I *think* it being already out in the wild, but i'm not sure if it is supported yet?
SDK support, OS support?

There's already some rudimentary information on the wiki