From owner-freebsd-fs@FreeBSD.ORG Thu Jun 14 10:37:17 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A629106564A for ; Thu, 14 Jun 2012 10:37:17 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 136FA8FC08 for ; Thu, 14 Jun 2012 10:37:16 +0000 (UTC) Received: by bkvi18 with SMTP id i18so1620276bkv.13 for ; Thu, 14 Jun 2012 03:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=8GPIA+8oGFaD7/4izZvPNWNdT+GezzlEMuo2vCastdY=; b=TMrf4xagDwHkl4ZrOZg/UcF9AoI85hXD2olZm47qnlBCdZ3P+jXwthgkEOB7/tQd+Z spWkxtGKra3hclLHKjDSeuf0AliAmakCxXICop3u5ISPESeoUs6d5xemzM+8YSp3eAor E6Kw3zHBrfIaKwMLrwLiopVD7KIM/d/tBG7V2DMok8OYaE/hHDWkvxR33NlAlJ2YDHW6 dJE4CUGRrDsm02gH2E5ljaTXy/IRiE6UX02O77Jn6Fvc4+UUDzc8ZzTAmxisdP+Nrsv6 1QgxwDJgdWhSCVlQahyFRyrwRm4DevebpBPTZx6qGEUBBL6m8uvpCv3nPdgqhzz5+Z3d +F2w== Received: by 10.205.139.81 with SMTP id iv17mr675890bkc.118.1339670236129; Thu, 14 Jun 2012 03:37:16 -0700 (PDT) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id n17sm6081650bkw.5.2012.06.14.03.37.11 (version=SSLv3 cipher=OTHER); Thu, 14 Jun 2012 03:37:12 -0700 (PDT) Message-ID: <4FD9BED5.7050901@gmail.com> Date: Thu, 14 Jun 2012 13:37:09 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: Alexandr Kovalenko References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: zfs list -t snapshot slow X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 10:37:17 -0000 Alexandr Kovalenko wrote: > Hello! > > I've noticed it takes pretty unreasonable amount of time to list snapshots: > > # time (zfs list -t snapshot 2>&1> /dev/null) > > real 0m4.919s > user 0m0.146s > sys 0m0.716s > > # zfs list -t snapshot | wc -l > 1838 > > kdump -f ktrace.out attached. Attachment automagically stripped. > Could anyone please advise what could cause this problem? What version are you running? There was move about that after 9.0 Release, patches should be in 8.3 and 9-STABLE. -- Sphinx of black quartz judge my vow.