alternatively you can do this every 5 minutes..
you could write a script to get 5 minute average for both downstream and upstream
and then equalize by rate-limiting with 5 minute delay. it would
be nearly instant and absolutely fair for both sides.
lets just say cogent gives 400GE in each pop they have in common with he.net for free.
BUT they will rate-limit he.net links to previous month's 95th percentile upload or download (which is minimum) rate (each month)
to make ratio 1:1... to make downstream and upstream traffics fair...
okay?
fine?
come on people,
segmentation is bad.