Hey all, I am working on a hosting script to monitor and limit the bandwidth usage on incoming and outgoing connections. I have the initial "beta" of the script complete and would like for some critique on it. Is it ok if I post it to the list and if not just contact me and I will send it to you. Also, be advised that this is my first attempt at this so be nice. ;) thanks, chuck
----- Original Message ----- From: "Stef Coene" <stef.coene@docum.org> To: "Charles Williams" <chuck@slydder.homelinux.com>; <lartc@mailman.ds9a.nl> Sent: Saturday, January 05, 1980 2:45 AM Subject: Re: [LARTC] Hosting script On Sunday 31 March 2002 18:41, Charles Williams wrote:> Hey all, > > I am working on a hosting script to monitor and limit the bandwidth usage > on incoming and outgoing connections. I have the initial "beta" of the > script complete and would like for some critique on it. Is it ok if Ipost> it to the list and if not just contact me and I will send it to you.It''s ok for me, or you can provide an url. Stef OK everybody, my first try at Linux based QoS: http://www.slydder.homelinux.com/stories/op/storiesView/sid/77/ thanks, chuck
----- Original Message ----- From: "Stef Coene" <stef.coene@docum.org> To: "Charles Williams" <chuck@slydder.homelinux.com>; <lartc@mailman.ds9a.nl> Sent: Saturday, January 05, 1980 4:14 AM Subject: Re: [LARTC] Hosting script>> my first try at Linux based QoS: >> http://www.slydder.homelinux.com/stories/op/storiesView/sid/77/ >remark 1 : you add 4 time a root qdisc to the same interface (eth4).Stef, thanks. totally missed that after the paste. hehe>remark 2 : you suppose everyone has 100Mbit NIC''sno. actually I suppose I have 100Mbit NICs>remark 3 : weight 1 is very low for the classesWhat would you suggest? I figured 1 would be safe. chuck>Stef
----- Original Message ----- From: "Stef Coene" <stef.coene@docum.org> To: "Charles Williams" <chuck@slydder.homelinux.com>; <lartc@mailman.ds9a.nl> Sent: Saturday, January 05, 1980 4:41 AM Subject: Re: [LARTC] Hosting script>> >remark 3 : weight 1 is very low for the classes >Calculate the weight from the rate : weight = rate / 10. > >But what do you want to do with the scipt? There is already a cbq-script >configuration : http://freshmeat.net/projects/cbq.init/ > >StefStef, This is for a hosting company data center (maybe) and will be controlling the entire bandwidth for the 34Mbps line for that section of the data center. Also, thanks for the link to the script. I''ll take a look at it later. I wanted to make sure I had this down without the script before hand though so that I KNOW what''s going on. thanks, chuck
----- Original Message ----- From: "Charles Williams" <chuck@slydder.homelinux.com> To: "Stef Coene" <stef.coene@docum.org>; <lartc@mailman.ds9a.nl> Sent: Sunday, March 31, 2002 8:57 PM Subject: Re: [LARTC] Hosting script> > ----- Original Message ----- > From: "Stef Coene" <stef.coene@docum.org> > To: "Charles Williams" <chuck@slydder.homelinux.com>; > <lartc@mailman.ds9a.nl> > Sent: Saturday, January 05, 1980 4:41 AM > Subject: Re: [LARTC] Hosting script > > > >> >remark 3 : weight 1 is very low for the classes > >Calculate the weight from the rate : weight = rate / 10.Also, is the formula meant for Kbit or Mbit rates? I would imagine Mbit. chuck> > > >But what do you want to do with the scipt? There is already a cbq-script > >configuration : http://freshmeat.net/projects/cbq.init/ > > > >Stef > > Stef, > > This is for a hosting company data center (maybe) and will be controlling > the entire bandwidth for the 34Mbps line for that section of the data > center. > > Also, thanks for the link to the script. I''ll take a look at it later. I > wanted to make sure I had this down without the script before hand thoughso> that I KNOW what''s going on. > > thanks, > chuck > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >
On Sunday 31 March 2002 18:41, Charles Williams wrote:> Hey all, > > I am working on a hosting script to monitor and limit the bandwidth usage > on incoming and outgoing connections. I have the initial "beta" of the > script complete and would like for some critique on it. Is it ok if I post > it to the list and if not just contact me and I will send it to you.It''s ok for me, or you can provide an url. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net
> my first try at Linux based QoS: > http://www.slydder.homelinux.com/stories/op/storiesView/sid/77/remark 1 : you add 4 time a root qdisc to the same interface (eth4). remark 2 : you suppose everyone has 100Mbit NIC''s remark 3 : weight 1 is very low for the classes Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net
> >remark 3 : weight 1 is very low for the classesCalculate the weight from the rate : weight = rate / 10. But what do you want to do with the scipt? There is already a cbq-script configuration : http://freshmeat.net/projects/cbq.init/ Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net
> Also, is the formula meant for Kbit or Mbit rates? I would imagine Mbit.Doesn''t matter. Just make sure that the rates and the weights are in the same proportion. So weight = rate / 10 is an easy way to do so. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net