From owner-freebsd-stable@FreeBSD.ORG Thu Aug 5 16:37:11 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E444D1065677 for ; Thu, 5 Aug 2010 16:37:11 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id B009A8FC19 for ; Thu, 5 Aug 2010 16:37:11 +0000 (UTC) Received: by pxi8 with SMTP id 8so2806174pxi.13 for ; Thu, 05 Aug 2010 09:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=DF221EVEXZUwGY8YOyYKtcbL6MECthS34C8H8S0CvpA=; b=E7/r9GfMpZQKK5ONan0OVS+2HrwrC8T5Fmg/onlMVS71D7ydndz5AiQbmLgkqocCC0 4ccbMN7+BTokRJH5R5udHqniK73x9z41GrpAQniFW/wyMrGIXvjO1d7ye13HCU6bYxO2 iM23Hs3YJswRrMYRJsx49IGGe2ppAGdlv9eIU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=WNJnWCCkfgIRgMKIDXJ1MyHS3rv3bbs9FvEwbX8LD9YFrnTAp1iFg19yIVtLEwIPOt MfgAZUyEz8+FixwtZI6f3oWfGc5kGfW68KMgnhb2U3MjwtkPdhwDzEkra95nIm8KdKqN Sthi9NuQ0DojM12T7VLi8GUOPofQO9skUgZWo= MIME-Version: 1.0 Received: by 10.142.207.9 with SMTP id e9mr9258141wfg.172.1281024525489; Thu, 05 Aug 2010 09:08:45 -0700 (PDT) Sender: artemb@gmail.com Received: by 10.220.176.201 with HTTP; Thu, 5 Aug 2010 09:08:45 -0700 (PDT) In-Reply-To: <201008051247.43260.alexvpetrov@gmail.com> References: <201008042008.25679.alexvpetrov@gmail.com> <20100805041752.GA89285@icarus.home.lan> <201008051247.43260.alexvpetrov@gmail.com> Date: Thu, 5 Aug 2010 09:08:45 -0700 X-Google-Sender-Auth: Ej8bbU1zbnMaNL0zPup3aQ9OXw8 Message-ID: From: Artem Belevich To: "Alex V. Petrov" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: zpool - low speed write X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 16:37:12 -0000 On Wed, Aug 4, 2010 at 9:47 PM, Alex V. Petrov wrot= e: ... >> > vfs.zfs.cache_flush_disable=3D1 >> > vfs.zfs.zil_disable=3D1 >> >> I question both of these settings, especially the latter. =A0Please remo= ve >> them both and re-test your write performance. > > I removed all settings of zfs. > Now it default. > ZFS would throttle writes if it thinks that not enough memory is available. Did you by any chance tinker with VM parameters, too? Could you post output of following commands? sysctl vm |grep kmem sysctl vfs.zfs sysctl kstat.zfs (before and after after you do some of your write speed t= ests) --Artem