Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2017 18:03:01 +0100
From:      David Chisnall <theraven@FreeBSD.org>
To:        Cy Schubert <Cy.Schubert@komquats.com>
Cc:        tech-lists <tech-lists@zyxst.net>, freebsd-current@freebsd.org
Subject:   Re: swapfile query
Message-ID:  <BAD32602-C6A9-4A82-B0CB-148D313B90D6@FreeBSD.org>
In-Reply-To: <201708191654.v7JGs8sM063853@slippy.cwsent.com>
References:  <201708191654.v7JGs8sM063853@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 19 Aug 2017, at 17:54, Cy Schubert <Cy.Schubert@komquats.com> wrote:
> 
>> 3. should total swap be 1x 2x or some other multiple of RAM these days?
> 
> Depends. If you're running some kind of database server or OLTP 
> application. Some vendors recommend no swap whatsoever while others 
> recommend some. What does your application vendor recommend?

The main advantage of swap these days (on machines with that sort of amount of RAM) is to allow you to keep some file-backed memory objects in memory in preference to leaked (or very cold) heap memory.  

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAD32602-C6A9-4A82-B0CB-148D313B90D6>