Maximum swap size?

Ryan Coleman ryan.coleman at cwis.biz
Mon Jun 30 22:40:44 UTC 2008


snott wrote:
> Is there a maximum swap size limitation?  I'm using a 64-bit arch and only
> seem to get about 32GB of usable swap out of a 250GB disk (all of /dev/ad6)
>
> Thanks, Skye
>
> # uname -a
> FreeBSD XX 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008    
> root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
> # 
> # bsdlabel ad6s1
> # /dev/ad6s1:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>   b: 488392002        0      swap                    
>   c: 488392002        0    unused        0     0         # "raw" part, don't
> edit
> # 
> # swapctl -hl
> Device:       1048576-blocks      Used:
> /dev/ad4s1b         4094          0
> /dev/ad6s1b        32768          0
>
>   

My first question is, why are you partitioning more than 2x your RAM? I 
highly doubt you have 16GB of RAM.


More information about the freebsd-questions mailing list