Is it worth adding a swap partition?

A forum for general AmigaOS 4.x support questions that are not platform-specific

Is it worth adding a swap partition?

Postby daveyw » Sun Oct 14, 2018 4:02 am

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

Re: Is it worth adding a swap partition?

Postby K-L » Mon Oct 15, 2018 12:27 am

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

Re: Is it worth adding a swap partition?

Postby Raziel » Mon Oct 22, 2018 2:27 pm

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...
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 838
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: Is it worth adding a swap partition?

Postby daveyw » Mon Oct 22, 2018 9:55 pm

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

Re: Is it worth adding a swap partition?

Postby Raziel » Mon Oct 22, 2018 11:42 pm

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...
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 838
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: Is it worth adding a swap partition?

Postby trixie » Tue Oct 23, 2018 9:13 am

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.
Smoke me a kipper, I'll be back for breakfast!

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon R5 230 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
User avatar
trixie
 
Posts: 375
Joined: Thu Jun 30, 2011 3:54 pm
Location: Czech Republic

Re: Is it worth adding a swap partition?

Postby Raziel » Tue Oct 23, 2018 1:36 pm

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
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 838
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains


Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 9 guests