Page 1 of 1

Using a ZoRAM as swap

Posted: Thu Nov 08, 2012 2:40 pm
by Rotzloeffel
Hi together,

I plan to install a ZIII Ramexpansion like Zoram into my running OS 4.1 system. Will it be recognized as swap automaticaly after the
Installation and unmounting the Hard-disk-swap?

Or is there some configuration to do to tell OS4.1 to use the ZoRam now ? Maybe in the Kicklayout ?

This is a running system! Not a new install!

Thanks in advance

Re: Using a ZoRAM as swap

Posted: Sat Nov 10, 2012 2:23 am
by Calgor
The ZorRAM will be automatically detected and used as swap.

Please read the Classic FAQ questions 7.x and 8.x which contains a lot of information:
http://forum.hyperion-entertainment.biz ... ?f=15&t=92

You can even use both ZorRAM and hard disk swap if you like (with ZorRAM being used first). Just make sure not to use up all of your address space (Classic FAQ recommends to set total of ZorRAM and HD Swap to no greater than 1GB).

Note: You have to specifically run a command (or maybe change a config) if you do not want to have it used if you have it installed, but it is well worth utilising and I see no reason for disabling except for testing (like us betatesters).

Re: Using a ZoRAM as swap

Posted: Sat Nov 10, 2012 7:40 pm
by danbeaver
To NOT use the ZorRam automatically or a SWAP partition that you have set up, you must specify it in the BOOTLOADER command. Here you can use the PUBMEM option to reserve ram you do not want swapped. On my system, I have to pay close attention to tell that memory is being swapped: it occurs at around 3 - 5 Meg's and then starts to fluctuate, never falling below this level. Some programs will refuse to load when swap memory is used. The CLI command "memstat detailed" will give you information.