From owner-freebsd-stable@freebsd.org Mon Sep 4 14:25:21 2017 Return-Path: Delivered-To: freebsd-stable@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 280E8E0A0C2 for ; Mon, 4 Sep 2017 14:25:21 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (unknown [IPv6:2a02:b90:3002:411::3]) (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 EB2457580D for ; Mon, 4 Sep 2017 14:25:20 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6]) by constantine.ingresso.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dosJS-0007UY-6u for freebsd-stable@freebsd.org; Mon, 04 Sep 2017 14:25:18 +0000 Subject: Re: zfs, iSCSI and volmode=dev To: freebsd-stable@freebsd.org References: From: Pete French Message-ID: <203bd4d2-8c12-620a-8d0c-5c76d279174c@ingresso.co.uk> Date: Mon, 4 Sep 2017 15:25:18 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 14:25:21 -0000 > I have an iSCSI production system that exports a large number of zvols > as the iSCSI targets. System is running FreeBSD 11.0-RELEASE-p7 and > initially all of the zvols were confugured with default volmode. I've > read that it's recommended to use them in dev mode, so the system isn't > bothered with all of these geom structures, so I've switched all of the > zvols to dev mode, then I exported/imported the pools back. > Surprisingly, the performance has fallen down like 10 times (200-300 > Mbits/sec against 3-4 Gbits/sec previously). After observing for 5 > minutes the ESXes trying to boot up, and doing this extremely slowly, I > switched the volmode back to default, then again exported/imported the > pools. The performance went back to normal. I too ghave a number of zvols exportes as iscsi, and I was using dev mode util I read this. AM going to experiment with switching back to default mode to see what happens. I also use dev mode for my virtualbox drives. Am going to try and test that too and see what I get. Interesting result though... -pete.