From owner-freebsd-bugs@freebsd.org Thu Aug 25 06:01:25 2016 Return-Path: Delivered-To: freebsd-bugs@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 D6D2BBC56DB for ; Thu, 25 Aug 2016 06:01:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE28A1F5F for ; Thu, 25 Aug 2016 06:01:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7P61POT020448 for ; Thu, 25 Aug 2016 06:01:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 212132] [Hyper-V]Storage performance tuning for multiple threads on RAID0 Date: Thu, 25 Aug 2016 06:01:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: honzhan@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2016 06:01:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212132 Bug ID: 212132 Summary: [Hyper-V]Storage performance tuning for multiple threads on RAID0 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: honzhan@microsoft.com The storage performance for FreeBSD on Hyper-V was almost half of Linux on Hyper-V for FIO multiple threads test. But for single thread, the performan= ce is almost the same as Linux. After analysis, there are two potential performance bugs: (1) IO max request queue is too short: 128 on FreeBSD, but on Linux it is m= ore than 1000. (2) The policy of outgoing channel selection has issues. It caused almost a= ll of the workload to run on some of channels, while the other channels are id= le. Before the fix, the performance comparison with LIS is as follows. For rand= om write, the performance of BIS is only 1/3 of LIS. 4k 8th randread randwrite read wri= te=20=20=20 IOdepth LIS 4k BIS 4k LIS 4k BIS 4k LIS 4k BIS 4k LIS 4k BIS 4k '1' 2749 1920.12 4551 2855.11 8100 4263.65 8230 4301.47 '16' 8333 6981.78 6656 4671.84 8161 8242.97 8588 8300.11 '32' 8274 2532.7 6642 1885.82 8160 2559.84 8526 2454.99 '64' 8295 2697.35 6621 2007.61 8172 2666.58 8459 2508.46 '128' 8298 2777.12 6429 2049.26 8197 2578.55 8267 2708.39 --=20 You are receiving this mail because: You are the assignee for the bug.=