Re:The ABCs of virtual private servers, Part 1: Why go virtual?
by lsc on Thursday February 17, 2011 @06:29AM
(#2230570)
>One of the nice things about Xen is that disk I/O can be controlled somewhat because each domU has a specific process in dom0 for disk access. So you can ionice things & provide a somewhat more controlled access to the disk.
My experience? it's easy to make one customers's I/O suck with such tools, but they work for shit when it comes to fairly balancing everyone's I/O.
As far as I can tell, the best practice is to monitor everyone's usage, and if someone goes above some pre-set threshold, to make their I/O suck using ionice or what have you.
But that's a long way from solving the problem.
Re:The ABCs of virtual private servers, Part 1: Why go virtual?
by tres on Thursday February 17, 2011 @06:37AM
(#2230589)
Yeah, for certain. I guess I just really, really like the ability to have some control. Even if it isn't solving the problem. Back when I was working for a shop doing OpenVZ, all we could do is shrug our shoulders & make our best guess as to what was causing the problems.
Re:The ABCs of virtual private servers, Part 1: Why go virtual?
by lsc on Thursday February 17, 2011 @07:32AM
(#2230683)
Yeah, I know what you are saying. I started on FreeBSD Jails; and god damn, that was /hard/ - the heavy disk users would wipe out everyone else's cache, and so for the light users, when they logged in? the system would behave as if it did not have any pagecache. Moving to Xen, even without doing any I/O limiting, was world changing, simply because heavy users could not overwrite the pagecache used by light users.
Re:The ABCs of virtual private servers, Part 1: Why go virtual?
by sparky on Thursday February 17, 2011 @04:35AM
(#2230390)
Memory capacity is typically dedicated (e.g., Linode), but memory bandwidth is difficult to allocate statically, and can be a huge problem even if you're fine on capacity. For example, a simulator I like to run has a 50-60MB working set, much larger than on-chip cache but well under my allocated 512MB of RAM. However, other concurrent users can disproportionately use up DRAM bandwidth, depending on their access pattern and the OS scheduler.
Re:The ABCs of virtual private servers, Part 1: Why go virtual?
by tres on Thursday February 17, 2011 @05:46AM
(#2230511)
I've never seen a hardware node get anywhere near saturating the bus before disk I/O became an issue. So yes, there is a potential for saturation; however, I'd be really happy if that were my capacity bottleneck.
Re:The ABCs of virtual private servers, Part 1: Why go virtual?
by gaius on Thursday February 17, 2011 @07:10AM
(#2230641)
Again this is a platform specific complaint, back in the day IRIX solved this with GRIO on their Xbow active backplane. This technology will make it into Linux PCs eventually I expect.
One of the nice things about Xen is that disk I/O can be controlled somewhat because each domU has a specific process in dom0 for disk access. So you can ionice things & provide a somewhat more controlled access to the disk.