From owner-freebsd-fs@freebsd.org Thu Jul 30 12:55:09 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17DEC9AE03A for ; Thu, 30 Jul 2015 12:55:09 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id D2F49267 for ; Thu, 30 Jul 2015 12:55:08 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:2924:7e01:7d9c:bbfe]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 69DD22DAA; Thu, 30 Jul 2015 15:55:07 +0300 (MSK) Date: Thu, 30 Jul 2015 15:55:01 +0300 From: Lev Serebryakov Reply-To: lev@FreeBSD.org Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1617907428.20150730155501@serebryakov.spb.ru> To: Konstantin Belousov CC: freebsd-fs@freebsd.org Subject: Re: ZFS on 10-STABLE r281159: programs, accessing ZFS pauses for minutes in state [*kmem arena] In-Reply-To: <20150730124829.GV2072@kib.kiev.ua> References: <164833736.20150730143008@serebryakov.spb.ru> <20150730121840.GS2072@kib.kiev.ua> <34202837.20150730153905@serebryakov.spb.ru> <20150730124829.GV2072@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 12:55:09 -0000 Hello Konstantin, Thursday, July 30, 2015, 3:48:29 PM, you wrote: >> >> rsync pauses for tens of minutes (!) after several hundreds of files. ^T >> >> and top shows state "[*kmem arena]". When I stop rsync with ^C and try to do >> >> "zfs list" it waits forever, in state "[*kmem arena]" again. >> > Show the output of sysctl debug.vmem_check. >> It is 1. > So set it to zero. It improved situation by itself, but limiting ARC to 3GiB is helped much more. Looks like, ARC auto-sizing should be tuned anyway (PR187594? It is already more than year old!) -- Best regards, Lev mailto:lev@FreeBSD.org