From owner-freebsd-fs@freebsd.org Wed Oct 21 08:07:37 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 2FE72A1A279 for ; Wed, 21 Oct 2015 08:07:37 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB6B017A0 for ; Wed, 21 Oct 2015 08:07:36 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by wicll6 with SMTP id ll6so62112518wic.1 for ; Wed, 21 Oct 2015 01:07:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=nuRIeMbXTj7Fn0cEHL6xaNw8kdsPd3EOJpCdtgOuMLY=; b=UWfj2eXZyAK9Z9wAVNyM9d2XcTAtWOlPd9kGtXzHul/H6BIjoAoj8iiKZ2DVstmMyC 7u123YUc+DjXp9jpqf2I8pwIgMvFQnnFhWlZyw6r9XlXJkXSRtJ/XZsuda9pr1vkdiRM sRz7FwCgAcnVTSHIGpAdtSOzUGrX8SGSELVGTTY932MVMywH9GlsgdJzjzqF+FQJLBI5 lCMqZ0VWUZ5X/AmBK/eAJntAprN0wDr+AjJ6uBIOU7bB60YJyG6hwZHdjwqa/cYC1byo 2XKbFABxrfSSPRe7Nc+Td/CX3qh4I34Epq3h6zRQPjdSTq2AN8lFr4sKwYshTqX1H+rK nKpA== X-Gm-Message-State: ALoCoQkPTojbbs8lI9DlHh3Bhltny8CkX+nBjE+cdB1alIH58RbeYE1whks7+mdpJqenz30g5Az+ X-Received: by 10.194.178.196 with SMTP id da4mr10655879wjc.41.1445414849480; Wed, 21 Oct 2015 01:07:29 -0700 (PDT) Received: from [10.10.1.58] (liv3d.labs.multiplay.co.uk. [82.69.141.171]) by smtp.gmail.com with ESMTPSA id lv4sm8705910wjb.43.2015.10.21.01.07.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Oct 2015 01:07:28 -0700 (PDT) Subject: Re: [developer] RE: [zfs] RE: granularity of performance penalty from resilvering To: Fred Liu , Jason Matthews , "zfs@lists.illumos.org" , "zfs-discuss@list.zfsonlinux.org" , developer , freebsd-fs , zfs-discuss , "developer@lists.illumos.org" References: <5626E4B3.2020904@broken.net> From: Steven Hartland Message-ID: <562747C6.7010802@multiplay.co.uk> Date: Wed, 21 Oct 2015 09:07:34 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Wed, 21 Oct 2015 08:07:37 -0000 These are availabe on FreeBSD as well via sysctls: * vfs.zfs.resilver_delay * vfs.zfs.scrub_delay * vfs.zfs.top_maxinflight * vfs.zfs.resilver_min_time_ms Regards Steve On 21/10/2015 02:35, Fred Liu wrote: > > Yeah. I want to go the other way. Plus, these settings are only > applicable in illumos. > > Therefore I decide to give up the hybrid( ssd+sata) solution to > underpin applications which need decent RAS. > > I am gonna go all-flash array. > > Thanks. > > Fred > > *From:*Jason Matthews [mailto:jason@broken.net] > *Sent:* 星期三, 十月21, 2015 9:05 > *To:* zfs@lists.illumos.org; Fred Liu; > zfs-discuss@list.zfsonlinux.org; developer; freebsd-fs; zfs-discuss > *Subject:* Re: [zfs] RE: granularity of performance penalty from > resilvering > > > > you could look at these tunables (not the settings themselves)... > > these settings actually make resilvers have a higher priority. You > obviously would want to go the other way. > > j. > > |* Prioritize resilvering by setting the delay to zero| > |set zfs:zfs_resilver_delay = 0 | > > * Prioritize scrubs by setting the delay to zero > set zfs:zfs_scrub_delay = 0 > > |* resilver for five seconds per TXG| > |set zfs:zfs_resilver_min_time_ms = 5000| > > > |echo zfs_resilver_delay/w0 | mdb -kw| > |echo zfs_scrub_delay/w0 |mdb -kw| > |echo zfs_top_maxinflight/w7f |mdb -kw| > |echo zfs_resilver_min_time_ms/w1388 |mdb -kw| > > On 10/19/2015 11:49 PM, Fred Liu wrote: > > Yes, “zpool scrub –s” can stop the resilvering. > > *From:*Fred Liu > *Sent:* 星 期二, 十月20, 2015 12:15 > *To:* 'zfs-discuss@list.zfsonlinux.org > '; developer; illumos-zfs; > freebsd-fs; zfs-discuss > *Subject:* granularity of performance penalty from resilvering > > Sorry if is a duplicate thread. > > The last suffering has been lasted for two weeks for we replaced a > 6TB HDD. > > There should be some IO throttle measure from ZFS software stack. > At least, we can try to stop resilvering like scrubbing > > if the realization is quiet complicated. > > Besides that, will nice zil/cache be relief? > > Thanks. > > Fred > > *illumos-developer* | Archives > > > | Modify > > Your Subscription [Powered by Listbox] >