Re: Pin-pointing the root of unusual application latencies

From: John Sigler
Date: Wed Jul 25 2007 - 09:20:28 EST


(Dropping oprofile-list@xxxxxxxxxxxxxxxxxxxxx)

Ingo Molnar wrote:

John Sigler wrote:

With a pair of the following in the middle:

softirq--4 0.... 670us : call_rcu (rt_run_flush)
softirq--4 0D..1 670us : __rcu_advance_callbacks (call_rcu)

Any idea what went wrong in the above function trace? Why is the kernel spinning in circles that way?

does your test-app have higher priority than softirq--4 ?

PID 4 is [softirq-timer/0] and has priority 50 in SCHED_FIFO.
My process has priority 80 in SCHED_RR. It is waiting for IRQ10.

My user-space app has higher priority than everything except
PID 2 which is [posix_cpu_timer]

Is this a priority inversion issue?

Regards.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/