Skip to contentSkip to conversation

Hosting script

LARTC Stef Coene 2 participants 9 messages Jan 5, 1980 – Mar 31, 2002

lore
Share & tools
lore

Stef Coene

author
#0 lore raw
Quoted 6 lines · Charles Williams

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

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
author
#1 lore raw
Quoted 2 lines

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

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
author
#2 lore raw
In reply to Stef Coene
Quoted 1 line
Quoted 1 line

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/

Stef

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
author
#3 lore raw
In reply to Stef Coene
Quoted 1 line

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

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#4 lore raw
In reply to Stef Coene

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

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#5 lore raw
In reply to Stef Coene

----- Original Message -----
From: "Stef Coene" <[email protected]>
To: "Charles Williams" <[email protected]>; <[email protected]>
Sent: Saturday, January 05, 1980 2:45 AM
Subject: Re: [LARTC] Hosting script

Quoted 5 lines · Charles Williams

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

Quoted 1 line

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

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#6 lore raw
In reply to Stef Coene

----- Original Message -----
From: "Stef Coene" <[email protected]>
To: "Charles Williams" <[email protected]>; <[email protected]>
Sent: Saturday, January 05, 1980 4:14 AM
Subject: Re: [LARTC] Hosting script

Quoted 3 lines
Quoted 2 lines

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

Quoted 1 line

remark 2 : you suppose everyone has 100Mbit NIC's

no. actually I suppose I have 100Mbit NICs

Quoted 1 line

remark 3 : weight 1 is very low for the classes

What would you suggest? I figured 1 would be safe.

chuck

Quoted 1 line

Stef

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#7 lore raw
In reply to Stef Coene

----- Original Message -----
From: "Stef Coene" <[email protected]>
To: "Charles Williams" <[email protected]>; <[email protected]>
Sent: Saturday, January 05, 1980 4:41 AM
Subject: Re: [LARTC] Hosting script

Quoted 7 lines
Quoted 1 line
Quoted 1 line

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/

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 though so that I KNOW what's going on.

thanks,
chuck

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#8 lore raw
In reply to Stef Coene

----- Original Message -----
From: "Charles Williams" <[email protected]>
To: "Stef Coene" <[email protected]>; <[email protected]>
Sent: Sunday, March 31, 2002 8:57 PM
Subject: Re: [LARTC] Hosting script

Quoted 11 lines

----- Original Message -----
From: "Stef Coene" <[email protected]>
To: "Charles Williams" <[email protected]>; <[email protected]>
Sent: Saturday, January 05, 1980 4:41 AM
Subject: Re: [LARTC] Hosting script

Quoted 2 lines
Quoted 1 line
Quoted 1 line

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

Quoted 6 lines
Quoted 5 lines

But what do you want to do with the scipt? There is already a cbq-script configuration : http://freshmeat.net/projects/cbq.init/

Stef

Quoted 8 lines

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 though

so

Quoted 10 lines

that I KNOW what's going on.

thanks,
chuck

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/