All of lore.kernel.org
 help / color / mirror / Atom feed
* Softirq preemption
@ 2005-12-01 19:08 Lee Revell
  2005-12-07  1:31 ` Lee Revell
  2005-12-07  9:02 ` Ingo Molnar
  0 siblings, 2 replies; 4+ messages in thread
From: Lee Revell @ 2005-12-01 19:08 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

Ingo,

Is there any chance that the softirq preemption feature from the -rt
kernel can be pushed upstream?

Currently I am testing 2.6.14-rt21 with PREEMPT_DESKTOP and hard/softirq
preemption disabled in order to simulate the behavior of 2.6.14
mainline.  The network TX softirq is the longest non-preemptible code
path, it can run for 5-6ms.  However I can see that the preempt_count
drops to zero on many occasions, which IIRC means that no locks are held
and we could easily preempt at that point.

Without softirq	preemption I don't see how we have any chance of meeting
the 1ms goal for desktop responsiveness that was decided on at OLS 2004.

Lee

[-- Attachment #2: softirq-tx.trace.gz --]
[-- Type: application/x-gzip, Size: 36670 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Softirq preemption
  2005-12-01 19:08 Softirq preemption Lee Revell
@ 2005-12-07  1:31 ` Lee Revell
  2005-12-07  9:02 ` Ingo Molnar
  1 sibling, 0 replies; 4+ messages in thread
From: Lee Revell @ 2005-12-07  1:31 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

On Thu, 2005-12-01 at 14:08 -0500, Lee Revell wrote:
> Ingo,
> 
> Is there any chance that the softirq preemption feature from the -rt
> kernel can be pushed upstream?
> 

FWIW, here is the longest latency I see with 2.6.14-rt22, with the same
preemption settings as 2.6.14 + PREEMPT.  AFAICT a longish network
softirq gets interrupted by several disk and network interrupts which
adds up to ~1ms.  Is there any easy way to break up this code path that
could be acceptable for mainline, or does this seem like a reasonable
lower limit on achievable latency (until/unless PREEMPT_RT gets merged
etc)?

Lee

[-- Attachment #2: 2.6.14-rt22-trace.gz --]
[-- Type: application/x-gzip, Size: 7015 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Softirq preemption
  2005-12-01 19:08 Softirq preemption Lee Revell
  2005-12-07  1:31 ` Lee Revell
@ 2005-12-07  9:02 ` Ingo Molnar
  1 sibling, 0 replies; 4+ messages in thread
From: Ingo Molnar @ 2005-12-07  9:02 UTC (permalink / raw)
  To: Lee Revell; +Cc: linux-kernel


* Lee Revell <rlrevell@joe-job.com> wrote:

> Is there any chance that the softirq preemption feature from the -rt 
> kernel can be pushed upstream?

yeah, will do it, once the current hrtimer push has been completed. The 
softirq/hardirq preemption feature is dependent on the genirq patch too.

	Ingo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* SoftIRQ preemption
@ 2009-09-16 19:27 Meha Mehta
  0 siblings, 0 replies; 4+ messages in thread
From: Meha Mehta @ 2009-09-16 19:27 UTC (permalink / raw)
  To: linux-rt-users

Hi All,

I have a question regarding SoftIRQ in Linux RT patch. I see that
preemption is disabled during softirq execution. Shouldn't they be
preemptible? If not, what are the problems in Linux with SoftIRQ
preemption?

Thank you in advance for your help.

Thanks,
Meha

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-16 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-01 19:08 Softirq preemption Lee Revell
2005-12-07  1:31 ` Lee Revell
2005-12-07  9:02 ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2009-09-16 19:27 SoftIRQ preemption Meha Mehta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.