Re: Maximum Swapsize



2006/4/10, Michael Schuh <michael.schuh@xxxxxxxxx>:
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 incomparably
slow..

The old "swap size = 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
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: HELP! Installation Questions
    ... That gives enough space for the swap and leaves room for growth should more RAM be added at a later date. ... If this is server is for production use, I would use the 32-bit i386 version as it has been the longest and is the most deployed version. ... How can I get required Space when doing partition during installation? ...
    (freebsd-questions)
  • Re: three questions about Suse
    ... the swap is required before the YaST can start ... the partitioning tool). ... I see this often with SuSE installs on lowRAM machines. ... My suggestions to the OP was to first try a text install. ...
    (alt.os.linux.suse)
  • Re: trying to revive an old pc
    ... > | restart after menu for installation ... "Linux Swap" hard disk partition is approximately 192 MB. ... partition will create 188 MB swap partition for a system with 64 MB RAM. ... I encountered no problems during installation. ...
    (Fedora)
  • [opensuse] Problems installing 10.2 on 256 mb system
    ... I have a P4 system with 256 Mb of RAM. ... I have made a swap partition on the ... the installation starts to format the disks, ... it can't mount the swap. ...
    (SuSE)
  • Re: Create Linux swap
    ... The problem is YAST need swap before it starts and therefore before ... it comes to partitioning. ... machine and take it away after installation. ... Inge Svensson ...
    (alt.os.linux.suse)