Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2004
    Location
    Finland
    Posts
    522

    Controlling I/O resources per user in Linux?

    Is there any way to control storage IOPS per user under Linux?

    Suse has something to that direction, but we use Debian and standard kernel, custom kernel is possible, but not switch over to suse.

    We need to limit IOPS and storage bandwidth per user somehow, and use local disks per server.

    So anything towards that direction would be good, we need to stop a single user from being able to hog up the storage performance to themselves.

    We could use ionice, but that does not provide concrete limits, only prioritizing.
    Pulsed Media: Seedbox hosting and Dedicated Servers for content distribution

  2. #2
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    cgroups should work. Here's the documentation for blkio: http://www.mjmwired.net/kernel/Docum...controller.txt

    Regards
    Joe
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  3. #3
    Join Date
    Nov 2004
    Location
    Finland
    Posts
    522
    hmmph, kinda confusing documentation. At the very least requires a lot of scripting to automate. Got to do some testing.

    I had seen references to blkio but i was unable to find documentation with simple google searching, and thought it is far from ready.
    Pulsed Media: Seedbox hosting and Dedicated Servers for content distribution

  4. #4
    Join Date
    Mar 2002
    Location
    Philadelphia, PA
    Posts
    2,508
    cgroup works well and would suite the purpose.

    This can also be achieved via scripting if you need something simple, but will not work as well as something like cgroup.
    Linux junkie | steward.io

  5. #5
    Join Date
    Oct 2003
    Location
    The Netherlands
    Posts
    1,246
    Do you need to set a hard limit or could you not use something simpler like ionicing the users' processes?

Similar Threads

  1. Limit resources per user on Windows
    By lpark1 in forum Hosting Security and Technology
    Replies: 0
    Last Post: 06-28-2007, 04:29 AM
  2. Limiting user resources?
    By camers in forum Hosting Security and Technology
    Replies: 7
    Last Post: 08-17-2006, 03:45 PM
  3. which user is using the most resources?
    By bueno in forum Hosting Security and Technology
    Replies: 5
    Last Post: 02-06-2004, 04:38 PM
  4. limit user resources
    By mdd4j in forum Hosting Security and Technology
    Replies: 3
    Last Post: 07-13-2002, 05:07 AM
  5. Limiting user resources
    By Svenneman in forum Hosting Security and Technology
    Replies: 7
    Last Post: 06-05-2002, 07:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •