[OpenIndiana-discuss] Swap during install

Reginald Beardsley pulaskite at yahoo.com
Mon Sep 24 12:43:13 UTC 2012


My personal rule is 4-8x.  Disk is cheap and this facilitates keeping lots of large processes in the process table.

The correct answer depends upon how you are using the system.  Note that you can never have too much swap space, but you can have too little.

The SunOS 4.1.1 paging code would interleave a pair of identical swap partitions w/ a 30-50% improvement in performance.  I've not tested the behavior of more recent releases.  If the partitions are not identical it can slow things down instead.

Have Fun!
Reg

--- On Mon, 9/24/12, Gabriele Bulfon <gbulfon at sonicle.com> wrote:

> From: Gabriele Bulfon <gbulfon at sonicle.com>
> Subject: [OpenIndiana-discuss] Swap during install
> To: openindiana-discuss at openindiana.org
> Date: Monday, September 24, 2012, 4:22 AM
> Hi,
> I noticed that I usually have to grow the default swap
> installed by OI or XStreamOS, because the
> default text installer set up following some rules (stated
> inside the python sources):
> memory        type     
>      required    size
> --------------------------------------------------
> 900mb-1G      zvol       
>     no          0.5G
> (MIN_SWAP_SIZE)
> 1G-64G        zvol     
>       no         
> (0.5G-32G) 1/2 of memory
> 64G          zvol   
>         no       
>   32G (MAX_SWAP_SIZE)
> I find these settings very limiting, as I remember being
> told for Solaris 10 to make swap double the available RAM
> (while here it keeps it half).
> What do you suggest?
> Gabriele.
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 



More information about the OpenIndiana-discuss mailing list