[Click] SimpleQueue Performance issue
remi.clavier at orange-ftgroup.com
remi.clavier at orange-ftgroup.com
Wed Dec 9 04:17:04 EST 2009
It's a bug of Simple Queue in userlevel? It's is identified and a fix expected?
It's a work aroud other tha kernel level use?
I can't use kernel level at this time...
Thanks for all
Rémi
________________________________
De : Yongheng Qi [mailto:jetever at gmail.com]
Envoyé : mercredi 9 décembre 2009 10:12
À : CLAVIER Remi RD-CORE-LAN
Objet : Re: [Click] SimpleQueue Performance issue
I used Queue on userlevel, have the same problem. but use it in kernel level, no problem.
by the way, I find in kernellevel, Queue and NotifiyQueue have the same proformance.
2009/12/9 <remi.clavier at orange-ftgroup.com>
userlevel
Thanks
________________________________
De : Yongheng Qi [mailto:jetever at gmail.com]
Envoyé : mercredi 9 décembre 2009 09:59
À : CLAVIER Remi RD-CORE-LAN
Cc : click at pdos.csail.mit.edu
Objet : Re: [Click] SimpleQueue Performance issue
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
--
Yongheng Qi
Mobile: +86 1390 119 7481
More information about the click
mailing list