Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2014 10:57:04 +0200
From:      Johan Broman <johan@bridgenet.se>
To:        Dmitry Sivachenko <trtrmitya@gmail.com>
Cc:        stable-list freebsd <freebsd-stable@freebsd.org>
Subject:   Re: What's up with the swapping since 10/stable
Message-ID:  <CE1551B9-E6D4-4160-B2C8-6F907D615EF0@bridgenet.se>
In-Reply-To: <5B77B062-F3BA-4AB4-A20A-65A599968AA9@gmail.com>
References:  <CA%2BD9QhvDsTwosUxUeL2U05dMt%2BKe6kY5BYCNjJo8e8TsfZTsXg@mail.gmail.com> <A4BE503B-ADA9-4F61-893E-79A5F30728A2@bridgenet.se> <533DB9B1.3070500@denninger.net> <CA%2BD9Qhvr%2Bny80J1zSxPNC_bH1gtvJAOxkfmLXxuiFZsRVyXQ3Q@mail.gmail.com> <20140405152855.1cfcf37c87bdff3306d0cd6c@dec.sakura.ne.jp> <5342F61B.4030006@intertainservices.com> <5B77B062-F3BA-4AB4-A20A-65A599968AA9@gmail.com>

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


On 07 Apr 2014, at 23:29, Dmitry Sivachenko <trtrmitya@gmail.com> wrote:

> 
> On 07 апр. 2014 г., at 23:01, Mike Jakubik <mike.jakubik@intertainservices.com> wrote:
> 
>> The thing is i don't use ZFS. One of my servers is running on 9-STABLE with ZFS and uses a fraction of the swap that my desktop does.
> 
> 
> See this thread:
> http://lists.freebsd.org/pipermail/freebsd-hackers/2014-April/044786.html
> 
> (especially few last messages)
> 

Thanks! Hmmm. In Linux there is the vm.swapiness parameter that dictates how the vm should prioritise swapping.  Although not perfect, is there a similar tuneable available in FreeBSD? I think it would be useful to be able to tune this as different workloads will benefit from different settings. The parameters I’m aware of are:

vm.swap_idle_enabled: 0
vm.defer_swapspace_pageouts: 0

I haven’t tried these parameters in FreeBSD 10 yet… have anyone else seen the impact of these?

Cheers
Johan

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE1551B9-E6D4-4160-B2C8-6F907D615EF0>