similar to: Shaping packets instead of bytes

Displaying 20 results from an estimated 3000 matches similar to: "Shaping packets instead of bytes"

2002 Dec 19
2
Shaping traffic to local users ?
Hello Is it possible to shape incoming traffic for local linux users ? Iptables can mark packets created from certain pid/uid/gid. Is there a way to do the same for packets _destined_ for some pid/uid/gid so that I can later shape them with IMQ ? Thanks in advance Dimitris Kotsonis _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl
2002 Dec 10
0
SLA/Shaping Question
Hi, I have a basic router that is shaping traffic, and it seems to be working at the moment. We have a 100Mbit connection to the internet, however we get charged for each mbit that we use and so have to shape/limit the traffic to avoid huge bills and my boss getting cross!! We have a /29 subnets set up as follows: tc qdisc add dev eth0 root tbf rate 0.8Mbit latency 50ms burst 10k tc qdisc add
2002 Feb 03
1
simple traffic shaping problem
Hi All, I read the advanced networking howto and find a useful way to shape my adsl link. is says: "tc qdisc add dev ppp0 root tbf rate 220kbit latency 50ms burst 1500 [...] Change 220kbit to your uplinks *actual* speed, minus a few percent. If you have a really fast modem, raise ''burst'' a bit. " My adsl''s upload brandwidth is about 120 kbits/sec,
2004 Oct 20
0
up and down shaping based on IP
Hello, i have a server (486sx and 16ram). It gives me this error : NETDEVICE WATCHDOG eth1 : ...timeout. I checked in many places for solutions. Even wrote to this mailinglist. But lately i recived information, that too much upload may mix my adsl modem up. So..... my question is how should my script look while the situation is : eth0 - connected to adsl modem and thus to internet eth1 -
2013 Feb 04
2
Traffic shaping problem
Hi all, I tried last week to do traffic shaping on a production system, object of the exercise was simply to throttle the outgoing traffic. tc qdisc add dev eth4 root tbf rate 300mbit burst 300kb latency 50ms But the server became rather instable, crashing repeatedly without anything in the logs. Can anybody spot glaring mistakes in the tc command above, or tell me what I should have done
2004 Oct 21
3
[Fwd: up and down shaping based on IP]
Hello, i have a server (486sx and 16ram). My pc is providing internet to 12 other computers. Ethernet cards are realteks 8139 (drivers builtin to the kernel 2.6.8). It gives me this error : NETDEVICE WATCHDOG eth1 : ...timeout. I checked in many places for solutions. Even wrote to this mailinglist. But lately i recived information, that too much upload may mix my adsl modem up. So..... my
2004 May 31
2
shaping
Hi! Is there any way to do just plain vanilla TBF (Token Buck Filter) type shaping on a group of ips/networks, not an entire interface. Currently the only way I know how to shape in Linux is to use HTB or CBQ, but both of these need a total rate and then you need to subdivide that into classes. That is not what I want. All I want is Cisco generic traffic shaping style shaping (or similar to how
2003 Apr 04
1
iproute question
Hello all, My company is sharing it''s internet access with a neighbor and the neighbor in question was eating our bandwidth (both in upload and download) most of the time. I finally set up a linux router to limit the incoming/outgoing bandwidth to his network by adding a tbf on eth0 interface and eth1 interface of the router (neighbor is behind eth1 and we are in-between him and the
2007 Jan 22
1
traffic shaping question
Hi list, I have read the lartc 9th chapter, the bandwidth management part. I think I understand the principle, but I have a question. So I have a firewall that has several different interfaces. The most important for my question is the Internet interface, which is a 2mbps leased line. I have an interface into the protected network, I have a DMZ interface, and I have an interface with direct
2002 Nov 20
0
Creating new qdisc?
Hi all, I am trying to implement a new qdisc, but I''m having trouble. Here''s what I''ve done: I''ve copied the TBF source into a new file, and modified it to represent my new qdisc. Then added it to the default qdiscs in the Makefile. I modified the header files include/net/pkt_sched.h and include/linux/pkt_sched.h to reflect my new qdisc. The kernel
2007 Oct 05
6
shaping by packet count rather than bytes ?
In wireless networks it can be handy to shape by packet rate rather than bytes/s (because capacity is packet-rate-limited). Has anyone done any work on packet-rate shaping ? Thanks.
2006 Sep 19
5
how to setup massive traffic shaping? (2 class B nets)
Hello I have 2 class-B networks (172.22.0.0/16 and 172.23.0.0/16, over 130k of ip''s) and need to setup traffic tbf shapers with 64kb/s for each ip from 172.22.0.0/16 and 128kb/s for each ip from 172.23.0.0/16 just read lartc and don''t understand how to use u32 for decreasing number of rules and hashing
2004 Sep 20
0
Shaper & prio qdisc
Hello. Sorry for my poor english =) I have following config for traffic prioritization: tc qdisc add dev eth0 root handle 1: prio tc qdisc add dev eth0 parent 1:1 handle 10: tbf rate 7000kbit buffer 1600 latency 2msec tc qdisc add dev eth0 parent 1:2 handle 20: sfq tc qdisc add dev eth0 parent 1:3 handle 30: tbf rate 3000kbit buffer 1600 latency 50msec tc qdisc add dev eth1 root
2004 Nov 25
6
Shaping traffic on heavily oversubscribed links?
Hi all, I am having some fun with traffic shaping, and have run into an interesting situation. Here is South Africa, most internet links are heavily oversubscribed, which means that in most cases the local link is _not_ the bottleneck, and shaping on the local link does not help that much... Does anybody have some tips on shaping such links? How can you get interractive traffic if you
2004 Jun 25
1
TBF maximum bucket size
I''m trying to fill a token bucket with enough tokens to burst several gigs of data. However, it doesn''t seem to get any higher than ~3.9GB: >tc qdisc add dev eth0 root tbf rate 1440kbit latency 50ms \ burst 16000000000 >tc qdisc show dev eth0 qdisc tbf 800b: rate 1440Kbit burst 3908420240b lat 2197.8s A smaller attempt of ~1.6 gigs works just fine: >tc qdisc
2001 Feb 20
2
Incoming trafic shaping (depending on src IP)
Hi there, i''m trying to shape incoming trafic on my linux box. I want it to depend on the source IP adress of the packets (in fact, i got a VPN on an ADSL link and wanted to get at least/max 64Kbit/s for the VPN) So i tried this : tc qdisc add dev ppp0 root handle 1:0 cbq bandwidth 512Kbit avpkt 1000 cell 8 tc class add dev ppp0 parent 1:0 classid 1:1 cbq bandwidth 512Kbit rate
2005 Apr 06
3
tbf latency problems!
Hi i have found a problem related with tbf and the latency that the tbf calculates.. I have used the following parameters for burst and limit burst 100Kbit limit 500Kbit lat81.8ms burst 6Kbit limit 6Kbit lat 0us burst 200Kbit limit 100Kbit lat 4294.9s As u can see in the 3rd column the latency for 100Kbit burst and 500Kbit limit is 81.8ms but for 200Kbit and limit 100Kbit is 4294.9s!!! How
2007 May 10
6
PRIO and TBF is much better than HTB??
Hello mailing list, i stand bevor a mystery and cannot explain it J. I want to do shaping and prioritization and I have done these following configurations and simulations. I can“t explain, that the combination of PRIO and TBF is much better than the HTB (with the prio parameter) alone or in combination with the SFQ. Here are my example configurations: 2 Traffic Classes http (80 = 0x50) and
2005 Mar 17
0
cbq + gred doesn''t drop packets
Hi i have configured my server with cbq and gred. The problem is that the cbq doesnt drop packets. The cbq is configured at a rate of 500Kbit "qdisc cbq 4: rate 500000bit (bounded,isolated) prio no-transmit Sent 100103048 bytes 73933 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 24000 undertime 0 " The traffic that being generated is more than 5Mbit with the
2004 Apr 13
0
FWD IMQ mail on netdev
>From netdev@oss.sgi.com: ----- Forwarded message from jamal <hadi@cyberus.ca> ----- X-Original-To: sebek@localhost X-Received-Date: Mon, 12 Apr 2004 03:25:37 +0200 (CEST) Subject: (Long) ANNOUNCE: IMQ replacement WAS(Re: [RFC/PATCH] IMQ port to 2.6 From: jamal <hadi@cyberus.ca> Reply-To: hadi@cyberus.ca To: "Vladimir B. Savkin" <master@sectorb.msk.ru> Cc: