Is it worth adding a swap partition?

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
User avatar
daveyw
Posts: 252
Joined: Mon Sep 12, 2011 8:44 pm

Is it worth adding a swap partition?

Post 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?
K-L
Posts: 76
Joined: Thu Sep 08, 2011 9:35 pm
Location: Lyon, France
Contact:

Re: Is it worth adding a swap partition?

Post by K-L »

With 2GB, it's useless.
--
AmigaONE X1000 / Radeon 2400 Pro (R610LE) / AmigaOS 4.1 Final Edition
Samm440ep/733Mhs (o/c) / Radeon M9 / AmigaOS 4.1 Final Edition
Raziel

Re: Is it worth adding a swap partition?

Post 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...
User avatar
daveyw
Posts: 252
Joined: Mon Sep 12, 2011 8:44 pm

Re: Is it worth adding a swap partition?

Post 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.
Raziel

Re: Is it worth adding a swap partition?

Post 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...
User avatar
trixie
Posts: 411
Joined: Thu Jun 30, 2011 3:54 pm
Location: Czech Republic

Re: Is it worth adding a swap partition?

Post 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.
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Raziel

Re: Is it worth adding a swap partition?

Post 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
Post Reply