What's up with the swapping since 10/stable

Johan Broman johan at bridgenet.se
Tue Apr 8 08:57:15 UTC 2014


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

> 
> On 07 апр. 2014 г., at 23:01, Mike Jakubik <mike.jakubik at 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


More information about the freebsd-stable mailing list