All of lore.kernel.org
 help / color / mirror / Atom feed
* KVM on NFS
@ 2012-10-17  9:20 Andrew Holway
  2012-10-17 10:46 ` Avi Kivity
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Holway @ 2012-10-17  9:20 UTC (permalink / raw)
  To: kvm

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.

Thanks,

Andrew




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KVM on NFS
  2012-10-17  9:20 KVM on NFS Andrew Holway
@ 2012-10-17 10:46 ` Avi Kivity
  2012-10-17 11:04   ` Andrew Holway
  2012-10-19 14:17   ` Banyan He
  0 siblings, 2 replies; 5+ messages in thread
From: Avi Kivity @ 2012-10-17 10:46 UTC (permalink / raw)
  To: Andrew Holway; +Cc: kvm

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.


-- 
error compiling committee.c: too many arguments to function

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KVM on NFS
  2012-10-17 10:46 ` Avi Kivity
@ 2012-10-17 11:04   ` Andrew Holway
  2012-10-17 11:15     ` Avi Kivity
  2012-10-19 14:17   ` Banyan He
  1 sibling, 1 reply; 5+ messages in thread
From: Andrew Holway @ 2012-10-17 11:04 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm



> 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.

Ill give it a go. Any ideas how I should be tuning my NFS?

> 
> 
> -- 
> error compiling committee.c: too many arguments to function
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KVM on NFS
  2012-10-17 11:04   ` Andrew Holway
@ 2012-10-17 11:15     ` Avi Kivity
  0 siblings, 0 replies; 5+ messages in thread
From: Avi Kivity @ 2012-10-17 11:15 UTC (permalink / raw)
  To: Andrew Holway; +Cc: kvm

On 10/17/2012 01:04 PM, Andrew Holway wrote:
> 
> 
>> 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.
> 
> Ill give it a go. Any ideas how I should be tuning my NFS?

Not really.  The defaults should work well enough.


-- 
error compiling committee.c: too many arguments to function

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KVM on NFS
  2012-10-17 10:46 ` Avi Kivity
  2012-10-17 11:04   ` Andrew Holway
@ 2012-10-19 14:17   ` Banyan He
  1 sibling, 0 replies; 5+ messages in thread
From: Banyan He @ 2012-10-19 14:17 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Andrew Holway, kvm@vger.kernel.org

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.
>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-19 14:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17  9:20 KVM on NFS Andrew Holway
2012-10-17 10:46 ` Avi Kivity
2012-10-17 11:04   ` Andrew Holway
2012-10-17 11:15     ` Avi Kivity
2012-10-19 14:17   ` Banyan He

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.