Ian Collins via smartos-discuss wrote:
Greg Zartman via smartos-discuss wrote:
Are there performance issues or hits by sharing a zfs volume from the
global zone to a kvm instance?  I have several volumes being mounted
by a centos vm and performance is pretty sluggy. For example, I'm
getting itermittent loss of connection and pauses in disk read/write.
   The machine this is running on has fairly respectable hardware, so
I'm surprised to see this.

Thoughts?   Thanks!

Interesting.  I was going to run some tests with this configuration this
weekend.  I was wondering whether using an etherstub for a private LAN
would perform any better than using a IP address on the GZ.

Might be worth a try.  If you don't, I will

Well I did and the numbers don't make for pleasant reading.

I tested using bonnie++ in an Ubuntu KVM instance.

On an attached virtual drive:

Version 1.97 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP Ubuntu-14-04 16G 956 99 155466 27 40159 9 3986 0 103832 22 509.9 25
Latency             17029us     307ms     793ms     185ms 327ms     132ms
Version 1.97 ------Sequential Create------ --------Random Create-------- Ubuntu-14-04 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 32313 83 +++++ +++ +++++ +++ 31555 84 +++++ +++ +++++ +++
Latency              1056us     252us     283us     132us 45us     198us

NFS mount via an etherstub:

Version 1.97 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP Ubuntu-14-04 16G 1912 96 44931 15 26405 10 4557 93 61196 19 795.4 28
Latency              9781us   15855ms    2371ms   44658us 623ms     165ms
Version 1.97 ------Sequential Create------ --------Random Create-------- Ubuntu-14-04 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 548 6 +++++ +++ 918 13 552 6 2323 20 894 15
Latency             81724us   12634us   11561us    9828us 4848us    6129us

NFS mount via an GZ public IP:

Version 1.97 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP Ubuntu-14-04 16G 1861 96 57995 19 27129 10 4636 81 61500 19 807.4 26
Latency              4565us    5599ms    2683ms   71803us 647ms     168ms
Version 1.97 ------Sequential Create------ --------Random Create-------- Ubuntu-14-04 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 578 6 +++++ +++ 902 14 555 7 2317 19 870 12
Latency             10856us    9363us   20864us   30390us 932us    6692us

During the tests, the log devices were way more active on the attached virtual drive test than the NFS tests.

--
Ian.



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to