Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


When you suspect/blame a client as I/O abuser
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

When you suspect/blame a client as I/O abuser

raihan0888raihan0888 Member
edited May 2012 in Help

I sent email to 4-5 vps provider asking when you blame/suspend as a cause of I/O abusing?

Not a single company directly mention the I/O rate.can you please tell me why?

if i use 10/15 mb I/O alltime is this abuse vps node? :)

Comments

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    MB/sec is rarely the issue, it's IOP/s that is what kills most arrays.

    We've seen users slam 500 iop/s and only be doing ~5MB/sec to the disk. Normal SATA drives can only do 100 iop/sec each so that dies well before your throughput.

    We really wanted a 2.6.32 kernel so we can properly monitor and rate limit abusers but since that's a complete unstable mess we're going a different route.

    Francisco

    Thanked by 1raihan0888
  • @Francisco said: We really wanted a 2.6.32 kernel so we can properly monitor and rate limit abusers but since that's a complete unstable mess we're going a different route.

    2.6.32 is a nightmare!

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @Daniel said: 2.6.32 is a nightmare!

    We had high hopes for the newest 55.x kernels but those are dead to me.

    Francisco

  • IOTOP <3

  • rds100rds100 Member

    @Francisco and all, while we are at the subject - does anyone know how's 2.6.32 OVZ lately? Some providers seem to be using it and i haven't heard any horror stories lately.

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @rds100 said: @Francisco and all, while we are at the subject - does anyone know how's 2.6.32 OVZ lately? Some providers seem to be using it and i haven't heard any horror stories lately.

    A few have been OK on older ones but everyone I know using the latest ones (even the latest stable) has had to revert. We rolled 8 nodes with .32 and they all crashed within 48 hours.

    IOTOP only gives you an idea of MB/sec spikes, nothing about IOP/sec.

    Francisco

  • rds100rds100 Member

    @Francisco thanks. I thought if you don't actually assign and use vswap it is mostly stable, but seems i will wait more before i dare using 2.6.32 :)

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @rds100 said: @Francisco thanks. I thought if you don't actually assign and use vswap it is mostly stable, but seems i will wait more before i dare using 2.6.32 :)

    HAHAHA no. The vswap crashes haven't been an issue in a very long time. The problem is the kernel is packed full of memleaks and other softlocks that they are slowly squashing.

    I don't see .32 being production read (read: 100+ day uptimes) until next year.

    Till then I know we'll be announcing something fun to help with I/O spikes in the morning :P

    Francisco

  • antivenantiven Member

    Could someone explain IOP/s please..

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @antiven said: Could someone explain IOP/s please..

    IO operations per second.

    Francisco

  • exussumexussum Member

    What sort of stuff causes high iops and low mb/s ?
    Reading many small files ? Reading a fragmented database ?

  • FranciscoFrancisco Top Host, Host Rep, Veteran
    edited May 2012

    @exussum said: What sort of stuff causes high iops and low mb/s ?

    Reading many small files ? Reading a fragmented database ?

    tons of small reads/writes all at once. A very large SQL database can do it, or a very poorly designed database without enough indexes can also do it

    EDIT - Fixing it to include write as well

    Francisco

  • Sounds interesting @Francisco

  • AnthonySmithAnthonySmith Member, Patron Provider

    Xen wise you can use some per scripts to batch export iops rate per VPS and set your interval, 30 seconds, 60 seconds 5 minutes etc, little bit of awk'ing etc and it is easy enough to get a reliable output.

    I am not overly experienced with OpenVZ, I know the default obviously does not create individual LV's but is it possible to go that route? if so it would be easy enough to accurately measure. (obviously you could not then oversell disk)

    e.g.

    while [[ 1 ]]; do ((lvdisplay|awk '/LV Name/{n=$3} /Block device/{d=$3; sub(".*:","dm-",d); print d,n;}') && (iostat -m)) | sort | uniq | sort | grep '^dm-' | while read hdd; do key=$(echo "$hdd" | egrep -o 'dm-[0-9]+'); if [[ "$key" == "$key2" ]]; then echo "$(date '+%F %T') - $hdd,$hdd2"; fi; hdd2=$hdd; key2=$(echo "$hdd" | egrep -o 'dm-[0-9]+'); done; sleep 30; done
    
  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @AnthonySmith said: I am not overly experienced with OpenVZ, I know the default obviously does not create individual LV's but is it possible to go that route? if so it would be easy enough to accurately measure. (obviously you could not then oversell disk)

    Nah.

    In .32 you can jimmy rig some code like we do but it's still not 100% accurate due to the I/O scheduler.

    Francisco

  • AnthonySmithAnthonySmith Member, Patron Provider
    edited May 2012

    Shame, you can produce some nice stats to plug in to solusvm/billing portals with that + rrd e.g.

    !(http://i.imgur.com/OEMMb.png)
    !(http://i.imgur.com/bbbSJ.png)

    Easy enough to convert to iops instead of MB or B p/s too

    edit: heh.. guess you need to use img tags here :p

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @AnthonySmith said: Easy enough to convert to iops instead of MB or B p/s too

    Not really :P

    Remember, an iop can be a byte or anything like that. You could be hopeful that it's 64K or something easy like that but yea :(

    Francisco

  • AnthonySmithAnthonySmith Member, Patron Provider
    edited May 2012

    @Francisco

    Sure it is, just with a completely different tool set such as xenstat.pl that actually measures IOPS :)

    Obviously I don't think 1MB = 100 IOPS :)

    Not for OpenVZ though.

Sign In or Register to comment.