Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 12:56:30 +0200
From:      "Michael Schuh" <michael.schuh@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Maximum Swapsize
Message-ID:  <1dbad3150604110356m6ca0e92mee07fe59c8973b0f@mail.gmail.com>
In-Reply-To: <1dbad3150604100913hff9fc4dsb125ea541675f992@mail.gmail.com>
References:  <1dbad3150604100913hff9fc4dsb125ea541675f992@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2006/4/10, Michael Schuh <michael.schuh@gmail.com>:
> Hello @all,
>
> last weekend i have setted up an new Machine with
> 6.1-Beta4. By Installation i have made an Swappartition
> with the size of 4GB after install in runtime in top
> it sseems to me that the maximum swap-size is
> limitied to 2GB or better to INT_MAX ?
>
> At another MAchine with FreeBSD4.11 i have a
> Swap-Partition with 1GB size and an Swap-File with
> 8 GB size, all seem fine top let me show:
>
> Mem: 418M Active, 318M Inact, 193M Wired, 40M Cache, 108M Buf, 1960K Free
> Swap: 9216M Total, 257M Used, 8959M Free, 2% Inuse
>
> Is these setting correct for RELENG_6 or 6.1-Beta4,
> and get the (default) maxsize for Swap-Partitions increased?
>
> thanks for any help
>
> best regards
>
> Michael
>

It seems to me that i have me not right supressed.....

My Problem is not the way to find the "right" swapsize for me or
better for my Server with the running Applications.

My Problem was that i can't show my configured swapsize
right.......
Partitionsize for swap was 4GB
Showing Value was 2GB,

and my question (tail)  is answered by the first posting
from Kris
<kris>
Of course if you actually use this much swap your machine will be incompara=
bly
slow..

The old "swap size =3D 2x RAM" rule is no longer applicable unless you have=
 a
very special application.

IMO if you end up using more than 512MB of swap you need more RAM, or less
applications :)
</kris>

and the other was have i made any failure by
partitioning, respective labeling the disk......
or ist there any known Problem with swapsizes over 2G.

I think i have made an failure by the partitioning (bsdlabel)
the disk by right calculate the blocks for swap......

so that i can say at this time it was mostly my wrong
handling that ha sshowing me the wrong suggested value.
But if i have the Box already in my fingers i would show the
values again and double check these....i don't think that
FreeBSD has made this failure...:-) BSD can't make mistakes :-) for me

the rigth value for Swap depend on the amount of ram in
relativiness of what application should be to run.....
par example: if you running Zope and tomcat on the same Machine with
4 to 10 Plone frontends in Zope you can get running out of swap with
1GRAM and 2GSWAP...... only my experiences....


regards

michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1dbad3150604110356m6ca0e92mee07fe59c8973b0f>