From owner-freebsd-fs@freebsd.org Mon Jun 19 22:24:53 2017 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 7F00FDA60CC for ; Mon, 19 Jun 2017 22:24:53 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wr0-x229.google.com (mail-wr0-x229.google.com [IPv6:2a00:1450:400c:c0c::229]) (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 2EC692123 for ; Mon, 19 Jun 2017 22:24:53 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wr0-x229.google.com with SMTP id y25so42708415wrd.2 for ; Mon, 19 Jun 2017 15:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=RgIygCDVcxa5esqhSZ4h/lsvaaIFg3umh/y/HLCrmOQ=; b=0pVlmMV6Fms9trZvBJ5gPoWdSJwplsTetyE7qrsp6JpvIaHUS0joY9NW7A4PRMVKwH Clyid9bzzeQcJ++/b1mov2T3i5vNZ2OiAUl6hQtqj+ziq6exwHF4VqZBsOQHhkXBB1Lb Oq7z+DwVvWM+vgy9eYWjfvxLeQAcbLdo2tg+nIDAsmsgkWDr43sov7jbkyFcjPWrr8WE AWMq1pPOS0vtCwSM+JS3xnygYHWITMy9sAzuJVqJk8t3cnA/vKJOcJP+x5Vb0FhLLMnf 6rFXSvOjYcOcgh6gZhruZfMH31IQ4tbXDOdVwx3le3pnDomYWNJ6t4Ee7UjAQZuqNY+z bndA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=RgIygCDVcxa5esqhSZ4h/lsvaaIFg3umh/y/HLCrmOQ=; b=Sno22Wa4jp5hWJ81oSGAXgu4uv9Gbcm1EPSYZOm6+hhfwuKmOyZwTfymk6natgRZwg G1cSZKpeQ7dGgcxg6L56SRbhGxBIjZU4aTbo1AhVb2+uFCIK9+Z0oBrwASpPnsVY50Bg r6YCEc9Azz0JGClsNoNQRpmXjsRIOFAOys8r2CwUHgGvagaQfo1TMdZCde1h5tmjueDm 7qU3wuGrw1MXk6C3RrfiosjrAH6+gVi4fIHHudWWmD2KhX+J3hHBKUR2UPS+n/IBKojc bjfoAeHOitmTPdOsqMDnRv/3aE1pSADeXz0eVbz5SMEzWGQThQmZLT2k43ce+E1u8aou 4ZuQ== X-Gm-Message-State: AKS2vOxNwcUNzCpbjHsOiXUutIGt1KhDE3aHKZTRzM2zMD3zz/smZzO1 GTk7nLV87LnLL5E+N/Ao1A== X-Received: by 10.223.134.157 with SMTP id 29mr842225wrx.157.1497911091028; Mon, 19 Jun 2017 15:24:51 -0700 (PDT) Received: from [10.10.1.111] ([185.97.61.15]) by smtp.gmail.com with ESMTPSA id l17sm5860822wre.25.2017.06.19.15.24.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jun 2017 15:24:50 -0700 (PDT) Subject: Re: FreeBSD 11.1 Beta 2 ZFS performance degradation on SSDs To: freebsd-fs@freebsd.org References: From: Steven Hartland Message-ID: <27c6a211-e2d6-2f40-6bb0-469ce7a42bb6@multiplay.co.uk> Date: Mon, 19 Jun 2017 23:24:49 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Mon, 19 Jun 2017 22:24:53 -0000 vfs.zfs.min_auto_ashift is a sysctl only its not a tuneable, so setting i= t in /boot/loader.conf won't have any effect. There's no need for it to be a tuneable as it only effects vdevs when the= y are created, which an only be done once the system is running. You don't explain why you believe there is degrading performance? What is the exact dd command your running as that can have a huge impact = on performance. On 19/06/2017 23:14, Caza, Aaron wrote: > I've been having a problem with FreeBSD ZFS SSD performance inexplicab= ly degrading after < 24 hours uptime as described in a separate e-mail t= hread. In an effort to get down to basics, I've now performed a ZFS-on-R= oot install of FreeBSD 11.1 Beta 2 amd64 using the default Auto(ZFS) inst= all using the default 4k sector emulation (vfs.zfs.min_auto_ashift=3D12) = setting (no swap, not encrypted). > > Firstly, the vfs.zfs.min_auto_ashift=3D12 is set correctly in the /boot= /loader.conf file, but doesn't appear to work because when I log in and d= o "systctl -a | grep min_auto_ashift" it's set to 9 and not 12 as expecte= d. I tried setting it to vfs.zfs.min_auto_ashift=3D"12" in /boot/loader.= conf but that didn't make any difference so I finally just added it to /e= tc/sysctl.conf where it seems to work. So, something needs to be changed= to make this functionaly work correctly. > > Next, after reboot I was expecting somewhere in the neighborhood of 950= MB/s from the ZFS mirrored zpool of 2 Samsung 850 Pro 256GB SSDs that I'm= using as I was previously seeing this before with my previous FreeBSD 11= -Stable setup which, admittedly, is a different from the way the bsdinsta= ll script does it. However, I'm seeing half that on bootup. > > Performance result: > Starting 'dd' test of large file...please wait > 16000+0 records in > 16000+0 records out > 16777216000 bytes transferred in 37.407043 secs (448504207 bytes/sec) > > Zpool Status: > pool: zroot > state: ONLINE > scan: none requested > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > ada0p2 ONLINE 0 0 0 > ada1p2 ONLINE 0 0 0 > > /boot/loader.conf: > kern.geom.label.disk_ident.enable=3D"0" > kern.geom.label.gptid.enable=3D"0" > vfs.zfs.min_auto_ashift=3D12 > vfs.zfs.arc_min=3D"50M" > vfs.zfs.arc_max=3D"51M" > zfs_load=3D"YES" > > /etc/sysctl.conf: > vfs.zfs.min_auto_ashift=3D12 > > > Is this the expected behavior now in FreeBSD 11.1? > > -- > Aaron > This message may contain confidential and privileged information. If it= has been sent to you in error, please reply to advise the sender of the = error and then immediately delete it. If you are not the intended recipie= nt, do not read, copy, disclose or otherwise use this message. The sender= disclaims any liability for such unauthorized use. PLEASE NOTE that all = incoming e-mails sent to Weatherford e-mail accounts will be archived and= may be scanned by us and/or by external service providers to detect and = prevent threats to our systems, investigate illegal or inappropriate beha= vior, and/or eliminate unsolicited promotional e-mails (spam). This proce= ss could result in deletion of a legitimate e-mail before it is read by i= ts intended recipient at our organization. Moreover, based on the scannin= g results, the full text of e-mails and attachments may be made available= to Weatherford security and other personnel for review and appropriate a= ction. If you have any concerns about this process, > please contact us at dataprivacy@weatherford.com. > _______________________________________________ > 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"