kohler / click

The Click modular router: fast modular packet processing and analysis
Other
735 stars 322 forks source link

RatedSource userlevel high CPU #435

Closed ppatel826 closed 5 years ago

ppatel826 commented 5 years ago

I wrote a simple rated traffic generation using RatedSource element. The click config generated 100KBps UDP traffic. When I ran that in userlevel the single core CPU ran at 100% until that packet generation LIMIT was reached. Is this normal? How can I optimize for traffic generation?

tbarbette commented 5 years ago

What is the downstream pull to push element ? If it does not support notifications it will pull endlessly.

ppatel826 commented 5 years ago

Pull Element. Which downstream element you can recommend to achieve high data rate traffic stimulation?

ppatel826 commented 5 years ago

Following is sample configuration. image

ppatel826 commented 5 years ago

Fixed it by adding PullNull