search for: ceil

Displaying 20 results from an estimated 1301 matches for "ceil".

2005 Jan 21
4
which.pmin?
I have two vectors (k.floor and k.ceiling) of integers of the same length, and a function (fpr). b <- 10:40 k.floor <- floor(log(2) * b) k.ceiling <- ceiling(log(2) * b) fpr.floor <- fpr(b, k.floor) fpr.ceiling <- fpr(b, k.ceiling) If R had a element-wise ternary function, I'd like to do somethin...
2005 Nov 15
1
UDP transfer speed exceeding the ceil by about 4x
A bit more detail. I have the following htb classes set up... class htb 1:356 parent 1:4 leaf 356: prio 4 quantum 1600 rate 12800bit ceil 51680bit burst 15Kb/8 mpu 0b overhead 0b cburst 1663b/8 mpu 0b overhead 0b level 0 class htb 1:357 parent 1:4 leaf 357: prio 4 quantum 1600 rate 12800bit ceil 51680bit burst 15Kb/8 mpu 0b overhead 0b cburst 1663b/8 mpu 0b overhead 0b level 0 class htb 1:2 root rate 51200bit ceil 54400bit burst 64Kb...
2006 Jul 20
1
QoS doubt about network machine
...4 Mbit backbone coming from the telco I use... This is the link I serve to my clients, so I make this classes: $TC qdisc add dev $DL root handle 1: htb default 60 CLASS="/sbin/tc class add dev $DL parent" $CLASS 1: classid 1:1 htb rate 4096Kbit $CLASS 1:1 classid 1:10 htb rate 256Kbit ceil 3072Kbit burst 15k $CLASS 1:1 classid 1:20 htb rate 256Kbit ceil 1024Kbit burst 15k $CLASS 1:1 classid 1:30 htb rate 2048Kbit ceil 3072Kbit burst 15k $CLASS 1:1 classid 1:40 htb rate 256Kbit ceil 512Kbit burst 15k $CLASS 1:1 classid 1:50 htb rate 256Kbit ceil 256Kbit burst 15k $CLASS 1:1 classid 1:...
2005 Jul 19
10
Problem with HTB and ceil
Hi, I am trying to setup a shaper for my linux box and I am experiencing some problems. What I am trying to do is priorizing packets on the egress link, therefore I have setup some prio classes etc. The priorizing seem to work but the problem is that the ceil parameter doesnt seem to work on non leafs. This is what stats show: > class htb 1:1 root rate 3000bit ceil 3000bit burst 1602b/8 mpu 0b overhead 0b cburst 1602b/8 mpu 0b overhead 0b level 7 > Sent 770965 bytes 2139 pkts (dropped 0, overlimits 0) > rate 178264bit 62pps > lended: 0 borr...
2008 Jan 14
6
Ceiling to the nearest ten?
R-users, Is there a function for ceiling to the nearest ten? a <- 1:10*4 a [1] 4 8 12 16 20 24 28 32 36 40 The resulting vector should look like this ("ceiling to the nearest ten") [1] 10 10 20 20 20 30 30 40 40 40 Thanks in advance Lauri
2006 Feb 20
6
HTB, strange capacity distribution
...t up packet classification, made some basic HTB setup, made some simple graphical representation from HTB statistics data... BUT, I cannot figure out how to refine HTB to get this behaviour: I need that class "p2p" should be the last one to get some link capacity. If I set both RATE and CEIL for "p2p" to some constant value, everything is OK. When I set CEIL for "p2p" e.g. to 2048 kbps (total link capacity), "p2p" starts to get most of the link capacity and does not want to give capacity to other classes with higher priorities! I made a screen to help ex...
2012 May 22
2
[LLVMdev] Match operands
I'm trying to implement the standalone assembler for mips and I have encountered a problem in instruction operands matcher. In mips instruction set there are math instructions with two format flags in the mnemonic, one for source and one for destination register. For example ceil.w.s means both source and destination are F32 registers while ceil.l.d means both source and destination are F64 registers. Also, depending on the floating point unit configuration F64 may be either single 64 bit register or a pair of 32 bit registers. In the current implementation this instruction...
2004 Jan 19
3
Shaping inbound ok, outbound wrong
...I run:tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5 tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1 htb default 10 r2q 5 tc class add dev eth0 parent 1: classid 1:2 htb rate 3Mbit tc class add dev eth0 parent 1:2 classid 1:100 htb rate 128Kbit ceil 128Kbit tc qdisc add dev eth0 parent 1:100 handle 100 sfq perturb 10 tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst 200.43.134.15 classid 1:100 tc class add dev eth0 parent 1:2 classid 1:101 htb rate 128Kbit ceil 128Kbit tc qdisc add dev eth0 parent 1:101 handle 101 sfq pe...
2006 Feb 10
3
htb root don''t reach ceil rate?
Hello, i have a htb setup where the root and (nearly) all child classes has a ceil rate with max up from my adsl line. But the root class don''t reach the ceil value but some childs are get a huge backlog. My setup: (tc -d class show dev ppp0) [cleaned a bit] ******************************************************** class htb 1:1 root rate 576000bit ceil 576000bit burst...
2004 May 03
1
htb bandwith
Hi, tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit tc class add dev eth0parent 1:1 classid 1:3 htb rate 800Kbit ceil 2000kbit tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kbit tc class add dev eth0 parent 1:2 classid 1:22 htb rate...
2008 Apr 03
1
help with R semantics
Greetings: I'm running R2.6.2 on a WinXP DELL box with 2 gig RAM. I have created a new glm link function to be used with family = binomial. The function works (although any suggested improvements would be welcome), logit.FC <- function(POD.floor = 0, POD.ceiling =1) { if (POD.floor < 0 | POD.floor > 1) stop ("POD.floor must be between zero and one.") if (POD.ceiling < 0 | POD.ceiling > 1) stop ("POD.ceiling must be between zero and one.") if (POD.ceiling - POD.floor < difference.criterion) stop (paste(&quo...
2004 Oct 06
5
What is the reccomended minimum rate for leaf htb class for accurate operation?
.... I have disabled HYSTERESIS also (by setting it to 0). I have Intel Celeron 1.8Mhz (TSC supported I think). ******** My script ****** tc qdisc add dev eth0 root handle 1: htb default 22 r2q 10 # Class corresponding interface throughput tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit ceil 100mbit # Class for GLOBAL traffic tc class add dev eth0 parent 1:1 classid 1:20 htb rate 115kbit ceil 1mbit # Classes for PC-s tc class add dev eth0 parent 1:20 classid 1:21 htb rate 48kbit ceil 1mbit prio 2 tc class add dev eth0 parent 1:20 classid 1:22 htb rate 24kbit ceil 1mbit prio 3 tc clas...
2004 Jul 20
3
Fw: HTB - Really Big problem
...max-10] tx1=$[$txmax-10] # dla klasy domyslnej rxmin=$[$rx1/$licznik] txmin=$[$tx1/$licznik] echo rx $rxmin tx $txmin #echo $rxmin #root classes #rx tc qdisc del root dev eth1 tc qdisc add dev eth1 root handle 1:0 htb r2q 1 default 2 tc class add dev eth1 parent 1:0 classid 1:1 htb rate $rxmax$kbit ceil $rxmax$kbit #tx tc qdisc del root dev eth0 tc qdisc add dev eth0 root handle 2:0 htb r2q 1 default 4 tc class add dev eth0 parent 2:0 classid 2:1 htb rate $txmax$kbit ceil $txmax$kbit #r="$rxmax$kbit" #default classes #rx tc class add dev eth1 parent 1:1 classid 1:2 htb rate 10kbit ceil 1...
2004 Apr 13
4
tc does''nt limit the bandwidth!
...s. I used the following tc commands BUT IT FAILED TO LIMIT each and everyone of them to its bandwidth. What am I doing wrong: My tc scripts are: tc qdisc add dev eth1 root handle 1: htb default 1 #Classes# tc class add dev eth1 parent 1: classid 1:1 htb rate 9bps ceil 9bps #Default tc class add dev eth1 parent 1: classid 1:100 htb rate 9bps ceil 9bps #ICMP tc class add dev eth1 parent 1: classid 1:5 htb rate 144kbps ceil 256kbps #customer A tc class add dev eth1 parent 1: classid 1:101 htb rate 16kbps ceil 16kbps #customer B tc...
2004 Sep 17
4
Guaranteed rate per class and maximum ceiling per element in class???
Hi all, It is my understanding that with HTB, the rate and the ceiling are divided over the elements of the class. E.g. using a rate of 100 kb and a ceiling of 2000 kb for a class with 10 elements on a 100Mb NIC, the effect of the ceiling will be that if all elements are generating their maximimum possible trafic they will be effectively limited to ~ ceiling / numb...
2006 Feb 05
1
htb prio ...
Hey, I have such a script: tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2 tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil 512kbit tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil 1024kbit tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit ceil 3072kbit tc class add dev $DEV parent 1:21 classid 1:102 htb rate 64kbit ceil 128kbit prio 2 tc qdisc add dev $DEV parent...
2005 Apr 28
1
Packets Going to default class
...P4 box, and trying to test when iam uploading its working perfect, but when iam downloading its going to default class can some one experinced the same problem below is the my config $TC qdisc add dev $IFACE root handle 1: htb default 15 $TC class add dev $IFACE parent 1: classid 1:1 htb rate ${CEIL}kbit ceil ${CEIL}kbit $TC class add dev $IFACE parent 1:1 classid 1:10 htb rate 512kbit ceil 512kbit prio 0 $TC class add dev $IFACE parent 1:1 classid 1:15 htb rate 256kbit ceil 256kbit prio 0 $TC qdisc add dev $IFACE parent 1:10 handle 10: sfq perturb 10 $TC qdisc add dev $IFACE parent 1:15 h...
2012 May 22
0
[LLVMdev] Match operands
...te: > I'm trying to implement the standalone assembler for mips and I have encountered a problem in instruction operands matcher. > In mips instruction set there are math instructions with two format flags in the mnemonic, one for source and one for destination register. > For example ceil.w.s means both source and destination are F32 registers while ceil.l.d means both source and destination are F64 registers. Also, depending on the floating point unit configuration F64 may be either single 64 bit register or a pair of 32 bit registers. In the current implementation this instruction...
2004 Dec 02
1
FW: differing rate and ceil values
Hello all, when running tc -s -d class show dev eth, the parent class rate and ceil are different to the configuration? his is the first time I have used HTB so I may have made some basic mistakes. Thanks in advance Shaun Output as follows: class htb 1:1 root rate 760Mbit ceil 760Mbit burst 997641b/8 mpu 0b cburst 997641b/8 mpu 0b level 7 Sent 0 bytes 0 pkts (dropped 0, o...
2007 Aug 19
0
HTB qdisc within HTB root qdisc
...------------------------------------------------------------------------------ ### lan0 ### tcq="tc qdisc add dev lan0" tcc="tc class add dev lan0" $tcq root handle 10: htb $tcc parent 10: classid 10:1 htb rate 100000Kbit # LAN $tcc parent 10:1 classid 10:10 htb rate 80000Kbit ceil 100000Kbit prio 7 $tcq parent 10:10 sfq limit 50 perturb 1 # from wan0 $tcc parent 10:1 classid 10:11 htb rate 2048Kbit prio 3 # from wan1 $tcc parent 10:1 classid 10:12 htb rate 10000Kbit prio 3 ### lan0 - from wan0 ### tcq="tc qdisc add dev lan0" tcc="tc class add dev lan0&quo...