Displaying 20 results from an estimated 333 matches for "divisors".
Did you mean:
divisor
2006 Feb 10
14
[PATCH] TC: bug fixes to the "sample" clause
PATCH 1
=======
On my machine tc does not parse filter "sample" for the u32
filter. Eg:
tc filter add dev eth2 parent 1:0 protocol ip prio 1 u32 ht 801: \
classid 1:3 \
sample ip protocol 1 0xff match ip protocol 1 0xff
Illegal "sample"
The reason is a missing memset. This patch fixes it.
diff -Nur iproute-20051007.keep/tc/f_u32.c iproute-20051007/tc/f_u32.c
2006 Feb 08
1
Divisor
What is the difference between lines below?
$TC filter add dev imq0 parent 1:0 prio 5 handle 1: protocol ip u32
divisor 1
$TC filter add dev imq0 parent 1:0 prio 5 handle 2: protocol ip u32
divisor 256
What divisor is doing?
And the last problem...
$TC filter add dev imq0 protocol ip parent 1:0 prio 5 u32 ht 800:: match
ip src 10.0.0.0/16 hashkey mask 0x000000ff at 12 link 2:
Why after ht
2008 Feb 25
4
A more idiomatic way to write this
Hello,
I have a vector of 1,000,000 numbers and another vector of 1,000
divisors. What I'd like to do is to divide the first 1,000 numbers of
the first vector by the first divisor, then the next 1,000 by the second
divisor and so on. I came up with this, but I was wondering if there is
a more idiomatic, R-like way to write it:
x <- ...
divs <- ...
for (i in seq(from...
2010 Aug 15
1
greatest common divisor
Hello,
Is there a function in R with which we could find the greatest common
divisor directly?
Or is there a funciton, which could help us to find the remainder of a
division directly?
Best wishes! Thank you!
Your truly, Qing
--
View this message in context: http://r.789695.n4.nabble.com/greatest-common-divisor-tp2326262p2326262.html
Sent from the R help mailing list archive at
2015 Mar 13
0
[PATCH] sd, mmc, virtio_blk, string_helpers: fix block size units
On 6 March 2015 at 03:47, James Bottomley
<James.Bottomley at hansenpartnership.com> wrote:
> From: James Bottomley <JBottomley at Parallels.com>
>
> The current string_get_size() overflows when the device size goes over
> 2^64 bytes because the string helper routine computes the suffix from
> the size in bytes. However, the entirety of Linux thinks in terms of
>
2015 Mar 13
0
[PATCH] sd, mmc, virtio_blk, string_helpers: fix block size units
On 6 March 2015 at 03:47, James Bottomley
<James.Bottomley at hansenpartnership.com> wrote:
> From: James Bottomley <JBottomley at Parallels.com>
>
> The current string_get_size() overflows when the device size goes over
> 2^64 bytes because the string helper routine computes the suffix from
> the size in bytes. However, the entirety of Linux thinks in terms of
>
2018 Jan 29
2
Centos 7 add-on serial cards
On 01/28/18 20:15, Fred Smith wrote:
> On Sun, Jan 28, 2018 at 12:10:29PM -0500, Pete Geenhuizen wrote:
>> I'm upgrading from CentOS6 to CentOS 7.
>>
>> I run 2 weather stations on C6 and have one of them attached to
>> ttyS0 which is on the motherboard, and the other to ttyS2 which in
>> on an add-on PCI serial card.
>>
>> I'm migrating the
2007 Nov 20
3
Problem deleting tc rules
Hi all! :)
I see that this is partially covered in the mailing list archive
but at the moment I can''t find a straight & working answer.
I have an imq device with dynamically attacched classes/qdiscs/filters.
There is a hashing filter that maps the last octet of an user''s IP address
to a class (and associated qdisc). The "empty" filter looks like this:
filter
2005 Jan 27
1
question about filter priorities and "tc -d filter show" output
The interface is setup like this:
# tc qdisc del dev eth0 root
# tc qdisc add dev eth0 root handle 1: htb default 2
# tc class add dev eth0 parent 1: classid 1:2 htb rate 20mbit ceil 20mbit
If I add a second class and a filter to send traffic to it like this:
# tc class add dev eth0 parent 1: classid 1:130 htb rate 1Mbit ceil 1Mbit
# tc filter add dev eth0 protocol ip parent 1:0 prio 130 u32
2005 Dec 09
0
error in TC FILTER documentation ???
I''ve done some tests with TC FILTER and his PRIO
and think that is an error or OMISION on TC FILTER DOCUMENTATION
from: http://lartc.org/howto/lartc.qdisc.filters.html#AEN1100
Let''s say we have a PRIO qdisc called ''10:'' which contains three
classes, and we want to assign all traffic from and to port 22
to the highest priority band, the filters would be:
2006 Dec 16
0
Tc u32 divisor value
Hello,
I wonder if there is a way to have a divisor bigger than 256 when
creating hash tables with u32. It would really be great.
Thanks
2020 Aug 30
5
BUG: complete misunterstanding of the MS-ABI
Objects compiled for the MS-ABI don't conform to it!
Data types beyond 64 bit MUST BE returned by the callee via the
hidden first argument allocated by the caller, NOT in XMM0!
Demo/proof: from this source
--- llvm-bug.c ---
#ifndef __clang__
typedef struct {
unsigned __int64 low;
unsigned __int64 high;
} __uint128_t;
#else
__attribute__((ms_abi))
#endif
__uint128_t
2005 Jan 04
11
ESFQ?
Hi again,
I was just looking around for ESFQ sources, and I see that the main site
is down, and only has kernel 2.6.4 patches.
Is ESFQ maintained? If so, where can I find patches for 2.6.10?
Thanks,
-justin
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2004 Jun 26
0
Hash table
Sorry for all the questions I''m just trying to understand how it all works. Thank
you for your time.
Is the following configuration possible? where ht 800 links to 3: for the 3rd Octet
in the IP and then 3: links to 4: for the fourth Octet?
tc filter add dev eth0 parent 1:0 prio 10 handle 3: protocol ip u32 divisor 256
tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 ht 800::
2011 Jul 16
4
Z-test
Hi,
please could you recommend a R package that computes a 2 sample z-test ?
thanks,
Bogdan
[[alternative HTML version deleted]]
2006 Nov 22
3
odd behaviour of %%?
...icts whether x%%0.1 will give an answer of 0 or 0.1. I could
find
no explanation of the way that %% works in the R manuals. So, I have 3
questions:-
1) Why is the modulus of 0.3%%0.1 (and 0.5%%0.1 and 0.6%%0.1...) not zero?
2) Are there any algorithms in R that use the %% operator with fractional
divisors
in this way, and do they know about its apparently inconsistent behaviour?
3) If %% is not intended for use with fractional divisors, then would it be
a
good idea to trap attempts to use them?
Thanks, in advance, for your help
Jonathan Williams
2003 Nov 24
1
u32 filter divisor/hashkey
Hi,
I am trying to put together a hashing filter based on example provided in
LARTC how-to document.
I want to link two hashing filters together where first one will use 3rd
octet of an IP address as hashkey and second one will use 4th octet as hash
key.
How do I tell mask the address so that u32 filter uses 3rd octet as hashkey?
Venkatesh K
_______________________________________________
2007 Feb 17
4
Order of ''tc filer''
Hi
How can I control which filter a packet will meet first?
I have tried changing the order of applying the tc filter scripts and
switching flowid number, but ''protocol ip u32 match ip src <ip net>
match ip src 0.0.0.0/0'' always kicks in first?
>From my script
--------------------
# All traffic - Priority: Low
tc filter add dev eth0 parent 1:0 prio 2 protocol ip u32
2005 Oct 17
5
TC show filter command shows all u32 filters defined with different priority iin all priority.
Hi,
I am currently working on the TC.
I have seen some behaviour which seems to be odd.
I know someone in the mailing list would have seen this problem or may
have some fix for this problem.
When I try to include u32 filters with different priority or pref, I
could see the filters being set on all the priority''s irrespective of
the priority number.
See my sample script below and the
2007 May 05
3
Massive filtering
I am trying to build a trafic control rule set for a huge NATed network, and I have it working for single known addresses but I need to scale it to 16M potential client addresses. I''m using iptables for NAT. Incoming traffic is simple because I can match destination address, outgoing traffic I use iptables IPMARK then tc match mark and it works perfectly if I build rules for each client