[Click] Queue Memory Allocation: vmalloc or kmalloc

rchertov at cs.ucsb.edu rchertov at cs.ucsb.edu
Thu Jul 1 16:00:07 EDT 2010


Not sure on the largest size array that you can allocate in Click, but if
the Queue element complains about the size, you should be able to just link
the packets back to back using "next" defined in the Packet class.  That
will require making a custom element, but it should do the trick.

Roman

On 12:44 pm 07/01/10 Latency Buster <latencybuster at gmail.com> wrote:
> I have a machine with 32GB Ram... I am testing a scenario to find out
> how long a burst can click handle based on varying service rate. If I
> make the incoming queue length = 1.5 million packets, will click
> allocate the memory using kmalloc or vmalloc? Since I have a machine
> with large ram (32GB), I was thinking of allocating 2GB for packet
> queues. Is that feasible with the current version of Click?
> 
> Thanks,
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list