Skip to contentSkip to conversation

Hardware reqs for 10Mbps forwarding and shaping.

LARTC Cameron Kerr 3 participants 5 messages Apr 15, 2003

lore
Share & tools
lore
#0 lore raw

Greetings.

Environment:
50ish client PCs running Windows XP
10Mbps internet connection
Primary application is internet gaming and some web browsing.

I would like to create a Linux based solution which would provide network monitoring services, and traffic shaping to prioritise interactive traffic.

What kind of hardware would I need to use to be able to forward at 10Mbps, with low latency? Has anyone done such a demanding chore with LARTC?

Ideally I'd like to use a bridged solution, so if it screws up, the user can simply unplug the cables, and join then with a cable joiner. Is this just asking for trouble? I know I would have to use 2.5.47???, which I'm not really familiar with, how stable is 2.5 ATM?

I also have a query about scheduling. I'm thinking that it would be unwise to use things like preemptive scheduling, since that's more for user-space apps, not kernel ops. Am I right in thinking this?

Many thanks. I'm trying out LARTC with an old 4/66, but installing takes bloody ages (Debian)

Signature · 7 lines
Cameron Kerr
Email:   [email protected]
Website: http://nzgeeks.org/cameron/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw
Quoted 7 lines · Cameron Kerr

Greetings.

Environment:
50ish client PCs running Windows XP
10Mbps internet connection
Primary application is internet gaming and some web browsing.

Quoted 7 lines

I would like to create a Linux based solution which would provide network monitoring services, and traffic shaping to prioritise interactive traffic.

What kind of hardware would I need to use to be able to forward at 10Mbps, with low latency? Has anyone done such a demanding chore with LARTC?

The hardware depends on how many active classes you will have and how complicated your filter rules are. I once create a few 1000 active classes on a 486 shaping 10Mbit and the box survived it. The filter rules where very simple.

Quoted 4 lines

Ideally I'd like to use a bridged solution, so if it screws up, the user can simply unplug the cables, and join then with a cable joiner. Is this just asking for trouble? I know I would have to use 2.5.47???, which I'm not really familiar with, how stable is 2.5 ATM?

You can use kernel 2.4.20 and configure it as bridge. If you want to control the traffic, you also need ebtables (this is iptables for a brdige).

Quoted 3 lines

I also have a query about scheduling. I'm thinking that it would be unwise to use things like preemptive scheduling, since that's more for user-space apps, not kernel ops. Am I right in thinking this?

Yes (I think).

Quoted 2 lines

Many thanks. I'm trying out LARTC with an old 4/66, but installing takes bloody ages (Debian)

Or install it on a fast pc and switch the disks. Works great :)

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Cameron Kerr
Quoted 5 lines
Quoted 4 lines

Ideally I'd like to use a bridged solution, so if it screws up, the user can simply unplug the cables, and join then with a cable joiner. Is this just asking for trouble? I know I would have to use 2.5.47???, which I'm not really familiar with, how stable is 2.5 ATM?

You can use kernel 2.4.20 and configure it as bridge. If you want to

control

Quoted 1 line

the traffic, you also need ebtables (this is iptables for a brdige).

I was under the impression that you didnt NEED ebtables for qos as you can just shape on both interfaces involved in the bridge and use tc filters for matching packets. Please correct me if Im wrong.

jay

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

#3 lore raw
In reply to Cameron Kerr
Quoted 5 lines
Quoted 4 lines

Ideally I'd like to use a bridged solution, so if it screws up, the user can simply unplug the cables, and join then with a cable joiner. Is this just asking for trouble? I know I would have to use 2.5.47???, which I'm not really familiar with, how stable is 2.5 ATM?

You can use kernel 2.4.20 and configure it as bridge. If you want to

control

Quoted 1 line

the traffic, you also need ebtables (this is iptables for a brdige).

I was under the impression that you didnt NEED ebtables for qos as you can just shape on both interfaces involved in the bridge and use tc filters for matching packets. Please correct me if Im wrong.

jay

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

#4 lore raw
In reply to Cameron Kerr
Quoted 7 lines · Jay Wineinger
Quoted 6 lines
Quoted 4 lines

Ideally I'd like to use a bridged solution, so if it screws up, the user can simply unplug the cables, and join then with a cable joiner. Is this just asking for trouble? I know I would have to use 2.5.47???, which I'm not really familiar with, how stable is 2.5 ATM?

You can use kernel 2.4.20 and configure it as bridge. If you want to

Quoted 7 lines

control

Quoted 1 line

the traffic, you also need ebtables (this is iptables for a brdige).

I was under the impression that you didnt NEED ebtables for qos as you can just shape on both interfaces involved in the bridge and use tc filters for matching packets. Please correct me if Im wrong.

Indeed. You don't need it. But it can be handy if you want to mark the packets and use the fw filter.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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