hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : SolusVM Xen Linux slow I/O performance.
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

SolusVM Xen Linux slow I/O performance.

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-26-2011, 05:39 AM
Cookiesowns Cookiesowns is offline
Premium Member
 
Join Date: Apr 2011
Location: Irvine, CA
Posts: 804

SolusVM Xen Linux slow I/O performance.


Hey Guys,

I have a Dual E5620 24GB Dell R410 with two WD 7.200K drives in raid-0.

I'm running Latest SolusVM using Xen HVM, and well, the linux dd performance is pretty much garbage. 15MB/s.

As for the Windows VM under the same node can get about 260/110 Sequential, and 4K QD32 is 9.5/2.5

The linux machine.


root@vps [~]# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 80.5182 seconds, 13.3 MB/s


Same test on a E3-1240 16GB, Xen HVM VM, but this volume is on a Intel 80GB G2 SSD

dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 24.7843 seconds, 43.3 MB/s

Same test on the Dual E5620 24GB host node.

dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 7.26415 seconds, 148 MB/s

Well... I'm confused.

__________________
Joseph W.
Chief Technical Officer - MultiMinecraft
Quality Minecraft hosting solutions!

Reply With Quote


Sponsored Links
  #2  
Old 12-26-2011, 10:11 AM
Flapadar Flapadar is offline
Premium Member
 
Join Date: Jun 2011
Location: Aberdeen
Posts: 2,096
Out of curiosity, why are you using RAID-0? A single failure and everything is gone. Do you need faster write access compared to RAID1?

This is from a RAID1 2x3TB 7200 rpm.

Code:
# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 20.7501 seconds, 51.7 MB/s
I can't see why your speeds are that bad though. Really should be at least 30-40MB/s, preferably higher on those specs.

Reply With Quote
  #3  
Old 12-26-2011, 10:39 AM
PCS-Chris PCS-Chris is offline
Premium Member
 
Join Date: Dec 2005
Location: Berkshire, UK
Posts: 2,857
What version of Xen?

Xen 3.1.2 is garbage for HVM..

__________________
System Administrator
» Follow me on twitter: Here

Reply With Quote
Sponsored Links
  #4  
Old 12-26-2011, 01:29 PM
Dougy Dougy is offline
Rockin' the beer gut
 
Join Date: May 2006
Location: NJ, USA
Posts: 6,034
Quote:
Originally Posted by PCS-Chris View Post
What version of Xen?

Xen 3.1.2 is garbage for HVM..
3.1.2 has a lot of backported fixes, it's not that bad, I used it for a good while.

3.4 and 4.0 and 4.1 are obviously a better choice, though.

__________________
simplywww: directadmin and cpanel hosting that will rock your socks
coming very soon: Cheapest Comodo SSL certificates on the market

Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

Reply With Quote
  #5  
Old 12-26-2011, 08:15 PM
Cookiesowns Cookiesowns is offline
Premium Member
 
Join Date: Apr 2011
Location: Irvine, CA
Posts: 804
Quote:
Originally Posted by Flapadar View Post
Out of curiosity, why are you using RAID-0? A single failure and everything is gone. Do you need faster write access compared to RAID1?

This is from a RAID1 2x3TB 7200 rpm.

Code:
# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 20.7501 seconds, 51.7 MB/s
I can't see why your speeds are that bad though. Really should be at least 30-40MB/s, preferably higher on those specs.
We're using Xen HVM 3.1.2, as that's the only version SolusVM officially supports, I tried upgrading to 4.1, but that just screwed up the bridges.

As far as data protection goes, we were running 1 drive + 1 ssd on our other nodes, we're only running 3-4 VM's on these, and all of them are replicated to an offsite FTP. It's either slow protection with vm's load balanced between two hdd's or just one raid-0 on the built in dell 1068E sas controller.

Anyone have ideas on how to upgrade Xen without bricking our previous VM's as well as solusvm integration?

__________________
Joseph W.
Chief Technical Officer - MultiMinecraft
Quality Minecraft hosting solutions!

Reply With Quote
  #6  
Old 12-26-2011, 09:39 PM
PCS-Chris PCS-Chris is offline
Premium Member
 
Join Date: Dec 2005
Location: Berkshire, UK
Posts: 2,857
Xen 3.1.2 does have lots of fixes backported but it doesn't change the fact its very old software at it's core. Newer versions of Xen work fine with SolusVM and always have, the only thing you need to change is the Xen Toolstack version under Node > Node Properties to XL if you are using Xen 4.

How Xend sets up the bridges depends entirley on the network-bridge and vif-bridge scripts in /etc/xen/scripts. If you are compiling from source or using someone elses RPM's chances are they will be different to CentOS's defaults.

You can keep your old files, modify them or if you are compiling from source you should be able to take a .spec file from a Fedora srpm and modify from there. Of course do this on a test box and test it well first..

__________________
System Administrator
» Follow me on twitter: Here

Reply With Quote
  #7  
Old 12-26-2011, 09:56 PM
Cookiesowns Cookiesowns is offline
Premium Member
 
Join Date: Apr 2011
Location: Irvine, CA
Posts: 804
Quote:
Originally Posted by PCS-Chris View Post
Xen 3.1.2 does have lots of fixes backported but it doesn't change the fact its very old software at it's core. Newer versions of Xen work fine with SolusVM and always have, the only thing you need to change is the Xen Toolstack version under Node > Node Properties to XL if you are using Xen 4.

How Xend sets up the bridges depends entirley on the network-bridge and vif-bridge scripts in /etc/xen/scripts. If you are compiling from source or using someone elses RPM's chances are they will be different to CentOS's defaults.

You can keep your old files, modify them or if you are compiling from source you should be able to take a .spec file from a Fedora srpm and modify from there. Of course do this on a test box and test it well first..
Gotcha.

Do solusvm write the scripts or no?

__________________
Joseph W.
Chief Technical Officer - MultiMinecraft
Quality Minecraft hosting solutions!

Reply With Quote
  #8  
Old 12-26-2011, 11:21 PM
Dougy Dougy is offline
Rockin' the beer gut
 
Join Date: May 2006
Location: NJ, USA
Posts: 6,034
Quote:
Originally Posted by Cookiesowns View Post
We're using Xen HVM 3.1.2, as that's the only version SolusVM officially supports, I tried upgrading to 4.1, but that just screwed up the bridges.

As far as data protection goes, we were running 1 drive + 1 ssd on our other nodes, we're only running 3-4 VM's on these, and all of them are replicated to an offsite FTP. It's either slow protection with vm's load balanced between two hdd's or just one raid-0 on the built in dell 1068E sas controller.

Anyone have ideas on how to upgrade Xen without bricking our previous VM's as well as solusvm integration?
It's a whopping five minutes max per server to fix the bridges.

__________________
simplywww: directadmin and cpanel hosting that will rock your socks
coming very soon: Cheapest Comodo SSL certificates on the market

Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

Reply With Quote
  #9  
Old 12-26-2011, 11:29 PM
Cookiesowns Cookiesowns is offline
Premium Member
 
Join Date: Apr 2011
Location: Irvine, CA
Posts: 804
Quote:
Originally Posted by Dougy View Post
It's a whopping five minutes max per server to fix the bridges.
Any advice?

__________________
Joseph W.
Chief Technical Officer - MultiMinecraft
Quality Minecraft hosting solutions!

Reply With Quote
  #10  
Old 12-27-2011, 12:06 AM
Dougy Dougy is offline
Rockin' the beer gut
 
Join Date: May 2006
Location: NJ, USA
Posts: 6,034
Quote:
Originally Posted by Cookiesowns View Post
Any advice?
Sadly I don't recall offhand, but even if I did, I don't remember how to make solusvm happy.

I only ever did it via CLI. I beleive setting bridge name in xend config helped me.

__________________
simplywww: directadmin and cpanel hosting that will rock your socks
coming very soon: Cheapest Comodo SSL certificates on the market

Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

Reply With Quote
  #11  
Old 12-27-2011, 12:40 AM
Cookiesowns Cookiesowns is offline
Premium Member
 
Join Date: Apr 2011
Location: Irvine, CA
Posts: 804
Quote:
Originally Posted by Dougy View Post
Sadly I don't recall offhand, but even if I did, I don't remember how to make solusvm happy.

I only ever did it via CLI. I beleive setting bridge name in xend config helped me.
Got it.

Anyways, I tested this on our old non production E3-1240 node, things seems to be much better after upgrading to 3.4.3. I used the gitco repo's to update and just re-added the solusVM links, infact the VM's didn't even have to go down, until I needed to reboot the machine.

Awesome right!

__________________
Joseph W.
Chief Technical Officer - MultiMinecraft
Quality Minecraft hosting solutions!

Reply With Quote
  #12  
Old 12-27-2011, 01:57 AM
Dougy Dougy is offline
Rockin' the beer gut
 
Join Date: May 2006
Location: NJ, USA
Posts: 6,034
Quote:
Originally Posted by Cookiesowns View Post
Got it.

Anyways, I tested this on our old non production E3-1240 node, things seems to be much better after upgrading to 3.4.3. I used the gitco repo's to update and just re-added the solusVM links, infact the VM's didn't even have to go down, until I needed to reboot the machine.

Awesome right!
3.4.3 is good.

__________________
simplywww: directadmin and cpanel hosting that will rock your socks
coming very soon: Cheapest Comodo SSL certificates on the market

Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

Reply With Quote
  #13  
Old 12-27-2011, 02:06 AM
Cookiesowns Cookiesowns is offline
Premium Member
 
Join Date: Apr 2011
Location: Irvine, CA
Posts: 804
Quote:
Originally Posted by Dougy View Post
3.4.3 is good.
Yup, though for network performance wise using the Intel E1000 emulation drivers, I'm only able to push around 300mbit downstream, and 150-200 up.

Servers are on gigabit, and testing are done from two nodes within the same switch under 1gbit, node - node can push 900mbit, vps to host or secondary node, only about 300mbits

__________________
Joseph W.
Chief Technical Officer - MultiMinecraft
Quality Minecraft hosting solutions!

Reply With Quote
  #14  
Old 12-29-2011, 12:01 PM
PCS-Chris PCS-Chris is offline
Premium Member
 
Join Date: Dec 2005
Location: Berkshire, UK
Posts: 2,857
Are you running CentOS 5.7? If not just a friendly bit of advice.. there are things in CentOS 5.7 which can and probably will break Gitco's Xen 3.4.3 build sooner or later.

__________________
System Administrator
» Follow me on twitter: Here

Reply With Quote
  #15  
Old 12-29-2011, 09:36 PM
viGeek viGeek is offline
Russ
 
Join Date: Mar 2002
Location: Philadelphia, PA
Posts: 2,494
Can you post the output from the following...

shell#> cat /proc/diskstats
shell#> iostat
shell#> vmstat
shell#> blockdev --getra /dev/drive#
shell#> cat /sys/block/drive#/queue/nr_requests
shell#> cat /sys/block/drive#/queue/scheduler
shell#> cat /sys/block/drive#/queue/read_ahead_kb

Replace drive# with the drive in question (i.e xvda, sda, hda etc)

Also run this in you can (in place of diskstats).

Code:
#!/bin/bash
# Part of sysinfo (https://github.com/vigeek/sysinfo)
for ios in `cat /proc/diskstats |  awk '{$1="" ; $2="" ; print}' | egrep '[shxv]d[a-z][^1-9]' | awk '{print $1}'` ; do

  echo -e "Reads Complted: $(cat /proc/diskstats | grep $ios | egrep '[shxv]d[a-z][^1-9]' | awk '{print $4}')"

  echo -e "Time Reading: $(cat /proc/diskstats | grep $ios | egrep '[shxv]d[a-z][^1-9]' | awk '{print $7}' | awk '{ s += $1 } END { print s/1000}') [sec"

  echo -e "Writes Completed: $(cat /proc/diskstats | grep $ios | egrep '[shxv]d[a-z][^1-9]' | awk '{print $8}')"

  echo -e "Time Writing: $(cat /proc/diskstats | grep $ios | egrep '[shxv]d[a-z][^1-9]' | awk '{print $11}' | awk '{ s += $1 } END { print s/1000}') [sec]"

  echo -e "Current IO Requests: $(cat /proc/diskstats | grep $ios | egrep '[shxv]d[a-z][^1-9]' | awk '{print $12}')"

  echo -e "Time doing IO: $(cat /proc/diskstats | grep $ios | grep '[shxv]d[a-z][^1-9]' | awk '{print $13}') ms"

done

__________________
Linux junkie | @ Wildbit Philadelphia, PA
Creators of: Beanstalkapp.com & Postmarkapp.com


Last edited by viGeek; 12-29-2011 at 09:41 PM.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
PhotonVPS | High Performance VPS w/SolusVM Starting @ $5.48 (OpenVZ, Xen, Windows) PhotonVPS-Jim VPS Hosting Offers 0 10-30-2011 10:52 PM
PhotonVPS | High Performance VPS w/SolusVM Starting @ $5.48 (OpenVZ, Xen, Windows) PhotonVPS-Jim VPS Hosting Offers 0 10-17-2011 12:49 PM
PhotonVPS | High Performance VPS w/SolusVM Starting @ $5.48 (OpenVZ, Xen, Windows) PhotonVPS-Jim VPS Hosting Offers 8 10-04-2011 05:50 PM
High Performance VPS with SolusVM Starting @ $5.48 (OpenVZ,Xen,Windows!) 50% & 10% Co PhotonVPS-Jim VPS Hosting Offers 0 02-17-2011 03:36 PM
High Performance VPS with SolusVM Starting @ $5.48 (OpenVZ,Xen,Windows!) 50% & 10% Co PhotonVPS-Jim VPS Hosting Offers 0 02-14-2011 02:44 PM

Related posts from TheWhir.com
Title Type Date Posted
50d2376d-61f8-4c03-b455-770a45a79981 Listing 2013-03-05 18:24:01
Web Host MochaHost Adds New Features to Linux VPS Hosting Plans Web Hosting News 2012-08-01 15:52:14
Web Host Earthnet Launches Xpert.net Linux Web Hosting Services Web Hosting News 2012-03-23 16:09:07
Web Hosting Software Firm CloudLinux Releases CloudLinux OS Version 6.1 Web Hosting News 2011-09-13 14:08:49
SingleOS Launches Fuscan Linux Cloud 2.0 Web Hosting News 2011-08-12 19:09:05


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?