Re: [PATCH V6 1/1] Softirq:avoid large sched delay from the pending softirqs

2020-09-14 Thread Qais Yousef
On 09/14/20 16:14, pet...@infradead.org wrote: > On Mon, Sep 14, 2020 at 12:27:35PM +0100, Qais Yousef wrote: > > What does PREEMPT_RT do to deal with softirqs delays? > > Makes the lot preemptible, you found the patch below. > > > I have tried playing with enabling threadirqs, which AFAIU should

Re: [PATCH V6 1/1] Softirq:avoid large sched delay from the pending softirqs

2020-09-14 Thread peterz
On Mon, Sep 14, 2020 at 12:27:35PM +0100, Qais Yousef wrote: > What does PREEMPT_RT do to deal with softirqs delays? Makes the lot preemptible, you found the patch below. > I have tried playing with enabling threadirqs, which AFAIU should make > softirqs > preemptible, right? Not yet,.. > I re

Re: [PATCH V6 1/1] Softirq:avoid large sched delay from the pending softirqs

2020-09-14 Thread Qais Yousef
On 09/11/20 12:14, John Dias wrote: > I agree that the rt-softirq interaction patches are a gross hack (and I > wrote the original versions, so it's my grossness). The problem is that > even a 1ms delay in executing those low-latency audio threads is enough to > cause obvious glitching in audio und

Re: [PATCH V6 1/1] Softirq:avoid large sched delay from the pending softirqs

2020-09-14 Thread Qais Yousef
On 09/11/20 20:28, pet...@infradead.org wrote: > On Fri, Sep 11, 2020 at 05:46:45PM +0100, Qais Yousef wrote: > > On 09/09/20 17:09, qianjun.ker...@gmail.com wrote: > > > From: jun qian > > > > > > When get the pending softirqs, it need to process all the pending > > > softirqs in the while loop.

Re: [PATCH V6 1/1] Softirq:avoid large sched delay from the pending softirqs

2020-09-12 Thread jun qian
于2020年9月11日周五 下午11:55写道: > > On Wed, Sep 09, 2020 at 05:09:31PM +0800, qianjun.ker...@gmail.com wrote: > > From: jun qian > > > > When get the pending softirqs, it need to process all the pending > > softirqs in the while loop. If the processing time of each pending > > softirq is need more than

Re: [PATCH V6 1/1] Softirq:avoid large sched delay from the pending softirqs

2020-09-11 Thread peterz
On Fri, Sep 11, 2020 at 05:46:45PM +0100, Qais Yousef wrote: > On 09/09/20 17:09, qianjun.ker...@gmail.com wrote: > > From: jun qian > > > > When get the pending softirqs, it need to process all the pending > > softirqs in the while loop. If the processing time of each pending > > softirq is need

Re: [PATCH V6 1/1] Softirq:avoid large sched delay from the pending softirqs

2020-09-11 Thread Qais Yousef
On 09/09/20 17:09, qianjun.ker...@gmail.com wrote: > From: jun qian > > When get the pending softirqs, it need to process all the pending > softirqs in the while loop. If the processing time of each pending > softirq is need more than 2 msec in this loop, or one of the softirq > will running a lo

Re: [PATCH V6 1/1] Softirq:avoid large sched delay from the pending softirqs

2020-09-11 Thread peterz
On Wed, Sep 09, 2020 at 05:09:31PM +0800, qianjun.ker...@gmail.com wrote: > From: jun qian > > When get the pending softirqs, it need to process all the pending > softirqs in the while loop. If the processing time of each pending > softirq is need more than 2 msec in this loop, or one of the soft