CONFIG_CRITICAL_IRQSOFF_TIMING
Quoted 16 lines
Datum: 29/10/07 02:09 PM
Van: "Steven Rostedt"
Aan: "Gerrit Binnenmars"
CC: [email protected]
Onderwerp : Re:CONFIG_CRITICAL_IRQSOFF_TIMING--
Quoted 6 lines · Gerrit Binnenmars
Hello,
Can someone send me a .config file that shows the options needed to get the interrupt off timing values in
preempt_max_latency, please. I only see a value of 0 in this file I am using kernel 2.6.22.1 with the corresponding rt patch.
Quoted 7 lines
Quoted 1 line
Thanks in advance,
Make sure you have event trace and latency tracing as well as "Interrupts-off critical section latency timing".
Then you need to echo 0 >
/proc/sys/kernel/preempt_max_latency.
Hello Steve,
Thanks for your quick response, but the preempt_max_latency remains 0. Also the latency_hist shows no samples taken. Can you or someone else have a look at the corresponding CONFIG options?
CONFIG_LTT_PROBE_LOCKING=m
# CONFIG_LTT_PROBE_STACK is not set
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not setCONFIG_ENABLE_MUST_CHECK=yCONFIG_MAGIC_SYSRQ=yCONFIG_UNUSED_SYMBOLS=yCONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not setCONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not setCONFIG_DETECT_SOFTLOCKUP=yCONFIG_SCHED_DEBUG=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
# CONFIG_DEBUG_SLAB is not setCONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not setCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=yCONFIG_DEBUG_LOCK_ALLOC=y
# CONFIG_PROVE_LOCKING is not setCONFIG_LOCKDEP=y
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_LOCKDEP is not setCONFIG_TRACE_IRQFLAGS=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not setCONFIG_STACKTRACE=yCONFIG_PREEMPT_TRACE=yCONFIG_EVENT_TRACE=yCONFIG_FUNCTION_TRACE=y
# CONFIG_WAKEUP_TIMING is not setCONFIG_LATENCY_TRACE=y
# CONFIG_CRITICAL_PREEMPT_TIMING is not setCONFIG_CRITICAL_IRQSOFF_TIMING=yCONFIG_INTERRUPT_OFF_HIST=yCONFIG_CRITICAL_TIMING=yCONFIG_DEBUG_TRACE_IRQFLAGS=yCONFIG_LATENCY_TIMING=yCONFIG_CRITICAL_LATENCY_HIST=yCONFIG_LATENCY_HIST=yCONFIG_MCOUNT=y
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_HIGHMEM is not setCONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_LIST is not setCONFIG_FRAME_POINTER=yCONFIG_FORCED_INLINING=y
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_LKDTM is not set
# CONFIG_FAULT_INJECTION is not setCONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_STACK_USAGE is not setCONFIG_DEBUG_RODATA=yCONFIG_4KSTACKS=yCONFIG_X86_FIND_SMP_CONFIG=yCONFIG_X86_MPPARSE=yCONFIG_DOUBLEFAULT=y
Greetings Gerrit
Quoted 8 lines
-- Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · Gerrit Binnenmars
CONFIG_LTT_PROBE_LOCKING=m
#CONFIG_LTT_PROBE_STACKis not set
I wonder which kernel your using? I don't recall LTT being part of real time in the past .. What the architecture too ?
Quoted 5 lines
CONFIG_CRITICAL_IRQSOFF_TIMING=yCONFIG_INTERRUPT_OFF_HIST=yCONFIG_CRITICAL_TIMING=yCONFIG_DEBUG_TRACE_IRQFLAGS=yCONFIG_LATENCY_TIMING=y
You might try disabling the histogram option temporarily, it may have be effecting things (not sure how tho) ..
Daniel
I somehow was removed from the CC list, so I didn't see it.
<rant>I hate lists that think it's best to only post to the list and tell you to take all people off the CC list. Those are lists that are run by people that have way too much time on their hands to be reading mailing lists all day. Between LKML, linux-rt-users, virt, lguest, and a ton of internal lists, I can't keep up! When in a coding frenzy, I may not read lists for days.</rant>
--
Quoted 34 lines · Gerrit Binnenmars
Quoted 16 lines
Datum: 29/10/07 02:09 PM
Van: "Steven Rostedt"
Aan: "Gerrit Binnenmars"
CC: [email protected]
Onderwerp : Re:CONFIG_CRITICAL_IRQSOFF_TIMING--
Quoted 6 lines · Gerrit Binnenmars
Hello,
Can someone send me a .config file that shows the options needed to get the interrupt off timing values in
preempt_max_latency, please. I only see a value of 0 in this file I am using kernel 2.6.22.1 with the corresponding rt patch.Quoted 7 lines
Quoted 1 line
Thanks in advance,
Make sure you have event trace and latency tracing as well as "Interrupts-off critical section latency timing".
Then you need to echo 0 >
/proc/sys/kernel/preempt_max_latency.Hello Steve,
Thanks for your quick response, but the
preempt_max_latencyremains 0. Also thelatency_histshows no samples taken. Can you or someone else have a look at the corresponding CONFIG options?
CONFIG_LTT_PROBE_LOCKING=m
#CONFIG_LTT_PROBE_STACKis not set#
# Kernel hacking
#
[...]
Quoted 3 lines
CONFIG_INTERRUPT_OFF_HIST=yCONFIG_CRITICAL_LATENCY_HIST=yCONFIG_LATENCY_HIST=y
Turn off all histograms. They will kill any measurements you are taking. And yes, you will not get the output from latency_trace that you are after.
-- Steve