[Click] SimpleQueue Performance issue

Yongheng Qi jetever at gmail.com
Wed Dec 9 03:59:18 EST 2009


userlevel or kernelmod?

2009/12/9 <remi.clavier at orange-ftgroup.com>

>
> I have not anderstant exactly how Simple Queue works.
> For a specific use, I patch SimpleQueue to add an annotation when the
> length is greather tha a given value using the packet->uniqueify()
> function to have a new packet to annotate .When the ModifiedQueue is
> empty, nothing special happends.
>
> But when the Queue contains Packets, the CPU usage grows very quickly
> and go to 100% when the numbre of packets in the queue becomes higher;
> When the Queue becomes empty, the CPU usage decrease slowly to a normal
> value
>
> I's a normal behavior for a Simple Queue or is this problem related to
> my patch?
>
>
> I use click 1.7 with multithread option.
>
> Help will be welcome
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



-- 
Yongheng Qi

Mobile: +86 1390 119 7481


More information about the click mailing list