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>

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

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

>=20
> On 07 =D0=B0=D0=BF=D1=80. 2014 =D0=B3., at 23:01, Mike Jakubik =
<mike.jakubik@intertainservices.com> wrote:
>=20
>> 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.
>=20
>=20
> See this thread:
> =
http://lists.freebsd.org/pipermail/freebsd-hackers/2014-April/044786.html
>=20
> (especially few last messages)
>=20

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=E2=80=99m aware of are:

vm.swap_idle_enabled: 0
vm.defer_swapspace_pageouts: 0

I haven=E2=80=99t tried these parameters in FreeBSD 10 yet=E2=80=A6 have =
anyone else seen the impact of these?

Cheers
Johan=



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