Re: [LARTC] TC Hashing Filters

2004-07-23 Thread mjoachimiak
t already). > > Adam Towarnyckyj > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 21, 2003 5:45 PM > To: [EMAIL PROTECTED] > Subject: Re: [LARTC] TC Hashing Filters > > Could you please send me describe of your pr

Re: [LARTC] TC Hashing Filters

2004-07-22 Thread mjoachimiak
l for the hashing filter suggestion from Ed. Thanks a ton. I will > be posting a How To shortly so others can do the same if they ever need > to. Thanks again! > > Adam Towarnyckyj > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of

RE: [LARTC] TC Hashing Filters

2004-07-22 Thread Adam Towarnyckyj
ursday, July 15, 2004 8:37 PM To: [EMAIL PROTECTED]; LARTC Subject: Re: [LARTC] TC Hashing Filters Adam Towarnyckyj wrote: > Any tc filter command I try to > add from here on out gives me the same error even if I try it manually > instead of using the script. Adam, That is a killer. P

Re: [LARTC] TC Hashing Filters

2004-07-15 Thread gypsy
Adam Towarnyckyj wrote: > Any tc filter command I try to > add from here on out gives me the same error even if I try it manually > instead of using the script. Adam, That is a killer. Please read the following and then, when we both have the same information, I'm going to try again to assist yo

RE: [LARTC] TC Hashing Filters

2004-07-15 Thread Adam Towarnyckyj
gypsy wrote: > Your script can be modified to display the line with the substitutions > and to exit when executing causes an error. What I envision is that > you'll watch 2000+ lines of good stuff scroll by and that the final line > will be your Bad Boy. And the last few lines are what we all are

Re: [LARTC] TC Hashing Filters

2004-07-15 Thread Glen Mabey
On Wed, Jul 14, 2004 at 07:13:11PM -0700, gypsy wrote: > Your script can be modified to display the line with the substitutions > and to exit when executing causes an error. What I envision is that > you'll watch 2000+ lines of good stuff scroll by and that the final line > will be your Bad Boy.

Re: [LARTC] TC Hashing Filters

2004-07-14 Thread gypsy
Adam Towarnyckyj wrote: > > gypsy wrote: > >Try setting classid to 0x and decrement rather than increment it. > > > >Pepper the script with > >debug (print or echo) lines > >error traps that exit the script on error. > > The error appears at step 6. For each modem in our database, it

Re: [LARTC] TC Hashing Filters

2004-07-14 Thread Jason Boxman
On Wednesday 14 July 2004 14:06, Adam Towarnyckyj wrote: > As for your suggestion about the classid, I'm a bit confused as > to what you mean about decrementing it. Could you be a little more > specific on where this is in the script? > I think he means start with classid 0x and then s

RE: [LARTC] TC Hashing Filters

2004-07-14 Thread Adam Towarnyckyj
gypsy wrote: >Try setting classid to 0x and decrement rather than increment it. > >Pepper the script with >debug (print or echo) lines >error traps that exit the script on error. > >Is what you posted entire so that if I extract it from the message then >it should run? It's really tou

Re: [LARTC] TC Hashing Filters

2004-07-14 Thread gypsy
Adam Towarnyckyj wrote: > > First off, no need to be rude. I read the documentation; I just missed > the number limit. I apolgize. I regretted hitting SEND as soon as I came to my senses and I'm ashamed of how long it took me to do that. I had a (what turned out to be minor) emergency last nigh

RE: [LARTC] TC Hashing Filters

2004-07-13 Thread Catalin BOIE
he help that has been provided so far. Instead of barking at people, simply stating that you require a snippet of code and providing an answer would be much more helpful and wouldn't cause people like me to bark back which is surely going to cause an argument between us. Thanks again! Adam Towarny

RE: [LARTC] TC Hashing Filters

2004-07-13 Thread Adam Towarnyckyj
king at people, simply stating that you require a snippet of code and providing an answer would be much more helpful and wouldn't cause people like me to bark back which is surely going to cause an argument between us. Thanks again! Adam Towarnyckyj -Original Message- From: gypsy [

Re: [LARTC] TC Hashing Filters

2004-07-12 Thread gypsy
Adam Towarnyckyj wrote: > > Hey all, > So I got the script to run and populate everything. I watch as > the script uses the tc commands to add filters for each IP into their > appropriate tables. After 2045 entries, it starts to give me a "File > Exists" error. I've done extensive testing

RE: [LARTC] TC Hashing Filters

2004-07-12 Thread Adam Towarnyckyj
Hey all, So I got the script to run and populate everything. I watch as the script uses the tc commands to add filters for each IP into their appropriate tables. After 2045 entries, it starts to give me a "File Exists" error. I've done extensive testing on the script and everything else to

Re: [LARTC] TC Hashing Filters

2004-07-06 Thread Ed Wildgoose
If anyone has any questions about how to do this or anything, please feel free to ask. I'll answer to the best of my abilities. I have one. How much faster does it go now? ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/list

RE: [LARTC] TC Hashing Filters

2004-07-06 Thread Adam Towarnyckyj
Gideon was an incredible help with all of this. He solved my little problem I was having. It was such a simple solution and I completely missed it. You see, when I changed the src to dst (which is what I'm trying to accomplish because I'm shaping the download rates of our customers, not upl

RE: [LARTC] TC Hashing Filters

2004-07-06 Thread Adam Towarnyckyj
ns for the hashing tables. I won't start on that though until I can get this up and running. Anyways, thanks for the help. Adam Towarnyckyj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 12:15 PM To: Adam Towarnyckyj; [EMAIL PROT

Re: [LARTC] TC Hashing Filters

2004-07-06 Thread Walt Wyndroski
Where can I find that app? I would like to evaluate it for my site. Regards, Walt Wyndroski - Original Message - From: <[EMAIL PROTECTED]> To: "Adam Towarnyckyj" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 06, 2004 3:16 PM Subject: RE

RE: [LARTC] TC Hashing Filters

2004-07-06 Thread zoop
Adam Towarnyckyj ([EMAIL PROTECTED]) wrote: > >Original Message >># Create root qdisc >>tc qdisc add dev eth1 root handle 1:0 cbq bandwidth 200Mbit avpkt 1000 >> >># Create transit class >>tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 200Mbit rate >>200Mbit allot 1514 weight 2M

RE: [LARTC] TC Hashing Filters

2004-07-06 Thread zoop
The reason I asked about if you were doing this for an ISP is that I worte an app to track IP's and the bandwidths associated with them, and it will generate the TC commands for you. It uses HTB though. Adam Towarnyckyj ([EMAIL PROTECTED]) wrote: > >[EMAIL PROTECTED] wrote: >>> # Create fil

RE: [LARTC] TC Hashing Filters

2004-07-06 Thread Adam Towarnyckyj
Original Message ># Create root qdisc >tc qdisc add dev eth1 root handle 1:0 cbq bandwidth 200Mbit avpkt 1000 > ># Create transit class >tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 200Mbit rate >200Mbit allot 1514 weight 2Mbit prio 8 maxburst 10 avpkt 1000 > ># Create hash ta

RE: [LARTC] TC Hashing Filters

2004-07-06 Thread Adam Towarnyckyj
[EMAIL PROTECTED] wrote: >> # Create filter to hash out last octet and link to hash table 2: >> tc filter add dev eth1 protocol ip parent 1:1 prio 5 u32 ht >>800:: match ip src 216.19.49.0/24 hashkey mask 0x00ff at 12 link 2: > > >I think this needs to be attached to the root. >parent

Re: [LARTC] TC Hashing Filters

2004-07-02 Thread zoop
> # Create filter to hash out last octet and link to hash table 2: > tc filter add dev eth1 protocol ip parent 1:1 prio 5 u32 ht >800:: match ip src 216.19.49.0/24 hashkey mask 0x00ff at 12 link 2: I think this needs to be attached to the root. parent 1:0 Adam Towarnyckyj ([EMA

[LARTC] TC Hashing Filters

2004-07-02 Thread Adam Towarnyckyj
Hey all, I had asked a question a little while ago about CPU usage being outrageous while using tc and a cbq qdisc. Ed was very kind and offered a few suggestions. One of these was to look at hashing. So after pounding away at it for about a week, I have a general understanding of how it wo