Dream Request - IO Limiting per process [message #51485] |
Wed, 25 June 2014 04:34  |
bjdea1
Messages: 39 Registered: February 2009
|
Member |
|
|
Hi,
I really like the iolimit feature you've added recently to OPENVZ as it gives more control over VPS's.
But one BIG thing missing is the ability to set a VPS's process IOLIMIT. I often have VPS's running just a single process that eats up IO bandwidth, e.g. virus scanner or backup process etc. I can now at least keep the rest of the node happy by limiting the single VPS's overall IOLIMIT, however that leaves the single VPS with high loads and having all its other processes severely affected.
I am requesting the ability to set something like a PROCIOLIMIT (process IOLIMIT) which would set the maximum allowed IO bandwidth for any process running within the VPS. That way you could prevent a single process from eating up all the IO bandwidth inside a VPS, thereby allowing other processes to keep running.
Really hope this can be added in future. It sure would really enhance OPENVZ as no other VIRTUALIZATION platform offers this kind of fine tuning.
█Deasoft.com Hosting/Software
█AutoBillMe.com Billing Automation
[Updated on: Wed, 25 June 2014 04:36] Report message to a moderator
|
|
|
|
Re: Dream Request - IO Limiting per process [message #51496 is a reply to message #51485] |
Fri, 27 June 2014 02:50   |
bjdea1
Messages: 39 Registered: February 2009
|
Member |
|
|
I don't think so.........nothing that works properly. I'm needing hard enforceable limits - not the useless "soft" ionice limits crap.
I've been down that road before and it sucks, unless something new has come out?
For example I'm talking about forcefully limiting a process to 5MB/s IO bandwidth from the node. So no process within a VPS could use more than 5MB/s continuous IO bandwidth.
Are you referring to cgroups? Can I play around with cgroups and not upset openvz? Doesn't openvz already use cgroups? Could I upset openvz's cgroup hierarchy structure?
█Deasoft.com Hosting/Software
█AutoBillMe.com Billing Automation
[Updated on: Fri, 27 June 2014 03:04] Report message to a moderator
|
|
|
Re: Dream Request - IO Limiting per process [message #51498 is a reply to message #51496] |
Sun, 29 June 2014 21:05  |
devonblzx
Messages: 127 Registered: December 2006
|
Senior Member |
|
|
No, I'm referring to hard caps. ionice doesn't work very well. Using the kernel you can monitor and limit IO per PID. The linux kernel maintains counters per PID. You have to get dirty with some programming but it wouldn't be hard or anything specific to OVZ as it isn't container related. It can be done with any linux system.

ByteOnSite President
|
|
|