From owner-freebsd-fs@freebsd.org Sun Sep 4 11:42:33 2016 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 7F8B9A9DE11 for ; Sun, 4 Sep 2016 11:42:33 +0000 (UTC) (envelope-from juergen.gotteswinter@internetx.com) Received: from mx1.internetx.com (mx1.internetx.com [62.116.129.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 42334B15 for ; Sun, 4 Sep 2016 11:42:33 +0000 (UTC) (envelope-from juergen.gotteswinter@internetx.com) Received: from localhost (localhost [127.0.0.1]) by mx1.internetx.com (Postfix) with ESMTP id E7AEC4C4C85D; Sun, 4 Sep 2016 13:42:24 +0200 (CEST) X-Virus-Scanned: InterNetX GmbH amavisd-new at ix-mailer.internetx.de Received: from mx1.internetx.com ([62.116.129.39]) by localhost (ix-mailer.internetx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JobY1Iyy0ean; Sun, 4 Sep 2016 13:42:22 +0200 (CEST) Received: from ox-groupware-node01.internetx.de (ox.internetx.com [85.236.36.83]) by mx1.internetx.com (Postfix) with ESMTP id AF8654C4C85C; Sun, 4 Sep 2016 13:42:22 +0200 (CEST) Received: from ox-groupware-node01.internetx.de (localhost [127.0.0.1]) by ox-groupware-node01.internetx.de (Postfix) with ESMTP id 98CC4A1213E; Sun, 4 Sep 2016 13:42:22 +0200 (CEST) Date: Sun, 4 Sep 2016 13:42:22 +0200 (CEST) From: InterNetX - Juergen Gotteswinter To: Ben RUBSON , FreeBSD FS Message-ID: <1524067530.1937.a66cb17f-9141-4bef-b758-5bb129d16681.open-xchange@ox.internetx.com> In-Reply-To: <0E828163-AEAB-4C8C-BFCF-93D42B3DB3B6@gmail.com> References: <1472914773423.63807@kuleuven.be> <0E828163-AEAB-4C8C-BFCF-93D42B3DB3B6@gmail.com> Subject: Re: [ZFS] refquota is very slow ! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.0-Rev27 Organization: InterNetX GmbH X-Originating-Client: com.openexchange.ox.gui.dhtml X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2016 11:42:33 -0000 Did you try the same in a single local disk based pool? And pls post output of zfs get all, zdb & zpool get all > Ben RUBSON hat am 4. September 2016 um 11:28 > geschrieben: > > > Juergen & Bram, > > Thank you for your feedback. > > I then investigated further and think I found the root cause. > > No issue with refquota in my zroot pool containing (in this example) 300.000 > inodes used. > > However, refquota is terribly slow in my data pool containing around > 12.000.000 inodes used. > > I then created 12.000.000 empty file in my zroot pool, in a test dataset. > I put a refquota on this dataset and created a dd file to fulfil empty space. > And around the limit, it began to stall... > I then created an empty dataset in the same pool, refquota is even slow in > this dataset having no inode used. > The root cause seems then to be the total number of inodes used in the pool... > > Some numbers : > Time to fulfil 512MB with quota : 17s > Time to fulfil 512MB with refquota : 3m35s > > Very strange. > > Do you experience the same thing ? > > Thank you again, > > Ben > > > On 03 Sep 2016, at 16:59, Bram Vandoren wrote: > > > > I encountered the same problem over NFS. I didn't manage to reproduce it not > > using NFS. I think the userquota property works without any problem though. > > > > Cheers, > > Bram. > > > On 03 Sep 2016, at 12:26, InterNetX - Juergen Gotteswinter > > wrote: > > > > cant confirm this, works like a charm without difference to normal quota > > setting > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"