Re: [ath9k-devel] ath9k: massive unexplained latency in 2.6.27 (rc5, rc6, probably others)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Friday, September 19, 2008 - 1:32 am

* Steven Noonan <steven@uplinklabs.net> wrote:


one more suggestion: you should first check how large the 'scope' of 
your trace is - i.e. how long of a time span it can cover, in the 
workload that you are going to trace.

if it's too short - say just a few hundred milliseconds then you need a 
larger trace buffer or fewer trace entries.

another thing: you can auto-stop tracing on the failure condition. That 
way you dont have to worry about whether you notice the badness. 
Unfortunately there's no easy callback to just anonymously stop all 
tracing that goes on. There's ftrace_kill_atomic() but i'm not sure it 
properly stops the scheduler tracer.

What is needed is to set kernel/trace/trace.c's tracing_disabled 
variable to 0. I've Cc:-ed Steve Rostedt - Steve, why is there no easy 
ad-hoc way to trigger a stop-tracing event without elaborate changes?

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 11:34 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 11:42 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 1:44 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 3:01 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 3:08 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 4:10 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 4:12 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 8:01 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Ingo Molnar, (Fri Sep 19, 1:32 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Senthil Balasubramanian, (Fri Sep 19, 7:28 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Senthil Balasubramanian, (Fri Sep 19, 10:58 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Fri Sep 19, 11:23 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Fri Sep 19, 4:53 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Fri Sep 19, 6:13 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Fri Sep 19, 6:15 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sat Sep 20, 1:56 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sat Sep 20, 1:57 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sat Sep 20, 2:03 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sat Sep 20, 2:24 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sat Sep 20, 2:26 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sun Sep 21, 11:54 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Mon Sep 22, 12:14 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Mon Sep 22, 1:06 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Mon Sep 22, 9:01 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Tue Sep 23, 12:22 pm)