Twitter Updates

10/9/2005

Safe from financial ruin

Filed under: — AlienMind @ 12:34 am

One of the big worries I have had since I colocated this machine is the fear of doing something that will get noticed. You know, something cool that might get noticed on /. (yeah, right) or someone else putting up something for download that gets popular.

I only pay for 256kbps (kiloBYTES per second, not bits) of bandwidth, and I am charged accordingly. If I go over that amount for any significant amount of time then the bandwidth bills will add up very, very quickly. We have friends in Santa Monica that learned that lesson the hard way.

So, tonight I finally got around to implementing traffic shaping on this machine. My bandwidth is burstable, so short bursts over 256kbps are ok, but long amounts of traffic above that speed are not. Using the /sbin/tc command on my machine I’m managed to make it so that bursting traffic (images, etc.) are sent very quickly, but larger files are not. Now I can finally do backups without worrying that I’ll bankrupt myself.

In case you are interested, the /sbin/tc command was put into /etc/rc.d/rc.local, and it is:

/sbin/tc qdisc add dev eth0 root tbf rate 235kbps latency 50ms burst 15400

So, all you people whom I host, you need no longer fear bankrupting me with your digital ways.

As if you were worrying in the first place.

9 Responses to “Safe from financial ruin”

  1. Sir Not Appearing in this Blog Says:

    Send me the bill. I’m really sorry…what did I do this time?

  2. AlienMind Says:

    Oh, you didn’t do anything.

    What is interesting to me is the fact that it would be trivial for the hosting company to implement this; they have tiers of service, they simply have to put the customer computer on a virtual LAN that implements the appropriate traffic shaping configuration.

    But that might prevent them from getting revenue, so…

  3. Sir Not Appearing in this Blog Says:

    Oh, did you mean the time Grace got hit with a $1,000 bill for bandwidth? Yeah, that sucked mightily.

  4. AlienMind Says:

    Yes, that was it exactly. That will not be happening here.

  5. Cliff the non-believed Says:

    so we’re free to put up the porn and mp3 collection now?

  6. Sir Not Appearing in this Blog Says:

    Yay, porn!

  7. Cliff Says:

    Sorry, Sir. No porn for you, one year!!

  8. Sir Not Appearing in this Blog Says:

    You darned porn nazi!

  9. Cliff Says:

    I’m more of a porn socialist. I like to be very social with porn stars.

    WOMEN porn stars, you sick monkey.

Leave a Reply

  20 queries. 0.549 seconds. Powered by WordPress