Re: IRQ off latency of printk is very high

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tim Bird <tim.bird@...>
Cc: linux kernel <linux-kernel@...>, Ingo Molnar <mingo@...>, Mathieu Desnoyers <mathieu.desnoyers@...>
Date: Thursday, October 25, 2007 - 4:19 pm

On Thu, Oct 25, 2007 at 12:44:31PM -0700, Tim Bird wrote:

Printk to the serial console uses polled I/O to get deterministic,
reliable, and -timely- output. If our very next statement (or interrupt)
may lock up the box, we want to be sure our printk has actually been
delivered before that happens.

Kindof a bummer for realtime, but also rather hard to get around.


2000bits @ 115200bps -> 17.4ms


Well, we could have a commandline option that made messages with a
priority below X go out buffered. But it'd be a lousy default from a
debugging perspective.

-- 
Mathematics is the supreme nostalgia of our time.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
IRQ off latency of printk is very high, Tim Bird, (Thu Oct 25, 3:44 pm)
Re: IRQ off latency of printk is very high, Mathieu Desnoyers, (Thu Oct 25, 6:28 pm)
Re: IRQ off latency of printk is very high, Tim Bird, (Thu Oct 25, 6:52 pm)
Re: IRQ off latency of printk is very high, Matt Mackall, (Thu Oct 25, 7:12 pm)
Re: IRQ off latency of printk is very high, Tim Bird, (Thu Oct 25, 7:41 pm)
Re: IRQ off latency of printk is very high, Pavel Machek, (Mon Oct 29, 2:54 pm)
Re: IRQ off latency of printk is very high, Mathieu Desnoyers, (Thu Nov 1, 11:27 am)
Re: IRQ off latency of printk is very high, Pavel Machek, (Thu Nov 1, 5:11 pm)
Re: IRQ off latency of printk is very high, Mathieu Desnoyers, (Thu Nov 1, 6:19 pm)
Re: IRQ off latency of printk is very high, Matt Mackall, (Thu Oct 25, 9:23 pm)
Re: IRQ off latency of printk is very high, Matt Mackall, (Thu Oct 25, 4:19 pm)
Re: IRQ off latency of printk is very high, Tim Bird, (Thu Oct 25, 5:15 pm)