From mboxrd@z Thu Jan 1 00:00:00 1970 From: Banyan He Subject: Re: KVM on NFS Date: Fri, 19 Oct 2012 22:17:28 +0800 Message-ID: <508160F8.1000700@rootong.com> References: <317CF30E-95D3-4836-9864-8B3C4F133F4B@syseleven.de> <507E8C90.2080708@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: Andrew Holway , "kvm@vger.kernel.org" To: Avi Kivity Return-path: Received: from 103-11-143-103.rev.as58436.net ([103.11.143.103]:39314 "EHLO mail.rootong.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759065Ab2JSOWy (ORCPT ); Fri, 19 Oct 2012 10:22:54 -0400 In-Reply-To: <507E8C90.2080708@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: MySQl might not run good locally on the disk in the VM. It is actually not a good idea to run it on nfs filesystem. The startup should not be a problem. Once the data grows up, it will become the problem to you. Try to cache as much as possible that would be helping you out from lots of problems. ------------ Banyan He Blog: http://www.rootong.com Email: banyan@rootong.com On 2012-10-17 6:46 PM, Avi Kivity wrote: > On 10/17/2012 11:20 AM, Andrew Holway wrote: >> Hello, >> >> I am testing KVM on an Oracle NFS box that I have. >> >> Does the list have any advice on best practice? I remember reading that there is stuff you can do with I/O schedulers and stuff to make it more efficient. >> >> My VMs will primarily be running mysql databases. I am currently using o_direct. >> > O_DIRECT is good. I/O schedulers don't affect NFS so no need to tune > anything on the host. You might experiment with switching to the > deadline scheduler in the guest. > >