On Wed, 2012-02-08 at 16:10 -0500, Justin McCann wrote: > On Mon, Feb 6, 2012 at 2:48 PM, John A. Sullivan III > <jsullivan@xxxxxxxxxxxxxxxxxxx> wrote: > > > > Hello, all. We are trying to figure out how to shape our colocated > > traffic to conform to 95th percentile billing, ... > >... > > I suppose I could try to get our monitoring system to monitor 95th > > percentile and dynamically change ul as we get dangerously close but > > that is going to be somewhat complicated and does not give a stand-alone > > solution. > > > > Is there a viable way to do this with traffic shaping alone or is the > > only way by integrating it with a monitoring system? Thanks - John > > I can't speak to the queuing parameters so much, but do have one > question: What do you plan to do if your traffic shaper needs > rebooted, loses power, or some other change resets the queuing > state/counters? I think you'll still need some external monitoring to > keep track of what throughputs you've used so far during the billing > period, and make sure you don't exceed your targeted thresholds. <snip> Thanks Justin. I'm making some headway trying to keep this a self-contained project with no dependencies outside of ip and tc. At this point, it looks like we'll make the main script a daemon along with a cron job which checks if the daemon has stopped and restarts it automatically. We chose a daemon so we could keep the array of samples in memory and minimize disk IO but we will write enough to disk to maintain state in the event of a reboot - John -- To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html