Re: [PATCH 06/13] net: mvneta: enable mixed egress processing using HR timer

2015-12-02 Thread Marcin Wojtas
Hi Simon, I checked using hrtimer_is_queued instead of a custom flag and it resulted in ~20kpps drop in my setup. timer_scheduled flag is cleared in the tasklet, so no timer can be scheduled until the tasklet is executed. hr_timer flags do not cover this situation, so much more timers are

Re: [PATCH 06/13] net: mvneta: enable mixed egress processing using HR timer

2015-11-30 Thread Marcin Wojtas
Hi Simon, 2015-11-26 17:45 GMT+01:00 Simon Guinot : > Hi Marcin, > > On Sun, Nov 22, 2015 at 08:53:52AM +0100, Marcin Wojtas wrote: >> Mixed approach allows using higher interrupt threshold (increased back to >> 15 packets), useful in high throughput. In case of small

Re: [PATCH 06/13] net: mvneta: enable mixed egress processing using HR timer

2015-11-26 Thread Simon Guinot
Hi Marcin, On Sun, Nov 22, 2015 at 08:53:52AM +0100, Marcin Wojtas wrote: > Mixed approach allows using higher interrupt threshold (increased back to > 15 packets), useful in high throughput. In case of small amount of data > or very short TX queues HR timer ensures releasing buffers with small >

[PATCH 06/13] net: mvneta: enable mixed egress processing using HR timer

2015-11-21 Thread Marcin Wojtas
Mixed approach allows using higher interrupt threshold (increased back to 15 packets), useful in high throughput. In case of small amount of data or very short TX queues HR timer ensures releasing buffers with small latency. Along with existing tx_done processing by coalescing interrupts this