Received: from eggs.gnu.org ([2001:4830:134:3::10]:57332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bz9f2-0005rK-IS for qemu-devel@nongnu.org; Tue, 25 Oct 2016 17:53:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bz9ey-0000XE-Ll for qemu-devel@nongnu.org; Tue, 25 Oct 2016 17:53:32 -0400 Received: from mail1.bemta8.messagelabs.com ([216.82.243.194]:34037) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bz9ey-0000Wy-Ho for qemu-devel@nongnu.org; Tue, 25 Oct 2016 17:53:28 -0400 From: Ketan Nilangekar Date: Tue, 25 Oct 2016 21:53:23 +0000 Message-ID: References: <1475035789-685-1-git-send-email-ashish.mittal@veritas.com> <20160930083606.GA5411@stefanha-x1.localdomain> <1cec99e2-eb93-b897-bf7d-8ae7bd70ed17@redhat.com> <8552F2D6-EA05-452B-A90F-61BF0C213E17@veritas.com>, In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v7 RFC] block/vxhs: Initial commit to add Veritas HyperScale VxHS block device support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Stefan Hajnoczi , Ashish Mittal , "qemu-devel@nongnu.org" , "kwolf@redhat.com" , "armbru@redhat.com" , "berrange@redhat.com" , "jcody@redhat.com" , "famz@redhat.com" , Ashish Mittal , Abhijit Dey , "Venkatesha M.G." We need to confirm the perf numbers but it really depends on the way we do= failover outside qemu. We are looking at a vip based failover implementation which may need some = handling code in qnio but that overhead should be minimal (atleast no more= than the current impl in qemu driver) IMO, the real benefit of qemu + qnio perf comes from: 1. the epoll based io multiplexer 2. 8 epoll threads 3. Zero buffer copies in userland code 4. Minimal locking We are also looking at replacing the existing qnio socket code with memory= readv/writev calls available with the latest kernel for even better perfo= rmance. But again this is something that will come in the near future. For now the= existing qnio implementation can give us adequate performance even if we = need to modify it to handle vip based failover. Ketan > On Oct 25, 2016, at 1:01 PM, Paolo Bonzini wrote: >=20 >=20 >=20 >> On 25/10/2016 07:07, Ketan Nilangekar wrote: >> We are able to derive significant performance from the qemu block >> driver as compared to nbd/iscsi/nfs. We have prototyped nfs and nbd >> based io tap in the past and the performance of qemu block driver is >> significantly better. Hence we would like to go with the vxhs driver >> for now. >=20 > Is this still true with failover implemented outside QEMU (which > requires I/O to be proxied, if I'm not mistaken)? What does the benefit= > come from if so, is it the threaded backend and performing multiple > connections to the same server? >=20 > Paolo >=20 >> Ketan >>=20 >>=20 >>> On Oct 24, 2016, at 4:24 PM, Paolo Bonzini >>> wrote: >>>=20 >>>=20 >>>=20 >>>> On 20/10/2016 03:31, Ketan Nilangekar wrote: This way the >>>> failover logic will be completely out of qemu address space. We >>>> are considering use of some of our proprietary=20 >>>> clustering/monitoring services to implement service failover. >>>=20 >>> Are you implementing a different protocol just for the sake of >>> QEMU, in other words, and forwarding from that protocol to your >>> proprietary code? >>>=20 >>> If that is what you are doing, you don't need at all a vxhs driver >>> in QEMU. Just implement NBD or iSCSI on your side, QEMU already >>> has drivers for that. >>>=20 >>> Paolo