Understanding I/O performance
Can anyone point me to information about how Xen schedules I/O requests from multiple domUs?
Is the disk physically on the dom0 machine, or on a SAN?
Thanks,
Vebjorn
10 Replies
Buying a larger plan reduces contention (less nodes on a box), but it really comes down to how busy the box you're on is.
As with any VPS provider, you'll often see better results by scaling horizontally rather than vertically. For example, if you need better database performance with a VPS provider, you're better off building a cluster of smaller boxes rather than one big box.
I/O contention can still be a problem, but you at least know that you're competing with fewer DomU's as you go up in plans, and that everyone you're competing with is using a similar plan to you.
I have no idea how much difference in practice this makes, but at least from my perspective I feel this approach is a more desirable arrangement than mixing and matching plans at various levels on the same host.
– David
@Guspaz:
I believe they're 15K RPM SAS drives.
No way they're 15K RPMs. They're 1 TB or larger, which means 7200 RPM at best.
@db3l:
It may also be worth noting that I believe that Linode - unlike some other providers - only puts people with the same plan on a single host.
Yes, that's correct.
@mnordhoff:
What worries me is that the larger plans are used by people who couldn't get by on a 360, which means they might be doing lots of I/O or something.
:P
Absolutely. Although given that it doesn't take a large absolute number of DomU's - of any plan - to effectively saturate the I/O bandwidth, I'd probably still take the bet that the smaller total number of DomU's with the larger plans give better odds at having better I/O than not on average.
– David
@mnordhoff:
No way they're 15K RPMs. They're 1 TB or larger, which means 7200 RPM at best.
They put what, 40x360 on a host? That's 640GB of total storage required, double that for redundancy, 1280.
15K RPM drives come at up to 600GB. I believe Linode uses four disks per machine in RAID10, giving you 2400GB of total storage, 1200GB usable.
So, there is absolutely no reason why they can't be 15K RPM.
@ljosa:
Does buying a larger plan result in better I/O performance?
We generally recommend it, for the reasons already pointed out. Although sometimes it can seem counterintuitive depending on circumstance, in our experience, it does work.
That's why scaling horizontally is safer; you're guaranteed to get more than you have now because you're adding new instances. It's a lot more work to get it right, and it would be wonderful if we could just expand our linodes to get more disk performance, but it doesn't work like that; until we move to SSDs where seek times don't matter and IO can be much better scheduled as a resource like CPU time can be, this is going to be the way it is.