From owner-freebsd-fs@freebsd.org Tue Dec 6 20:43:30 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 79EC3C6B297 for ; Tue, 6 Dec 2016 20:43:30 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wj0-x22d.google.com (mail-wj0-x22d.google.com [IPv6:2a00:1450:400c:c01::22d]) (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 0D6BB1A30 for ; Tue, 6 Dec 2016 20:43:30 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wj0-x22d.google.com with SMTP id v7so336843720wjy.2 for ; Tue, 06 Dec 2016 12:43:29 -0800 (PST) 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; bh=Fo4vYUBoOnRMFImXxAbkjc+GzK+DNhukC4eLPKoqEq8=; b=MFTZsszxP7/N8htOIb9xuMwGKyLJM1rJhpqolORQA91xZL+EgMMwtsCqvcZd4AENF7 9YI5ZIK81PEVMiSZaLj8LKJqBBZECfJS9V5AoJBNB0rBfaBc7W6dZR/K6Rk5Gt5gZkwj 7KzVDcRUAT7DWi2oCz4PqvSPIYxuubQ2ld8kXsb3Gfdd5+Me9OT8MKGprQhh0m4PIAaQ anj/OqRR+OpZ+jNtpqlEzg9Xj8HmJLpHgVvsvNA9s4Gwh6mgdsL7nQoBpAPIWZVNZ6YN 9wbL+XyVo2GTI7oGs8Noi7k1kEdF902FqgdDx6uEyLRKC7Sx4Ts9K0E1OQWb11BDWLVV 4VWQ== 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; bh=Fo4vYUBoOnRMFImXxAbkjc+GzK+DNhukC4eLPKoqEq8=; b=I7pC34QgqY6urlKqydTh79rOhit9m7M9aZYh0GV3RGLy/z0IYxZqyUZDPQGiNx7Go4 tuZWfm1k6NaM5dJhudYOkNFxRBO5U7RH270XRTlEGb2twkktL8qLloldojrhKOL9ps3i afiKM+vQZcW9aOpL3iQ2zpulPnRwIktL5Y09TRmENszvVhjifBTX2Izjnk1xvTOsjuez wmR3wAZCjwnOYgLMgUd6PxDIJs/PkitRl3hkt+rPGIhyIGaqWhdIRd/H0ki00Oh4GnyC vmkOlZxE9ewc3WUxLoE2ss39JdqAQeT420z1q1OaQsMj4gklKShmPL3lgIDcOb4TyAtj t84A== X-Gm-Message-State: AKaTC03QYp67+yzXFbiM1pN/+xlX3MHw6iQNfMnoaElIOVNH5cDxYnudaiRaS4UOD8Wlp6tv X-Received: by 10.194.107.97 with SMTP id hb1mr54505682wjb.134.1481057007973; Tue, 06 Dec 2016 12:43:27 -0800 (PST) Received: from [10.10.1.58] ([185.97.61.26]) by smtp.gmail.com with ESMTPSA id bj1sm27621634wjc.17.2016.12.06.12.43.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 12:43:26 -0800 (PST) Subject: Re: 11-STABLE vs 11.0-RELENG test To: freebsd-fs@freebsd.org References: <8b4ba98d-03d3-f671-33b2-ed12d3b4fb7c@FreeBSD.org> From: Steven Hartland Message-ID: <4fec6972-c543-00a5-0d5c-b0614311ba13@multiplay.co.uk> Date: Tue, 6 Dec 2016 20:43:57 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <8b4ba98d-03d3-f671-33b2-ed12d3b4fb7c@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: Tue, 06 Dec 2016 20:43:30 -0000 On 06/12/2016 20:26, Alexander Motin wrote: > On 06/12/2016 18:17, Alex Tutubalin wrote: >> Followup, same box as in 1st message, but with different HBA and 5 HDD: >> >> Summary: >> 1) read speed depends on 'on-disk' data, not by code used while read. >> 2) FreeBSD 11.0-releng (svn up today) creates 'fast' big files (420+ > Mb/s read >> speed) >> 3) FreeBSD 11-STABLE creates 'slow' big files. (~200 Mb/s) >> 4) zfs send slow-dataset | zfs recv (under 11.0-releng) creates >> 'intermediate' files (320Mb/s) >> 5) file copy slow-file ... (under 11.0-releng) creates fast copy > (400+Mb/s) >> So, ZFS write code in 11-STABLE looks broken. > I've reproduced this issue with quick test on my lab system configured > with 12-disk RAIDZ2 pool. I've measured write and read back (with and > without prefetch) speeds for pool recreated on different FreeBSD head > revisions: > r309625 r305456 r305330 r305322 > write 702 701 1115 1120 > read w/ pref 232 228 518 512 > read w/o pref 128 126 242 240 > > I suspect we could obtain the problem here: > > r305331 | mav | 2016-09-03 13:04:37 +0300 (сб, 03 сент. 2016) | 45 lines > > MFV r304155: 7090 zfs should improve allocation order and throttle > allocations > > I'll take closer look on that change tomorrow. > Does setting vfs.zfs.zio.dva_throttle_enabled=0 fix / improve performance? Regards Steve