Re: [LARTC] HTB speed

2004-03-25 Thread Simon Byrnand
At 12:46 26/03/2004, Simon Byrnand wrote: At 18:17 25/03/2004, Andrew Hall wrote: You need to recompile the kernel after altering this value in linux/include/net/pkt_sched.h. Also remember that if using SFQ on leaf qdisc, then the queue length may cause delay problems if it's too long (default is 1

[LARTC] RE: Does anyone know a PPPoE Server for Bering?

2004-03-25 Thread james jones
Does anyone know a PPPoE Server for Bering ? I don't know anything about Bering (a quick search shows an Internet Firewall device and Floppy distro...) but anyways; I have had luck with RP-PPPoE (http://www.roaringpenguin.com/products/rp-pppoe/) which does include a PPPoE server. I have my pppd p

Re: [LARTC] HTB speed

2004-03-25 Thread Simon Byrnand
At 18:17 25/03/2004, Andrew Hall wrote: You need to recompile the kernel after altering this value in linux/include/net/pkt_sched.h. Also remember that if using SFQ on leaf qdisc, then the queue length may cause delay problems if it's too long (default is 128). Changing this to 32 for rates below 1

[LARTC] Measuring SFQ performance

2004-03-25 Thread Barry Rooney
  Hi All, Is there a way in linux to monitor the performance of an SFQ in terms of the WFI (worst case fair index), Max Min etc? Any help, or guidance appreciated, Barry. ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/

[LARTC] newbie questions

2004-03-25 Thread Paul Albert
Hi all –   I’ve been reading for the past day or so about the traffic control that is built into linux.  I have a situation that I have not seen documented, and I’m wondering how to handle this.   I would like to have a group of users get a certain amount of bandwidth in both inbound a

RE: [LARTC] HTB speed

2004-03-25 Thread ThE LinuX_KiD
Thanks, Andrew, it's intresting... -> (default is 128). Changing this to 32 for rates below 100kb/s, I -> have found you mean that try change "linux/net/sched/sch_sfq.c" this: ? #define SFQ_DEPTH 128 #define SFQ_HASH_DIVISOR1024 for this. #define SFQ_DEPTH

[LARTC] MRTG and IPP2P - Iptables

2004-03-25 Thread Leandro Andrade Travaglia
Hi all,   I'm trying to use MRTG to monitor and make graphs of my P2P traffic. I'm using IPP2P 0.5c - Iptables 1.2.9 The IPP2P was configured like this:   example three:01# iptables -t mangle -A PREROUTING -p tcp -j CONNMARK --restore-mark 02# iptables -t mangle -A PREROUTING -p tcp -m mark !

[LARTC] Does anyone know a PPPoE Server for Bering ?

2004-03-25 Thread Miguel
Does anyone know a PPPoE Server for Bering ? ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Re: [LARTC] HTB speed

2004-03-25 Thread Jeroen Vriesman
Would the problem with queue lengths also exist if CONFIG_HZ=1000 in .config? (it certainly improves latency) I've configured rates from 10kbit/s...2Mbit/s on one machine, so changing the kernel code "for low rates" would probably effect the high rates too. Or, in other words, what is exactly

Re: [LARTC] How to get src and dest IP from packet

2004-03-25 Thread Catalin BOIE
> Dear All, > > I am trying to get src and dest IP from packet send from IP to TC via > struct sk_buff *skb; > > In enqueue function in sch_myqueue, I get my IP like this > > struct iphdr* iph=skb->nh.iph; > printk(KERN_ALERT "%u::%u\n",iph->saddr,iph->daddr); > > but it turned out to be that I alw

[LARTC] How to get src and dest IP from packet

2004-03-25 Thread Sipat Triukose
Dear All, I am trying to get src and dest IP from packet send from IP to TC via struct sk_buff *skb; In enqueue function in sch_myqueue, I get my IP like this struct iphdr* iph=skb->nh.iph; printk(KERN_ALERT "%u::%u\n",iph->saddr,iph->daddr); but it turned out to be that I always get the same n