public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* High process latencies due to MPC5200 FEC hard- soft-irq processing
@ 2010-07-13 13:29 Wolfgang Grandegger
  0 siblings, 0 replies; only message in thread
From: Wolfgang Grandegger @ 2010-07-13 13:29 UTC (permalink / raw)
  To: Netdev; +Cc: linuxppc-dev@ozlabs.org, LKML

Hello,

we realized, that multiple ping floods (ping -f) can cause very large
high-priority process latencies (up to a many seconds) on a MPC5200
PowerPC system with FEC NAPI support. The latencies are measured with

  # cyclictest -p 80 -n

The problem is that processing of the ICMP pakets in the Hard-Irq and
Soft-IRQ context can last for a long time without returning to the
scheduler. Reducing MAX_SOFTIRQ_RESTART from 10 to 2 helps - the latency
goes down to 35 ms with 2 "ping -f" - but it's not a configurable
parameter, even if it somehow depends on the CPU power. And using the
-rt patches seems overkill to me. Any other ideas or comments on how to
get rid of such high process latencies?

Wolfgang.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-13 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-13 13:29 High process latencies due to MPC5200 FEC hard- soft-irq processing Wolfgang Grandegger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox