From: Sebastian Smolorz Subject: Re: [Adeos-main] Latency trace on ARM Date: Fri, 15 Dec 2006 15:30:26 +0100 References: <458270A5.8050905@domain.hid> In-Reply-To: <458270A5.8050905@domain.hid> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: List-Id: General discussion about Adeos List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: adeos-main@gna.org Jan Kiszka wrote: > Sebastian Smolorz wrote: > > Jan Kiszka wrote: > >> Sebastian Smolorz wrote: > >>> Hi, > >>> > >>> we all know that the latency test should not be run with a period of > >>> 100 us because it easily gets locked up. The attached trace illustrates > >>> this problem in detail. It shows that a timer interrupt needs about 50 > >>> us to be processed. Furthermore, there is not enough time between two > >>> timer interrupts for the latency task to get all its work done. > >>> > >>> The current I-pipe tracer patch for ARM is available at > >>> http://opensource.emlix.com/ipipe-s3c24xx/download/ipipe-tracer-arm.pat > >>>ch _v4 > >>> > >>> Comments welcome. > >> > >> Something is still broken, given all those "N"s in Delay column. Is > >> there something like NMI at all on your board? > > > > There isn't AFAIK. What could be the reason for all this noise? Recursive > > spin-locking? > > Yes. If those Ns aren't false positive in the sense that > IPIPE_TFLG_NMI_HIT is set accidentally, __ipipe_trace is re-entered > while IPIPE_TFLG_NMI_LOCK is still set. Interesting: If I disable CONFIG_IPIPE_TRACE_MCOUNT the "Noise" doesn't appear at all. -- Sebastian