[Click] Large argument lists

Harald Schiöberg harald at net.t-labs.tu-berlin.de
Wed Oct 15 08:11:08 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I tried to create a DirectIPLookup element with a large (20000 entries)
static routing table by directly putting 20000 statements in the click
configuration.

The Element had only ~4000 routes afterwards (according the "table"
handler, which seems to reflect the forwarding behavior )
I assume that there is some limit to the argument length of elements.

a) How big is this limit? Where is it defined? Can it be extended?
I'm too stupid to find out how data is passed to confparse.cc, seems to
happen earlier.

b) What do you think about issuing a warning when this limit is reached
instead of silently dropping the rest of the argument list? Caused me
minor headache.

best,
	Harald


BTW, with something like:
 DirectIPLookup(4k entries) ->
 GetIPAddr(12) ->
 DirectIPLookup(4k entries)
userlevel click consumed ~20% CPU while filtering traces at
250MBytes/sec. impressive, thank you.


- --
Harald Schiöberg
Technische Universität Berlin | T-Laboratories | FG INET
www: http://www.net.t-labs.tu-berlin.de
Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI9d3by8wrZ9OvkU0RAsToAJ4yemsg1/R7FRIkPELmFq9A8sd4HACg8Jsj
fpJLlErJ1WA6zTKhclsy2DA=
=VSAG
-----END PGP SIGNATURE-----



More information about the click mailing list