[Click] Large argument lists
Eddie Kohler
kohler at cs.ucla.edu
Wed Oct 15 12:51:20 EDT 2008
Harald,
I guess a couple people have run in to this limit. I thought it was a string
length problem, but now I think maybe it is a bug. Can you send a URL (not an
attachment) to a sample user elvel config? Thank you.
E
Harald Schiöberg wrote:
> -----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-----
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list