Re: NOHZ: local_softirq_pending

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 18 Jun 2009, Iratxo Pichel Ortiz wrote:
> I have not tried this with the function tracer enabled, I will build the
> kernel again and enable this tracer. Which function should I trace? Any hint
> about this? I have a couple of systems running so I can make any trace you
> would like. I will try to figure out something and give feedback later.

The point is not which function to trace. I don't know. The point is
whether the problem is reproducible with function tracer and nohz
enabled.

Please apply following patch and enable NOHZ and function tracer in
.config. After bootup enable the function tracer in debugfs and start
your load test. 

Once the NOHZ.... message appears the function tracer is frozen and
you can read the trace from mountpoint_of_debugfs/tracing/trace.

Please bzip2 it and upload it somewhere as it's probably too large for
the mailinglist.

Thanks,

	tglx
-------------->
Subject: debug-nohz-issue.patch
From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Date: Thu, 18 Jun 2009 01:41:01 +0200

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
 kernel/time/tick-sched.c |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-2.6-tip/kernel/time/tick-sched.c
===================================================================
--- linux-2.6-tip.orig/kernel/time/tick-sched.c
+++ linux-2.6-tip/kernel/time/tick-sched.c
@@ -250,6 +250,8 @@ void tick_nohz_stop_sched_tick(int inidl
 	if (unlikely(local_softirq_pending() && cpu_online(cpu))) {
 		static int ratelimit;
 
+		tracing_off();
+
 		if (ratelimit < 10) {
 			printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
 			       local_softirq_pending());
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux