Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
mysql(percona) on KVM on NFS
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andrew Holway  
View profile  
 More options Nov 8 2012, 5:23 am
From: Andrew Holway <andrew.hol...@gmail.com>
Date: Thu, 8 Nov 2012 02:23:51 -0800 (PST)
Local: Thurs, Nov 8 2012 5:23 am
Subject: mysql(percona) on KVM on NFS

I have a fast ZFS/NFS box. Its very, very fast and very silky.

I've been running KVM machines on this NFS, 48 VMs on 4 servers. The
servers are Dual socket boxes (Intel E5-2670) with 144GB ram each.

I have been benchmarking the whole platform with tpcc-mysql and, when just
performing read testing (number of warehouses much smaller then my InnoDB
cache size), I saturate the CPU before the ZFS/NFS box.

Some people have suggested that running Mysql on NFS is a terrible idea.
That my database will be irreparably corrupted. They mutter something about
locking and terrible performance.

Thing is, the performance is really really great and it seems quite stable.
Can someone tell me why this is a bad idea?

Thanks,

Andrew


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gavin Towey  
View profile  
 More options Nov 8 2012, 4:14 pm
From: Gavin Towey <ga...@box.com>
Date: Thu, 8 Nov 2012 13:11:56 -0800
Local: Thurs, Nov 8 2012 4:11 pm
Subject: Re: [percona-group] mysql(percona) on KVM on NFS

Andrew,

I'm not sure who says that your data will be corrupted, that's one
complaint I haven't heard.  IMO the problems are mostly related to
operational behavior, failure modes and resource contention.

By running over NFS you introduce latency into your IO;  MySQL can be
particularly sensitive to such things.  Now, if your network may be very
fast and low latency and everything will work great, but now what happens
when someone else in your environment starts doing a massive backup and
fills up bandwidth on a link that your NFS traffic must use?  The result
will be degraded performance for your databases.

The NFS device itself becomes a new thing to fail.  If it does, then all
databases which use it will be unavailable.  You can try to make this
device more reliable in many ways, but now your operations depends on how
well you understand this other system.

Also, if you have many instances running on on NFS device, what happens
when your production environment starts sending a lot more queries or a
really IO intensive pattern of queries? They compete for resources now;  if
one does a lot of IO, it can slow down others, which makes your load issue
worse at an innopportune moment.  You wind up with the potential for
cascading type failures.

-Gavin Towey

On Thu, Nov 8, 2012 at 2:23 AM, Andrew Holway <andrew.hol...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Holway  
View profile  
 More options Nov 10 2012, 3:45 am
From: Andrew Holway <andrew.hol...@gmail.com>
Date: Sat, 10 Nov 2012 09:45:11 +0100
Local: Sat, Nov 10 2012 3:45 am
Subject: Re: [percona-group] mysql(percona) on KVM on NFS

Thanks very much for your comments. Food for thought :)

2012/11/8 Gavin Towey <ga...@box.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »