Displaying 20 results from an estimated 691 matches for "lend".
Did you mean:
len
2007 Dec 31
2
the woes of NA
Joyful.
I'm adapting a FORTRAN 77 package for use with R. Pretty
straightforward.
Except for a glitch it took me some time to figure out. This existing
package has subroutines which have parameters called "NA". So, I called
subroutines like
bnodes <- function(n, lst, lptr, lend, nodes, nb, na, nt)
{
ensure.all.numeric(list(n, lst, lptr, lend, nodes, nb, n.a, nt),
"all arguments to -bnodes- must be numeric")
out <- .Fortran("bnodes", N=as.integer(n), LIST=as.integer(lst),
LPTR=as.integer(lptr), LEND=as.inte...
2004 Dec 31
1
qdisc statistics
Hi,
I am trying to relate the lended and borrowed statistics to the others
and, in particular, compare them with the assigned rates for each class.
My understanding is that the lended and borrowed stats are expressed as
a number of packets but over what time period do the numbers refer?
In addition, for a particular class why do...
2006 Feb 22
4
issue with plot (type="h")
Hello everyone.
For reasons too long to explain I wanted to do plots similar to histograms with plot(type="h").
I ran into a problem - if I set line width too high, histogram isn't accurate anymore.
For example:
par(lend=2)
plot(c(2,4,3,2),ylim=c(0,5), type="h")
abline(h=3)
Column 3 appears just as high as it should. But if I do
par(lend=2)
plot(c(2,4,3,2),ylim=c(0,5), type="h",lwd=100)
abline(h=3)
then columns become too high. Can I correct the problem or is there another way to display my d...
2009 Mar 23
2
matplot does not considere the parametre lend (PR#13619)
Full_Name: Christophe Genolini
Version: 2.8.1, but also 2.9
OS: Windows XP
Submission from: (NULL) (82.225.59.146)
I am using matplot with the option lend="butt", but only the first line (the
black) is printed correctly :
> matplot(matrix(1:9,3),type="c",lwd=10,lty=1,lend="butt")
Gabor Grothendieck find the problem in matplot code:
the ... is passed to plot (which plots the first series) but not to lines (which
plo...
2006 Jul 07
4
How to change the type of segments ends?
Hi,
I am trying to plot odds ratios and the corresponding confidence
intervals in horizontal segments. It would be ideal if the confidence
interval segment can be drawn with little vertical bars at both ends. I
have tried very hard to change the type of ends by using 'lend'
arguments, but cannot make it. I even tried 'arrows()', but still
failed. Following is the code I use:
====================================================
drug.or <- c(1.017,1.437,1.427,2.211)
drug.orl <- c(0.715,1.075,1.103,1.696)
drug.oru <- c(1.446,1.922,1.845,2.882)
yaxi...
2005 Jun 10
2
HTB lended and borrowed
...v eth1" against an HTB qdisc results in the output of class summaries similar to this:
class htb 1:10 parent 1:1 leaf 10: prio 0 rate 150000bit ceil 1466Kbit burst 2Kb cburst 2Kb
Sent 158641651 bytes 771351 pkt (dropped 0, overlimits 0 requeues 0)
rate 8064bit 7pps backlog 0b 0p requeues 0
lended: 680985 borrowed: 90366 giants: 0
tokens: 173443 ctokens: 17746
Does anyone know the units of measurement for the reported "lended" and "borrowed" values?
--
Emmet Ford
Lancer Insurance Company
+1 516.431.4441 Ext. 3233
eford@lancer-ins.com
==============...
2006 Apr 07
3
can we lend a hand?
...s with 10+ years of experience working with
clients both large and small.
The Sjobeck Company can provide turn-key solutions, or design,
build, deliver, install, configure and deploy solutions any where in
the world. We also do performance tuning and troubleshooting of
existing systems.
Can we lend a hand?
www.sjobeck.com
2008 Feb 15
2
wire.frame tick labels from matrix
...ve not been successful.
Thanks in advance. keith
rm(list=ls())
sen<-read.csv("brooktroutsort.csv")
#Resistance
R=c(660, 548, 676, 763, 768, 692, 657, 630, 748, 680, 786, 645, 710, 677,
692, 732, 737, 651, 396,
601, 640, 448, 464, 472, 434, 487, 495, 426, 429, 456)
#Detector length
Lend=c(37.0, 39.0, 39.0, 39.0, 40.0, 41.5, 44.0, 45.0, 46.0, 47.0,
47.0, 48.0,
48.5, 49.0, 51.0, 53.0, 53.0, 60.0, 89.0, 103.0, 108.5, 118.0, 118.0,
123.0,
126.0, 138.0, 139.0, 141.0, 141.0, 151.0)
#Errors to be multiplied by Restistance
x=c(0,.05,.10,.15,.20,.25)
#Errors to be multipli...
2003 Jul 05
13
HTB doesn''t respect rate values
...dev eth0 protocol ip parent 1:0 prio 1 u32 match ip sport
80 0xffff flowid 1:2
I make a test:
I send an email - it goes to default class 1:3. Then (during email is
sent) I get e big file through www. What happen? WWW rate is 30-70kbit.
So it doesn''t keep his guaranted rate 122kbit. It lends his rate for
SMTP. When SMTP stops sending his packets, WWW gets 100%.
In real, I''ve got the more complicated configuration (64 kbit for www,
40kbit for pop3, 6kbit for smtp 12kbit for others), but the problem
remains: www doesn''t get hit minmal rate. Extremally it gets <...
2007 Jun 21
1
A HTB problem
...e output for tc -d -s class show dev vlan2 is like the following for
root rate is 50Mbit and ceil for class is 50Mbit:
class htb 1:11 parent 1:1 leaf 110: prio 0 quantum 37500 rate 3000Kbit
ceil 10000Kbit burst 50Kb/8 mpu 0b overhead 0b cburst 14098b Sent 0
bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 111847 ctokens: 9240
class htb 1:1 root rate 50000Kbit ceil 50000Kbit burst 64093b/8 mpu 0b
overhead 0b cburst 64093b/8 mpu 0b overhead 0b level 7 Sent 574199301
bytes 563132 pkts (dropped 0, overlimits 0) rate 48914Kbit 5996pps
lended: 556777 borrowed: 0 gia...
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
2004 Apr 06
11
htb2 -> htb3 problems
Hello!
I need to switch from htb2 to htb3, because of speed issues (for me,
htb2 is unable to handle more then 100mbit duplex with ~550 classes),
kernel profiling shows htb_dequeue_prio at 1st place with 3x isolation.
So, I''ve moved from 2.4.19 to 2.4.25 kernel (hi-pac for classification/marking
and htb3 for queueing), and traffic rate drop from 100 to 20mbit.
What can be wrong? The
2003 Jan 07
1
Trouble about snmp.html
I used Stef Coene''s snmp.pl.
#./tc.sh
#./get_snmp.pl
#./snmp.pl
#tc -s class ls dev eth0
class htb 20:1 root rate 80Mbit ceil 80Mbit burst 106440b cburst 106440b
Sent 674762 bytes 5660 pkts (dropped 0, overlimits 0)
rate 3bps
lended: 0 borrowed: 0 giants: 0
tokens: 8313 ctokens: 8313
class htb 20:10 parent 20:1 rate 40Mbit ceil 80Mbit burst 54017b cburst 106440b
Sent 670753 bytes 5598 pkts (dropped 0, overlimits 0)
rate 3bps
lended: 0 borrowed: 0 giants: 0
tokens: 8434 ctokens: 8313
class htb 20:100 parent 20:10 rate...
2006 Feb 10
3
htb root don''t reach ceil rate?
...e:
********************************************************
tc -s -d class show dev ppp0
class htb 1:1 root rate 576000bit ceil 576000bit burst 30Kb/8 mpu 0b
overhead 0b cburst 1739b/8 mpu 0b overhead 14b level 7
Sent 1485575598 bytes 3140554 pkts (dropped 0, overlimits 0)
rate 480008bit 115pps
lended: 1904616 borrowed: 0 giants: 0
tokens: 385702 ctokens: -26458
class htb 1:10 parent 1:1 leaf 100: prio 0 quantum 7500 rate 58000bit
ceil 115000bit burst 1480b/8 mpu 0b overhead 0b cburst 1508b/8 mpu 0b
overhead 14b level 0
Sent 1186471 bytes 15097 pkts (dropped 0, overlimits 0)
rate 152bit...
2007 Jun 06
4
how hierarchical is HTB?
...children classes 1:100 (10,100) and 1:101 (20,100)
1:20 children classes 1:200 (30,100) and 1:201 (70,100)
I managed to have the root rate equals to the sum of its children.
But how must the rates of the leaves be signed?
And how the bandwidth of these leaves will be distributed when
borrowing/lending is necessary?
classs 1:10 will/may lend/borrow from class 1:20. I know that.
But how about 1:1XX and classes 1:2XX? will the borrow/lend from each
others?
Any docs about this?
Thanx
Ethy
2002 Apr 26
9
[Fwd: Re: borrowing only from parent]
...{,c}burst to 1600, or leaving them by default but
no visible result.
here is the latest tc -s -d class show dev eth0
class htb 1:101 parent 1:1 prio 0 rate 40Kbit ceil 40Kbit burst 1599b/8
mpu 0b cburst 1599b/8 mpu 0b quantum 512 level 0 Sent 392526 bytes 5898
pkts (dropped 0, overlimits 15394) lended: 5898 borrowed: 0 giants: 0
injects: 0
tokens: -11905 ctokens: -11905
class htb 1:1 root prio 0 rate 100Kbit ceil 1Kbit burst 1599b/8 mpu 0b
cburst 1599b/8 mpu 0b quantum 1280 level 3 Sent 956111 bytes 14168 pkts
(dropped 0, overlimits 0) rate 12bps lended: 566 borrowed: 0 giants: 0
injects:...
2006 Sep 09
2
Re: htb traffic shaping problem (Charlie Meyer)
...-d class show dev eth0
class htb 1:99 parent 1:1 leaf 99: prio 0 quantum 3000 rate 900000Kbit ceil
1000Mbit burst 451350b/8 mpu 0b overhead 0b cburst 501375b/8 mpu 0b
overhead 0b level 0
Sent 48695 bytes 398 pkt (dropped 0, overlimits 0 requeues 0)
rate 2704bit 2pps backlog 0b 0p requeues 0
lended: 398 borrowed: 0 giants: 0
tokens: 4326 ctokens: 4325
class htb 1:1 root rate 1000Mbit ceil 1000Mbit burst 501375b/8 mpu 0b
overhead 0b cburst 501375b/8 mpu 0b overhead 0b level 7
Sent 32821394 bytes 994 pkt (dropped 0, overlimits 0 requeues 0)
rate 3556Kbit 10pps backlog 0b 0p requeues 0...
2003 Mar 12
1
apply with two matrixes
...the single matrix over all matrixes in the list.
Example (this does not work this way),
m #original matrix
l <- list(m1, m2, m3, ...) #list of matrixes
f1 <- function(a, b){body}
f2 <- function (mx) apply(mx, 2, f1, b = m)
lapply(l, f2)
What I want to end up with is a list of list (say lend), where
length(lend) = length(l)
length(lend[[any]]) = varies with some properties of the matrixes
My guess is that I sould use tapply, but I could not get it right.
The problem would be pretty easy with a loop, but efficiency is very
important, because the objects are huge and functions a computa...
2007 Oct 25
7
TC (HTB) doesn''t work well when network is congested?
Hi,
I have a server and ten clients in a Gigabit network. The server has
125mbps network bandwidth.
I want that the server has 40Mbps bandwidth reserved for client 1 (IP
192.168.5.141), and the
rest bandwidth is for all other clients.
My script looks like this (I use IFB for incoming traffic):
#!/bin/bash
export TC="/sbin/tc"
$TC qdisc add dev ifb0 root handle 1: htb default 30
2006 Mar 08
1
negative token/ctokens
In this simple htb setup:
# tc -s -d class ls dev eth0
class htb 1:1 root rate 300000bit ceil 300000bit burst 1749b/8 mpu 0b overhead
0b cburst 1749b/8 mpu 0b overhead 0b level 7
Sent 13171835 bytes 13169 pkt (dropped 0, overlimits 0 requeues 0)
rate 45848bit 10pps backlog 0b 0p requeues 0
lended: 5272 borrowed: 0 giants: 0
tokens: -84429 ctokens: -84429
class htb 1:2 parent 1:1 prio 0 quantum 1500 rate 80000bit ceil 300000bit
burst 1639b/8 mpu 0b overhead 0b cburst 1749b/8 mpu 0b overhead 0b level 0
Sent 12243472 bytes 8787 pkt (dropped 0, overlimits 0 requeues 0)
rate 43264bit 6pps...