In message <BAD32602-C6A9-4A82-B0CB-148D313B90D6_at_FreeBSD.org>, David Chisnall w rites: > On 19 Aug 2017, at 17:54, Cy Schubert <Cy.Schubert_at_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 o > f RAM) is to allow you to keep some file-backed memory objects in memory in p > reference to leaked (or very cold) heap memory. Memory overcommitment and the working set of each address space determines how much and what is paged out. -- Cheers, Cy Schubert <Cy.Schubert_at_cschubert.com> FreeBSD UNIX: <cy_at_FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.Received on Sat Aug 19 2017 - 17:50:30 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC