Koozali.org: home of the SME Server

e-smith swap file sizing

Boon

e-smith swap file sizing
« on: January 28, 2001, 05:11:36 PM »
I have a question on the setting of swap file size on e-smith

Is it true that the kickstart always set the swap partition to 256MB?

I was testing 4.0B4 on a 24MB P100.. and notice that the swap was 256MB.
This sounds quite strange since I guess by the time 128MB swap was used, the system would be crawling..

Besides making a floppy and editing the ks.cfg, is there any other way to perform a dynamic sizing of the swap file? In case of direct booting from CD, how do I specify the swap size?

TIA.

Gordon Rowell

Re: e-smith swap file sizing
« Reply #1 on: January 28, 2001, 06:32:28 PM »
Boon wrote:
>
> I have a question on the setting of swap file size on e-smith
>
> Is it true that the kickstart always set the swap partition
> to 256MB?

Yes. With modern disk sizes, it is a comparatively small amount to allocate.

> I was testing 4.0B4 on a 24MB P100.. and notice that the swap
> was 256MB.

Please restrict discussion of the 4.1 (not 4.0) beta series to the developers list,
as requested in the announcements.

> This sounds quite strange since I guess by the time 128MB
> swap was used, the system would be crawling..

It all depends on why the swap space is allocated. Remember that Linux
demand pages from the filesystem, but swap will be allocated to back writable
pages. Whether you ever _use_ that swap space is another issue entirely.
 
> Besides making a floppy and editing the ks.cfg, is there any
> other way to perform a dynamic sizing of the swap file? In
> case of direct booting from CD, how do I specify the swap size?

You would have to edit the KickStart config and boot from floppy, but 256Mb of
a typical disk is tiny.

Gordon

Boon

Re: e-smith swap file sizing
« Reply #2 on: January 29, 2001, 04:21:07 PM »
sorry.. my typo.. I was testing 4.1B4.

the HW I was using was kinda low end because I used it mainly as gateway.

thanks for the reply.