Displaying 20 results from an estimated 800 matches similar to: "[HTB] about SCHED_JSCALE value"
2006 Feb 14
1
Guarantee ICMP respond time ?
Hello to all people there .
Can i guarantee ICMP respond time no metter how loaded is internet line .
i have typical NATed enviroiment like
External IP |linux router| LAN - 192.168.0.0/24
i have example setup with IMQ but is it possible to be done also if i
attache htb to eth0 and eth1 for example .
if i start shaper ping i better that without shaper but it''s not
guarantted i mean
2004 Nov 19
2
HTB&IMQ
i''m trying to limit upload and download but something is wrong(it is about NAT)
i will post here my "script" maybe someone could tell me what is wrong
my kernel(2.6.9) is patch with imq(linuximq.net) and my iptables(1.2.11) also
#flush
tc qdisc del dev eth0 root
tc qdisc del dev eth1 root
tc qdisc del dev imq0 root
tc qdisc del dev imq1 root
ifconfig imq0 down
2005 Jan 24
3
Htb, imq and sfq traffic shaping
Hello,
I wrote a simple traffic shaping script (below) that should have allowed me to shape my internet traffic a bit (ppp0 - adsl 128kbit/64kbit; local interface eth0).
The script works only partially - the speed is being limited but too much. Without running this script my download rate is about 10kBytes (with second computer also downloading at about 6kBytes). After running it my download speed
2007 May 02
7
tc u32 match !port
How can i redirect all traffic that not come from port 80 to a flow ?
i was thing about some like
tc filter add dev imq1 parent 1: protocol ip prio 7 u32 match ip sport
!80 ......
But this not work.
Another doubt, if i have two rules that intersects , for example ,
one filter with u32 match ip src 10.10.10.10 flowid 1:10
and other with u32 match sport 80 0xffff flowid 1:11 , which one will
2005 May 18
4
HTB + IMQ + IPtables marking.
Folks,
I''m so surprised what happened to my box just in the few weeks lately.
Here is my setup:
INTERNET <----------> [eth0] SHAPER-BOX [eth1] <----------> USER-FARM
both eth0 & eth1 got public ips (202.x.x.x)
Why traffic monitored at eth0 is bigger than eth1 ?
eth1 shaped just exactly the same as rate i defined in HTB.
I just have 1024Kbps from my ISP and i defined the
2007 Mar 22
8
Shape own router
On 2/19/07, Salatiel Filho <salatiel.filho@gmail.com> wrote:
> Well , thanks to imq all my client machines are now shaped and
> everything is great ...
> But now i have a doubt , is there a way to shape the traffic that goes
> to the route [doing a wget from the router for example ]?
>
>
> I have a PREROUTING IMQ0 and a POSTROUTING IMQ1 , everything is
> working like
2005 Jul 27
8
IMQ
ive got such network:
|--------| |-------------|
| WORLD |---|ROUTER/server| ------ NATED LAN
|--------| |-------------|
I want to use imq on ROUTER, what behaviour to choose ? AA, BA, AB, BB ??
--
2005 Jul 08
5
HTB Rate and Prio
Hi,
I wanted to implement some QOS on my Linux Box with HTB, but after some time
spend
on the configuration and tests, I still don''t manage to have some correct
results. Here are the details :
-ROOT 2000 kbits
-HIGHPRIO SUBCLASS 50 kbits prio 0
-SUBCLASS1 750 kbits prio 1
-SERVICE1 250 kbits prio 1
2005 Jun 08
14
HTB is being hang my computer :/
What''s wrong... I have Celeron 633MHz nd 768Mb RAM.
When I''m running my script everything is OK, but when I''m connecting
Internet and LAN link computer is hanging. But when i dissconnect this
everything is OK.
I have 500 users, 1500 classes and 3000 filters.
Is it normal? What should I do?
2007 Feb 27
2
Creating a contended section of bandwidth with HTB and IMQ
Hi All,
I''m trying to create a contended section of bandwidth using IMQ. I have the
imq0 device up and running, with traffic passing through it.
Firstly, I need to throttle the entire device imq0 to 2mbit/s.
I would then like to add throttle rules for individual IP addresses, allowing
them to pass up to 512kbit/s each, as long as imq0 has not reached its
2mbit/s.
The configuration
2005 May 24
6
Problem with marking packets...
Hello everyone...
I have a little trouble and need some help :P
How can I check on which interface the packet is going (eth0, eth1; I
have two ISP and on eth3 little LAN), using to check it TC and IMQ? (HTB
script)
I tried to mark packets, but on chain POSTROUTING this does not work...
Maybe because packets fall on IMQ before signing.
I tried marking it on FORWARD but packets also
2007 Oct 11
1
creating summary functions for data frame
I have a data frame that looks like this:
> gctablechromonly[1:5,]
refseq geometry gccontent X60_origin X60_terminus length kingdom
1 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria
2 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria
3 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria
4 NC_009484 cir 0.6799
2005 Apr 27
8
urgent question about tcng!
Hello List,
I''m new to QoS/tcng/HTB and friends, so please forgive me if my question
might be silly...
After having read lots of HowTo documents I''m totally confused...
The Challenge:
==============
I''ll have to deploy several "mirror" download servers (Linux) which must be
able to handle a huge number of HTTP download requests (about 10k to 20k
unicast
2004 May 06
3
tcng ingress policing question
Hi all
I started playing with tcng to generate my tc rules, but I have some
difficulty implementing my rules...
The script below generates an error:
# Device eth0
tc qdisc add dev eth0 ingress
beginner.tc:2: don''t know how to build meter for this
The script is below, I changed the real IP numbers for XXs and YYs,
since it doesn''t really matter what they are. eth0 is the
2010 May 24
7
Random dom0 lock up
Hi guys,
Having a weird issue with a Dom0. When we were running 2.6.18.8 kernel
the server would lock up every 2 weeks for no reason. Its been a
difficult one to resolve as there are no errors. We have now upgraded
to 2.6.32.13 and the lock ups are more often. For example today it
crashed in the morning, then it was rebooted and it crashed again about
5 hours later, no logs.
The
2006 May 11
9
HFSC and prioritization
I''m using HFSC to limit bandwidth for our wireless customers. However,
I''d also like the bandwidth prioritized based on packet type. This is
what I''m trying right now, and I''d just like some input from anyone out
there knowledgeable in this on whether it does what I want it to do:
Eth1 -> HFSC
........|-> HFSC (User1) (Min 512 Kb, Max 1024 Kb, Burst 1536
2004 Jun 13
1
[Help] IMQ download traffic is duplicated !?
Hi,
I have a default class for my un-marked traffic (prio 5) and a prio 0 class for the important stuff,
but I do not understand why my download traffic is duplicated in both.
It work fine for my upload traffic (same setting except the red class but I have the same
result if I create an esfq instead).
Any comments/information will be appreciated.
Below my config :
tc commands from my scirpt :
2004 Jan 20
4
Fair bandwidth oversubscribing ? How with HTB ?
Hopefully someone has a suggestion on how I might do this...as I can''t
figure it out :(
I need to be able to set up a group of seperate users who have a
"bandwidth pool" they share, but also be able to limit their individual
bandwidth as well.
Example:
I have 5 customers and would like to be able to provide them with a
maximum of 256Kbit each, with a CIR of 33%.
To do this,
2002 May 21
5
ingress and egress
ingress can be used to control the incoming packet,
such as:
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.11 police rate 10kbit burst
10k drop flowid :1
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.22 police rate 10kbit burst
10k drop flowid :2
first ,I do not sure these method can
2007 Sep 19
2
function on factors - how best to proceed
Sorry about this one being long, and I apologise beforehand if there
is something obvious here that I have missed. I am new to creating my
own functions in R, and I am uncertain of how they work.
I have a data set that I have read into a data frame:
> gctable[1:5,]
refseq geometry X60_origin X60_terminus length kingdom
1 NC_009484 cir 1790000 773000 3389227 Bacteria
2