From owner-freebsd-stable@freebsd.org Tue Nov 20 10:22:11 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9431C1109957 for ; Tue, 20 Nov 2018 10:22:11 +0000 (UTC) (envelope-from eugene@zhegan.in) Received: from elf.hq.norma.perm.ru (mail.norma.perm.ru [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DB0F684E2A for ; Tue, 20 Nov 2018 10:22:10 +0000 (UTC) (envelope-from eugene@zhegan.in) Received: from bsdrookie.norma.com. (asterisk.enaza.ru [91.237.76.254] (may be forged)) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTPS id wAKAM7cB043886 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 20 Nov 2018 15:22:08 +0500 (+05) (envelope-from eugene@zhegan.in) Subject: Re: plenty of memory, but system us intensively swapping To: freebsd-stable@freebsd.org References: <1ddb53ff-23a8-b364-0213-d8df3c7dcd3c@zhegan.in> From: "Eugene M. Zheganin" Message-ID: <192ecadf-4e66-297c-576f-f09e41ad7e29@zhegan.in> Date: Tue, 20 Nov 2018 15:22:07 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Scan-Time: 0.55 X-Rspamd-Queue-Id: DB0F684E2A X-Spamd-Result: default: False [1.68 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; NEURAL_SPAM_MEDIUM(0.43)[0.435,0]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[zhegan.in]; NEURAL_SPAM_SHORT(0.84)[0.842,0]; MX_GOOD(-0.01)[cached: mail-backup.zhegan.in]; NEURAL_SPAM_LONG(0.71)[0.710,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(0.00)[country: RU(0.01)]; ASN(0.00)[asn:57401, ipnet:2a00:7540:1::/48, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 10:22:11 -0000 Hello, On 20.11.2018 15:12, Trond Endrestøl wrote: > On freebsd-hackers the other day, > https://lists.freebsd.org/pipermail/freebsd-hackers/2018-November/053575.html, > it was suggested to set vm.pageout_update_period=0. This sysctl is at > 600 initially. > > ZFS' ARC needs to be capped, otherwise it will eat most, if not all, > of your memory. Well, as you can see, ARC ate only half, and the other half is eaten by the kernel. So far I suppose that if I will cap the ARC, the kernel will simply eat the rest. Eugene.