Very high latencies under stress testing
Hello all,
I have just set up my first xenomai system, and though I believe I have followed most of the guidelines, if I run latency it sits at around 8uS max, until I run something to stress the system (e.g. startx, or killing the x server) when it jumps to 700-800uS.
I wonder if this is to do with graphics? I have set "NoAccel" in the driver section of Xorg.conf (I am using fbdev). I also notice that latencies go massive (e.g. 4200uS) the first time I run glxgears. "glxinfo" reports "Direct rendering: no".
This is a core 2 duo system (MEN F19P cPCI) with ICH9M-SFF chipset. I am running debian (lenny) and have followed the guide in the wiki (here: http://www.xenomai.org/index.php/Building_Debian_packages) to install kernel 2.6.32.15 and xenomai 2.5.4. I have made the following selections for kernel configuration in order to try and prevent latency issues:
Processor type and features:
Enable interrupt pipeline
Enable high resolution timer support
Disable dell laptop support
Processor family --> Core 2/Newer Xeon
Preemption model --> Preemptible kernel (low latency desktop)
Bus options (PCI etc):
Disable PCI express hotplug driver
Disable message signalled interrupts (MSI and MSI-X) Disable PCCard (PCMCIA/Cardbus support) Disable support for PCI hotplug
Device drivers:
Disable Memory Technology Device (MTD) support Disable Fusion MPT device support Disable I20 device support
Disable ISDN support
Power management options (ACPUI, APM):
Disable ACPI (Advanced Configuration and Power Interface) Support --> Processor Disable CPU Frequency Scaling
Disable CPU idle PM support
Disable Power Managment Support
Real-time sub-system:
Enable Machine--> SMI workaround
Enable Machine--> globally disable SMII have read through this: http://svn.gna.org/svn/xenomai/trunk/TROUBLESHOOTING and tried to find anything relevant. I am booting from an on board compact flash via USB. I wondered if this could be the problem. Output of hdparm:
hdparm -v /dev/sda
readonly = 0 (off)
readahead = 256 (on)
geometry = 1024/255/63, sectors = 31227840, start = 0
hdparm -acdgkmur /dev/sda
HDIO_GET_MULTICOUNT failed: Invalid argument HDIO_GET_32BIT failed: Invalid argument HDIO_GET_UNMASKINTR failed: Invalid argument HDIO_GET_DMA failed: Invaid argument HDIO_GET_KEEPSETTINGS failed: Invalid argument (reast of output same as hdparm -v)
hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 100MB in 3.01 seconds = 33.24 MB/sec
hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 11006 MB in 2.00 seconds = 5503.00 MB/sec
Then I did cat /proc/scsi/scsi:
Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: Generic Model: Flash HS-CF Rev: 1.68
Type: Direct-Access ANSI SCSI revision: 00
Also, this embedded system has a lot of configuration options in the BIOS (more than I have seen on any other system). Some seem like they could be very useful but are currently unusable (e.g. if I set "SMI handler" to off, the system will no longer boot from compact flash). There are also other options that might be relevant. I have tried playing with them, but am not even sure what some are and the manual is quite cryptic:
IDE Controller settings
"HDC configure as" Options: "IDE", "RAID", "AHCI"
USB Configuration
"USB Legacy" Enable/Disable "EHCI1" Enable/Disable
"EHCI2" "
"UHCI1" "
"UHCI2"
...
"UHCI5"
"Per-Port Control2" Enable/Disable "USB Pre-fetch Feature" Enable/Disable "USB Pre-fetch Time" 2ms/4ms "USB HC Alignment" Enable/Disable
Chipset Configuration
"CRID/SRID" Enable/Disable "Port 80h Cycles" LPC bus/PCI bus "DMI Link ASPM Control" Enable/Disable "Automatic ASMO" Auto/Manual "ASPM L0s Support" Enable/Disable "ASPM L0sL1 Support" Enable/Disable "VT-d" Enable/Disable
ACPI Table/Feature Control
"FACP - C2 Latency Value" Enable/Disable "FACP - C3 Latency Value" Enable/Disable "FACP - RTC S4 Wakeup" Enable/Disable "APIC - IO APIC Mode" Enable/Disable "HPET - HPET Support" Enable/Disable
PCI Express Root Port 1/2/3/4/5/6 Settings
"ASPM" Enable/Disable
"Automatic ASPM" Auto/Manual
"ASPM L0s" Root&Endpoint Ports/ Disabled/ Root Port Only/ Endpoint port Only "ASPM L1" Enable/Disable
"URR" Enable/Disable
"FER" Enable/Disable
"NFER" Enable/Disable
"CER" Enable/Disable
"CTO" Enable/Disable
"SEFE" Enable/Disable
"SENFE" Enable/Disable
"SECE" Enable/Disable
"PME Interrupt" Enable/Disable
"PME SCI" Enable/Disable
"Hot Plug SCI" Enable/Disable
Advanced CPU Control
"P-States" Enable/Disable
"CMP Support" Enable/Disable
"Vanderpool Technology" Enable/Disable
"SMRR Support" Auto/Disable
"C-States" Enable/Disable
"Enhanced C-States" Enable/Disable
"C-State Pop Up Mode" Enable/Disable
"C-State Pop Down Mode" Enable/Disable
"C4 Exit Timing Mode" Fast/Slow/Default/Force Slow "DeepC4" Enable/Disable
"Hard C4E" Enable/Disable
"Enable C6" Enable/Disable
"EMTTM" Enable/Disable
"Bi-directional PROCHOT#" Enable/Disable
"ACPI 3.0 T-States" Enable/Disable
"DTS" Enable/Disable"
... (lots more options that I am not sure what they really are for!)
Platfoirm Power Management
"Storage Break Event" Enable/Disable "PCIE Break Event" Enable/Disable "PCI Break Event" Enable/Disable "EHCI Break Event" Enable/Disable "UHCI Break Event" Enable/Disable "HDA Break Event" Enable/Disable "ACPI S3" Enable/Disable
So, could anyone suggest what I might try to improve the system? Sorry for the torrent of information... I thought it better to give as much info as I could think of than to not provide enough to make a diagnosis!
Thanks,
Edward Robbins
Control Systems Engineer
Oxford Technologies Ltd
UKAEA Culham
Joint European Torus, Remote Handling Division
Quoted 11 lines · [email protected] wrote:
Hello all,
I have just set up my first xenomai system, and though I believe I have followed most of the guidelines, if I run latency it sits at around 8uS max, until I run something to stress the system (e.g. startx, or killing the x server) when it jumps to 700-800uS.
I wonder if this is to do with graphics? I have set "NoAccel" in the driver section of Xorg.conf (I am using fbdev). I also notice that latencies go massive (e.g. 4200uS) the first time I run glxgears. "glxinfo" reports "Direct rendering: no".
This is bad news. It could come either from the fact that the Xorg driver shuts hardware interrupts off (there is nothing xenomai can do about that), or it could be an SMI issue. What about using the driver for the real graphic card you have ? Probably intel card? Do you observe any big latencies if you stress the system with anything else than X?
Quoted 4 lines
Power management options (ACPUI, APM): Disable ACPI (Advanced Configuration and Power Interface) Support --> Processor Disable CPU Frequency Scaling Disable CPU idle PM support Disable Power Managment Support
Disabling ACPI is a bad idea. As repeated many times, only ACPI_PROCESSOR should be disabled, not ACPI.
Quoted 3 lines
Real-time sub-system: Enable Machine--> SMI workaround Enable Machine--> globally disable SMI
Do you have a message in the kernel boot logs telling you that the SMI workaround actually worked?
Quoted 5 lines
I have read through this:
http://svn.gna.org/svn/xenomai/trunk/TROUBLESHOOTING and tried to find anything relevant. I am booting from an on board compact flash via USB. I wondered if this could be the problem. Output of hdparm:
Well, this is not the latest version of the TROUBLESHOOTING guide. The latest version is in Xenomai sources, or accessible through our website. Though I am not sure much things have changed.
Quoted 2 lines
IDE Controller settings "HDC configure as" Options: "IDE", "RAID", "AHCI"
Do not select IDE here, it probably uses SMIs
Quoted 6 lines
USB Configuration "USB Legacy" Enable/Disable "EHCI1" Enable/Disable
"EHCI2" " "UHCI1" " "UHCI2" ... "UHCI5"
"Per-Port Control2" Enable/Disable "USB Pre-fetch Feature" Enable/Disable "USB Pre-fetch Time" 2ms/4ms "USB HC Alignment" Enable/Disable
Do not select USB legacy, it probably uses SMI.
Quoted 10 lines
Chipset Configuration "CRID/SRID" Enable/Disable "Port 80h Cycles" LPC bus/PCI bus "DMI Link ASPM Control" Enable/Disable "Automatic ASMO" Auto/Manual "ASPM L0s Support" Enable/Disable "ASPM L0sL1 Support" Enable/Disable "VT-d" Enable/Disable
ACPI Table/Feature Control "FACP - C2 Latency Value" Enable/Disable "FACP - C3 Latency Value" Enable/Disable "FACP - RTC S4 Wakeup" Enable/Disable "APIC - IO APIC Mode" Enable/Disable "HPET - HPET Support" Enable/Disable
You probably want the APIC and IO APIC.
Quoted 4 lines
So, could anyone suggest what I might try to improve the system? Sorry for the torrent of information... I thought it better to give as much info as I could think of than to not provide enough to make a diagnosis!
test whether you have issues without the X server,
if yes, check whether the SMI workaround actually works, if no, test with another X server (the one specific to your graphic card, presumably the intel one).
Signature · 1 line
Gilles.
Quoted 13 lines · Gilles Chanteperdrix
Quoted 5 lines · [email protected] wrote:
I wonder if this is to do with graphics? I have set "NoAccel" in the driver section of Xorg.conf (I am using fbdev). I also notice that latencies go massive (e.g. 4200uS) the first time I run glxgears. "glxinfo" reports "Direct rendering: no".
This is bad news. It could come either from the fact that the Xorg driver shuts hardware interrupts off (there is nothing xenomai can do about that), or it could be an SMI issue. What about using the driver for the real graphic card you have ? Probably intel card? Do you observe any big latencies if you stress the system with anything else than X?
Quoted 8 lines
Quoted 4 lines
Power management options (ACPUI, APM): Disable ACPI (Advanced Configuration and Power Interface) Support --> Processor Disable CPU Frequency Scaling Disable CPU idle PM support Disable Power Managment Support
Disabling ACPI is a bad idea. As repeated many times, only
ACPI_PROCESSORshould be disabled, not ACPI.
Thanks for your helpful responses.
I'm not working on this project again until next week, but on Friday I was able to
o Recompile the kernel with ACPI enabled
o Boot with the 'SMI handler' BIOS option set to disabled....
according to the help text this option should be disabled if 'an RTOS is installed' - I presume this means that SMIs are completely disabled and therefore SMIs cannot be the source of the problem
(very convenient BIOS option... now I begin to appreciate the expense of this board!)
o Changed xorg to use the intel video driver
After doing this I still have problems with latencies and X, but did not have a chance to stress the system with non-graphics tasks. I am thinking that when I get back to it next week I will compile the kernel a few times and also try writing a large file a number of times to the disk as Philippe suggested. Hopefully this will not cause any problems and I can then more confidently attribute the high latency to the graphics system. I will also attempt to install the I-pipe tracer as suggested. I'll update when (if!?) I get that far.
Thanks
Edward
Quoted 26 lines · [email protected] wrote:
Quoted 11 lines · Gilles Chanteperdrix
Quoted 4 lines · [email protected] wrote:
I wonder if this is to do with graphics? I have set "NoAccel" in the driver section of Xorg.conf (I am using fbdev). I also notice that latencies go massive (e.g. 4200uS) the first time I run glxgears. "glxinfo" reports "Direct rendering: no".
This is bad news. It could come either from the fact that the Xorg driver shuts hardware interrupts off (there is nothing xenomai can do about that), or it could be an SMI issue. What about using the driver for the real graphic card you have ? Probably intel card? Do you observe any big latencies if you stress the system with anything else than X?
Quoted 7 lines
Quoted 4 lines
Power management options (ACPUI, APM): Disable ACPI (Advanced Configuration and Power Interface) Support --> Processor Disable CPU Frequency Scaling Disable CPU idle PM support Disable Power Managment Support
Disabling ACPI is a bad idea. As repeated many times, only
ACPI_PROCESSORshould be disabled, not ACPI.Thanks for your helpful responses.
I'm not working on this project again until next week, but on Friday I was able to
Quoted 7 lines
o Recompile the kernel with ACPI enabled
o Boot with the 'SMI handler' BIOS option set to disabled....
according to the help text this option should be disabled if 'an RTOS is installed' - I presume this means that SMIs are completely disabled and therefore SMIs cannot be the source of the problem
(very convenient BIOS option... now I begin to appreciate the expense of this board!)
o Changed xorg to use the intel video driver
Now you can try NoAccel with the intel video driver too....
Signature · 1 line
Gilles.
I have now installed the i-pipe tracer and run some tests. Yesterday I thought I had gotten a high latency without X running, while compiling the kernel to stress the system, but now I think I might have been mistaken. Either way I was using a kernel whose configuration I couldn't remember, and didn't have the I-Pipe tracer installed at that time, so the observation wasn't particularly useful.
Today I have tried using the intel video driver with the option "NoAccel", and that seems to stop the high latencies; with this option I can kill X, restart it, and run glxgears without issues, all while compiling the linux kernel and having xeno-test or latency running. The highest latency I have gotten so far is 18uS.
However, if anyone is interested I have made a trace without the NoAccel option, when the latency jumped to 1113uS upon starting X, attached.
A couple of other things:
Yesterday when running xeno-test, I got a few of these messages:
"INFO: task sync:20539 blocked for more than 120 seconds...."
I have not seen this again today, and I don't know if it could be related, but I was also getting lots of strange USB disconnect sort of messages yesterday... I haven't seen any more today, and as I said before that kernel may have been useless anyway.
I am also getting this message from xeno-test:
"FATAL: module xeno-nucleus not found"
And:
"Warning Linux is compiled to use FPU in kernel space
For this reason, switch test can not test using FPU in Linux Kernel-space"
I presume these last two are because I did something wrong at kernel compile time?
Also, I tried to compile Xenomai 2.5.4 with a 2.6.34 kernel because it has a network driver that I really need, but the build failed. I think this has been resolved previously (as I have seen some information in the mailing list about a problem in the debian kernel patch script), but am not sure how to use the corrected script with my system. Can anyone help?
I will keep testing.
Thanks,
Edward
Quoted 44 lines · Gilles Chanteperdrix
Quoted 28 lines · [email protected] wrote:
Quoted 11 lines · Gilles Chanteperdrix
Quoted 4 lines · [email protected] wrote:
I wonder if this is to do with graphics? I have set "NoAccel" in the driver section of Xorg.conf (I am using fbdev). I also notice that latencies go massive (e.g. 4200uS) the first time I run glxgears. "glxinfo" reports "Direct rendering: no".
This is bad news. It could come either from the fact that the Xorg driver shuts hardware interrupts off (there is nothing xenomai can do about that), or it could be an SMI issue. What about using the driver for the real graphic card you have ? Probably intel card? Do you observe any big latencies if you stress the system with anything else than X?
Quoted 7 lines
Quoted 4 lines
Power management options (ACPUI, APM): Disable ACPI (Advanced Configuration and Power Interface) Support --> Processor Disable CPU Frequency Scaling Disable CPU idle PM support Disable Power Managment Support
Disabling ACPI is a bad idea. As repeated many times, only
ACPI_PROCESSORshould be disabled, not ACPI.Thanks for your helpful responses.
I'm not working on this project again until next week, but on Friday I was able to
Quoted 8 lines
o Recompile the kernel with ACPI enabled
o Boot with the 'SMI handler' BIOS option set to disabled.... according to the help text this option should be disabled if 'an RTOS is installed' - I presume this means that SMIs are completely disabled and therefore SMIs cannot be the source of the problem
(very convenient BIOS option... now I begin to appreciate the expense of this
board!)
o Changed xorg to use the intel video driverNow you can try NoAccel with the intel video driver too....
--
Gilles.
Quoted 19 lines · On Fri, 2010-09-03 at 17:30 +0100, [email protected] wrote:
I have now installed the i-pipe tracer and run some tests. Yesterday I thought I had gotten a high latency without X running, while compiling the kernel to stress the system, but now I think I might have been mistaken. Either way I was using a kernel whose configuration I couldn't remember, and didn't have the I-Pipe tracer installed at that time, so the observation wasn't particularly useful.
Today I have tried using the intel video driver with the option "NoAccel", and that seems to stop the high latencies; with this option I can kill X, restart it, and run glxgears without issues, all while compiling the linux kernel and having xeno-test or latency running. The highest latency I have gotten so far is 18uS.
However, if anyone is interested I have made a trace without the NoAccel option, when the latency jumped to 1113uS upon starting X, attached.
A couple of other things:
Yesterday when running xeno-test, I got a few of these messages:
"INFO: task sync:20539 blocked for more than 120 seconds...."
I have not seen this again today, and I don't know if it could be related, but I was also getting lots of strange USB disconnect sort of messages yesterday... I haven't seen any more today, and as I said before that kernel may have been useless anyway.I am also getting this message from xeno-test:
"FATAL: module xeno-nucleus not found"And:
"Warning Linux is compiled to use FPU in kernel space
For this reason, switch test can not test using FPU in Linux Kernel-space"
Quoted 5 lines
I presume these last two are because I did something wrong at kernel compile time?
Also, I tried to compile Xenomai 2.5.4 with a 2.6.34 kernel because it has a network driver that I really need, but the build failed. I think this has been resolved previously (as I have seen some information in the mailing list about a problem in the debian kernel patch script), but am not sure how to use the corrected script with my system. Can anyone help?
I will keep testing.
Please try this patch. Your trace log reveals that we are only virtually masking interrupts while flushing the TLB, which is quite wrong.
arch/x86/include/asm/tlbflush.h +2 -2
@@ -30,7 +30,7 @@ static inline void __native_flush_tlb_global(void)* from interrupts. (Use the raw variant because this code can * be called from deep inside debugging code.) */ -raw_local_irq_save (flags); +local_irq_save_hw (flags); cr4 =native_read_cr4 ();/* clear PGE */
@@ -38,7 +38,7 @@ static inline void __native_flush_tlb_global(void)/* write old PGE again and flush TLBs */ native_write_cr4 (cr4); -raw_local_irq_restore (flags); +local_irq_restore_hw (flags); }static inline void __native_flush_tlb_single (unsigned long addr)
Signature · 1 line
Philippe.
Quoted 8 lines · Philippe Gerum
Quoted 1 line · On Fri, 2010-09-03 at 17:30 +0100, [email protected]…
Today I have tried using the intel video driver with the option "NoAccel",
and that seems to stop the high latencies; with this option I can kill X, restart it, and run glxgears without issues, all while compiling the linux kernel and having xeno-test or latency running. The highest latency I have gotten so far is 18uS.
Quoted 1 line
Quoted 7 lines
Quoted 1 line
However, if anyone is interested I have made a trace without the NoAccel
option, when the latency jumped to 1113uS upon starting X, attached.
Quoted 1 line
Please try this patch. Your trace log reveals that we are only virtually masking interrupts while flushing the TLB, which is quite wrong.
Hi Phillipe,
I have tried the patch, and the only noticeable difference is that now when I have the NoAccel option set I am getting high latencies when I make actions such as killing the X server. Below is the ipipe trace. I presume this is going to be a problem even if I am not running X?
Thanks again,
Edward
I-pipe frozen back-tracing service on 2.6.32.15-xenomai-2.5.4/ipipe-2.7-01
------------------------------------------------------------
CPU: 0, Freeze: 4761785881144 cycles, Trace Points: 100 (+10)
Calibrated minimum trace-point overhead: 0.131 us
+----- Hard IRQs ('|': locked)
|+---- <unused>
||+--- <unused>
|||+-- Xenomai
||||+- Linux ('*': domain stalled, '+': current, '#': current+stalled)
||||| +---------- Delay flag ('+': > 1 us, '!': > 10 us)
||||| | +- NMI noise ('N')
||||| | |
Type User Val. Time Delay Function (Parent)
:| # func -2144 0.326 __phys_addr+0x4 (__xnpod_schedule+0x562)
:| # func -2143 0.390 __switch_to_xtra+0x8 (__switch_to+0x255)
:| # [ 3276] Xorg -1 -2143 0.427 __xnpod_schedule+0x834 (xnintr_clock_handler+0x130)
:| +func -2143 0.408 __ipipe_walk_pipeline+0x11 (__ipipe_dispatch_wired_nocheck+0x1da)
:| +end 0x000000f6 -2142 0.416 common_interrupt+0x39 (debug_smp_processor_id+0x97)
:| +begin 0x80000001 -2142 0.240 debug_smp_processor_id+0x44 (smp_call_function_single+0x122)
:| +end 0x80000001 -2141 0.262 debug_smp_processor_id+0x94 (smp_call_function_single+0x122)
: +func -2141 0.221 generic_exec_single+0x11 (smp_call_function_single+0x160)
: +func -2141 0.195 _spin_lock_irqsave+0x7 (generic_exec_single+0x3d)
: +func -2141 0.195 ipipe_check_context+0x11 (_spin_lock_irqsave+0x1b)
:| +begin 0x80000001 -2141 0.262 ipipe_check_context+0x33 (_spin_lock_irqsave+0x1b)
:| +end 0x80000001 -2140 0.244 ipipe_check_context+0xda (_spin_lock_irqsave+0x1b)
: #func -2140 0.206 add_preempt_count+0x9 (_spin_lock_irqsave+0x4c)
: #func -2140 0.202 ipipe_check_context+0x11 (add_preempt_count+0x1c)
:| #begin 0x80000001 -2140 0.259 ipipe_check_context+0x33 (add_preempt_count+0x1c)
:| #end 0x80000001 -2139 0.251 ipipe_check_context+0xda (add_preempt_count+0x1c)
: #func -2139 0.195 _spin_unlock_irqrestore+0x4 (generic_exec_single+0x5d)
: #func -2139 0.191 __ipipe_restore_root+0xb (_spin_unlock_irqrestore+0x21)
:| #begin 0x80000001 -2139 0.236 __ipipe_restore_root+0x2d (_spin_unlock_irqrestore+0x21)
:| #end 0x80000001 -2139 0.236 __ipipe_restore_root+0x7d (_spin_unlock_irqrestore+0x21)
: #func -2138 0.191 __ipipe_unstall_root+0x9 (__ipipe_restore_root+0xb1)
:| #begin 0x80000000 -2138 0.266 __ipipe_unstall_root+0x20 (__ipipe_restore_root+0xb1)
:| +end 0x80000000 -2138 0.213 __ipipe_unstall_root+0xce (__ipipe_restore_root+0xb1)
: +func -2138 0.206 sub_preempt_count+0x9 (_spin_unlock_irqrestore+0x2b)
: +func -2137 0.206 ipipe_check_context+0x11 (sub_preempt_count+0x1c)
:| +begin 0x80000001 -2137 0.259 ipipe_check_context+0x33 (sub_preempt_count+0x1c)
:| +end 0x80000001 -2137 0.255 ipipe_check_context+0xda (sub_preempt_count+0x1c)
: +func -2137 0.221 native_send_call_func_single_ipi+0x4 (generic_exec_single+0x6b)
: +func -2136 0.199 flat_send_IPI_mask+0x11 (native_send_call_func_single_ipi+0x34)
:| +begin 0x80000001 -2136 0.247 flat_send_IPI_mask+0x36 (native_send_call_func_single_ipi+0x34)
:| +end 0x80000001 -2136 0.228 flat_send_IPI_mask+0x8e (native_send_call_func_single_ipi+0x34)
: +func -2136 0.206 sub_preempt_count+0x9 (smp_call_function_single+0x173)
: +func -2136 0.191 ipipe_check_context+0x11 (sub_preempt_count+0x1c)
:| +begin 0x80000001 -2135 0.244 ipipe_check_context+0x33 (sub_preempt_count+0x1c)
:| +end 0x80000001 -2135 0.262 ipipe_check_context+0xda (sub_preempt_count+0x1c)
: +func -2135 0.191 sub_preempt_count+0x9 (smp_call_function+0x47)
: +func -2135 0.187 ipipe_check_context+0x11 (sub_preempt_count+0x1c)
:| +begin 0x80000001 -2135 0.244 ipipe_check_context+0x33 (sub_preempt_count+0x1c)
:| +end 0x80000001 -2134 0.232 ipipe_check_context+0xda (sub_preempt_count+0x1c)
: +func -2134 0.187 ipipe_check_context+0x11 (set_mtrr+0x77)
:| +begin 0x80000001 -2134 0.251 ipipe_check_context+0x33 (set_mtrr+0x77)
:| +end 0x80000001 -2134! 10.477 ipipe_check_context+0xda (set_mtrr+0x77)
: #func -2123 0.206 generic_set_mtrr+0x11 (set_mtrr+0xdc)
: #func -2123 0.202 ipipe_check_context+0x11 (generic_set_mtrr+0x42)
:| #begin 0x80000001 -2123 0.262 ipipe_check_context+0x33 (generic_set_mtrr+0x42)
:| #end 0x80000001 -2122 0.259 ipipe_check_context+0xda (generic_set_mtrr+0x42)
:| #begin 0x80000001 -2122 0.221 generic_set_mtrr+0x85 (set_mtrr+0xdc)
:| #func -2122 0.199 prepare_set+0x4 (generic_set_mtrr+0x8a)
:| #func -2122 0.213 _spin_lock+0x9 (prepare_set+0x15)
:| #func -2122 0.191 add_preempt_count+0x9 (_spin_lock+0x1b)
:| #func -2121! 1840.932 ipipe_check_context+0x11 (add_preempt_count+0x1c)
:| #func -280! 55.546 mtrr_wrmsr+0xd (prepare_set+0x79)
:| #func -225! 53.303 mtrr_wrmsr+0xd (generic_set_mtrr+0x111)
:| #func -172! 52.380 mtrr_wrmsr+0xd (generic_set_mtrr+0x129)
:| #func -119! 50.782 post_set+0x4 (generic_set_mtrr+0x12e)
:| #func -68! 40.665 mtrr_wrmsr+0xd (post_set+0x25)
:| #func -28+ 1.185 _spin_unlock+0x4 (post_set+0x4f)
:| #func -27 0.356 sub_preempt_count+0x9 (_spin_unlock+0x15)
:| #func -26 0.900 ipipe_check_context+0x11 (sub_preempt_count+0x1c)
:| #end 0x80000001 -25+ 1.050 generic_set_mtrr+0x13f (set_mtrr+0xdc)
:| #begin 0x000000f6 -24 0.566 common_interrupt+0x20 (generic_set_mtrr+0x142)
:| #func -24 0.468 __ipipe_handle_irq+0x11 (common_interrupt+0x27)
:| #func -23 0.266 irq_to_desc+0x4 (__ipipe_handle_irq+0x134)
:| #func -23 0.397 __ipipe_ack_apic+0x4 (__ipipe_handle_irq+0x13c)
:| #func -23 0.465 native_apic_mem_write+0x4 (__ipipe_ack_apic+0x1d)
:| #func -22 0.348 __ipipe_dispatch_wired+0xd (__ipipe_handle_irq+0x147)
:| #func -22 0.450 __ipipe_dispatch_wired_nocheck+0x11 (__ipipe_dispatch_wired+0xba)
:| #*func -21 0.634 xnintr_clock_handler+0xb (__ipipe_dispatch_wired_nocheck+0x12b)
:| #*func -21 0.892 xntimer_tick_aperiodic+0xb (xnintr_clock_handler+0x81)
:| #*func -20 0.352 xnthread_periodic_handler+0x4 (xntimer_tick_aperiodic+0x8d)
:| #*func -19 0.585 xnpod_resume_thread+0x11 (xnthread_periodic_handler+0x2d)
:| #*[ 3272] -<?>- 99 -19 0.682 xnpod_resume_thread+0xfa (xnthread_periodic_handler+0x2d)
:| #*func -18 0.318 xntimer_next_local_shot+0x9 (xntimer_tick_aperiodic+0x191)
:| #*event [email protected] -18 0.285 xntimer_next_local_shot+0xb0 (xntimer_tick_aperiodic+0x191)
:| #*func -18 0.420 native_apic_mem_write+0x4 (xntimer_next_local_shot+0xe5)
:| #*func -17 0.517 __xnpod_schedule+0x11 (xnintr_clock_handler+0x130)
:| #*[ 3276] Xorg -1 -17 0.296 __xnpod_schedule+0x189 (xnintr_clock_handler+0x130)
:| #*func -16+ 1.601 xnsched_pick_next+0x4 (__xnpod_schedule+0x1e3)
:| #*func -15+ 1.091 __phys_addr+0x4 (__xnpod_schedule+0x562)
:| #*func -14 0.697 __switch_to_xtra+0x8 (__switch_to+0x255)
:| #*[ 3272] -<?>- 99 -13 0.945 __xnpod_schedule+0x834 (xnpod_suspend_thread+0x281)
:| #*func -12 0.495 xntimer_get_overruns+0x8 (xnpod_wait_thread_period+0x14c)
:| #*func -11 0.307 __ipipe_restore_pipeline_head+0x7 (xnpod_wait_thread_period+0x1cb)
:| +*end 0x80000000 -11+ 1.526 __ipipe_restore_pipeline_head+0x137 (xnpod_wait_thread_period+0x1cb)
:| +*begin 0x80000001 -10 0.442 __ipipe_dispatch_event+0x1d9 (__ipipe_syscall_root+0xcd)
:| +*end 0x80000001 -9 0.341 __ipipe_dispatch_event+0x3f0 (__ipipe_syscall_root+0xcd)
:| +*begin 0x80000001 -9+ 4.351 __ipipe_syscall_root+0xec (__ipipe_syscall_root_thunk+0x35)
: +*func -5 0.322 __ipipe_syscall_root+0x11 (__ipipe_syscall_root_thunk+0x35)
: +*func -4 0.202 __ipipe_dispatch_event+0x11 (__ipipe_syscall_root+0xcd)
:| +*begin 0x80000001 -4 0.510 __ipipe_dispatch_event+0x34 (__ipipe_syscall_root+0xcd)
:| +*end 0x80000001 -3 0.266 __ipipe_dispatch_event+0x1a6 (__ipipe_syscall_root+0xcd)
: +*func -3 0.791 hisyscall_event+0x11 (__ipipe_dispatch_event+0x1b7)
: +*func -2 0.528 xnshadow_sys_trace+0x7 (hisyscall_event+0x151)
: +*func -2 0.300 ipipe_trace_frozen_reset+0xb (xnshadow_sys_trace+0x69)
: +*func -2 0.199 __ipipe_global_path_lock+0x4 (ipipe_trace_frozen_reset+0x1c)
: +*func -1 0.187 __ipipe_spin_lock_irqsave+0xb (__ipipe_global_path_lock+0x15)
:| +*begin 0x80000001 -1+ 1.226 __ipipe_spin_lock_irqsave+0x2a (__ipipe_global_path_lock+0x15)
:| #*func 0 0.262 __ipipe_spin_unlock_irqcomplete+0xb (__ipipe_global_path_unlock+0x7d)
:| +*end 0x80000001 0 0.229 __ipipe_spin_unlock_irqcomplete+0xcf (__ipipe_global_path_unlock+0x7d)
< +*freeze 0x001f3e65 0 0.225 xnshadow_sys_trace+0x73 (hisyscall_event+0x151)
| +*begin 0x80000001 0 0.251 __ipipe_dispatch_event+0x1d9 (__ipipe_syscall_root+0xcd)
| +*end 0x80000001 0 0.214 __ipipe_dispatch_event+0x3f0 (__ipipe_syscall_root+0xcd)
| +*begin 0x80000001 0 0.708 __ipipe_syscall_root+0xec (__ipipe_syscall_root_thunk+0x35)
+*func 1 0.199 __ipipe_syscall_root+0x11 (__ipipe_syscall_root_thunk+0x35)
+*func 1 0.183 __ipipe_dispatch_event+0x11 (__ipipe_syscall_root+0xcd)
| +*begin 0x80000001 1 0.262 __ipipe_dispatch_event+0x34 (__ipipe_syscall_root+0xcd)
| +*end 0x80000001 2 0.199 __ipipe_dispatch_event+0x1a6 (__ipipe_syscall_root+0xcd)
+*func 2 0.352 hisyscall_event+0x11 (__ipipe_dispatch_event+0x1b7)
+*func 2 0.281 __rt_task_wait_period+0xb (hisyscall_event+0x151)
+*func 2 0.000 rt_task_wait_period+0x4 (__rt_task_wait_period+0x1c)I am also finding that tasks are frequently hanging, causing ipipetraces with "INFO: task xxx:xxx blocked for more than 120 seconds". Ihave just had this with apt-get update, and was previously getting itwith grub-install. Could this be related?
Thanks again
On Friday, 15 October, 2010 10:21am, [email protected] said:
Quoted 8 lines · Philippe Gerum
Quoted 1 line · On Fri, 2010-09-03 at 17:30 +0100, [email protected] wrote:
Today I have tried using the intel video driver with the option "NoAccel",
and that seems to stop the high latencies; with this option I can kill X, restart it, and run glxgears without issues, all while compiling the linux kernel and having xeno-test or latency running. The highest latency I have gotten so far is 18uS.
Quoted 1 line
Quoted 7 lines
Quoted 1 line
However, if anyone is interested I have made a trace without the NoAccel
option, when the latency jumped to 1113uS upon starting X, attached.
Quoted 1 line
Please try this patch. Your trace log reveals that we are only virtually masking interrupts while flushing the TLB, which is quite wrong.
Hi Phillipe,
I have tried the patch, and the only noticeable difference is that now when I have the NoAccel option set I am getting high latencies when I make actions such as killing the X server. Below is the ipipe trace. I presume this is going to be a problem even if I am not running X?
Thanks again,
Edward
I-pipe frozen back-tracing service on 2.6.32.15-xenomai-2.5.4/ipipe-2.7-01
------------------------------------------------------------
CPU: 0, Freeze: 4761785881144 cycles, Trace Points: 100 (+10)
Calibrated minimum trace-point overhead: 0.131 us
+----- Hard IRQs ('|': locked)
|+---- <unused>
||+--- <unused>
|||+-- Xenomai
||||+- Linux ('*': domain stalled, '+': current, '#': current+stalled)
||||| +---------- Delay flag ('+': > 1 us, '!': > 10 us)
||||| | +- NMI noise ('N')
||||| | |
Type User Val. Time Delay Function (Parent)
:| # func -2144 0.326 __phys_addr+0x4 (__xnpod_schedule+0x562)
:| # func -2143 0.390 __switch_to_xtra+0x8 (__switch_to+0x255)
:| # [ 3276] Xorg -1 -2143 0.427 __xnpod_schedule+0x834 (xnintr_clock_handler+0x130)
:| +func -2143 0.408 __ipipe_walk_pipeline+0x11 (__ipipe_dispatch_wired_nocheck+0x1da)
:| +end 0x000000f6 -2142 0.416 common_interrupt+0x39 (debug_smp_processor_id+0x97)
:| +begin 0x80000001 -2142 0.240 debug_smp_processor_id+0x44 (smp_call_function_single+0x122)
:| +end 0x80000001 -2141 0.262 debug_smp_processor_id+0x94 (smp_call_function_single+0x122)
: +func -2141 0.221 generic_exec_single+0x11 (smp_call_function_single+0x160)
: +func -2141 0.195 _spin_lock_irqsave+0x7 (generic_exec_single+0x3d)
: +func -2141 0.195 ipipe_check_context+0x11 (_spin_lock_irqsave+0x1b)
:| +begin 0x80000001 -2141 0.262 ipipe_check_context+0x33 (_spin_lock_irqsave+0x1b)
:| +end 0x80000001 -2140 0.244 ipipe_check_context+0xda (_spin_lock_irqsave+0x1b)
: #func -2140 0.206 add_preempt_count+0x9 (_spin_lock_irqsave+0x4c)
: #func -2140 0.202 ipipe_check_context+0x11 (add_preempt_count+0x1c)
:| #begin 0x80000001 -2140 0.259 ipipe_check_context+0x33 (add_preempt_count+0x1c)
:| #end 0x80000001 -2139 0.251 ipipe_check_context+0xda (add_preempt_count+0x1c)
: #func -2139 0.195 _spin_unlock_irqrestore+0x4 (generic_exec_single+0x5d)
: #func -2139 0.191 __ipipe_restore_root+0xb (_spin_unlock_irqrestore+0x21)
:| #begin 0x80000001 -2139 0.236 __ipipe_restore_root+0x2d (_spin_unlock_irqrestore+0x21)
:| #end 0x80000001 -2139 0.236 __ipipe_restore_root+0x7d (_spin_unlock_irqrestore+0x21)
: #func -2138 0.191 __ipipe_unstall_root+0x9 (__ipipe_restore_root+0xb1)
:| #begin 0x80000000 -2138 0.266 __ipipe_unstall_root+0x20 (__ipipe_restore_root+0xb1)
:| +end 0x80000000 -2138 0.213 __ipipe_unstall_root+0xce (__ipipe_restore_root+0xb1)
: +func -2138 0.206 sub_preempt_count+0x9 (_spin_unlock_irqrestore+0x2b)
: +func -2137 0.206 ipipe_check_context+0x11 (sub_preempt_count+0x1c)
:| +begin 0x80000001 -2137 0.259 ipipe_check_context+0x33 (sub_preempt_count+0x1c)
:| +end 0x80000001 -2137 0.255 ipipe_check_context+0xda (sub_preempt_count+0x1c)
: +func -2137 0.221 native_send_call_func_single_ipi+0x4 (generic_exec_single+0x6b)
: +func -2136 0.199 flat_send_IPI_mask+0x11 (native_send_call_func_single_ipi+0x34)
:| +begin 0x80000001 -2136 0.247 flat_send_IPI_mask+0x36 (native_send_call_func_single_ipi+0x34)
:| +end 0x80000001 -2136 0.228 flat_send_IPI_mask+0x8e (native_send_call_func_single_ipi+0x34)
: +func -2136 0.206 sub_preempt_count+0x9 (smp_call_function_single+0x173)
: +func -2136 0.191 ipipe_check_context+0x11 (sub_preempt_count+0x1c)
:| +begin 0x80000001 -2135 0.244 ipipe_check_context+0x33 (sub_preempt_count+0x1c)
:| +end 0x80000001 -2135 0.262 ipipe_check_context+0xda (sub_preempt_count+0x1c)
: +func -2135 0.191 sub_preempt_count+0x9 (smp_call_function+0x47)
: +func -2135 0.187 ipipe_check_context+0x11 (sub_preempt_count+0x1c)
:| +begin 0x80000001 -2135 0.244 ipipe_check_context+0x33 (sub_preempt_count+0x1c)
:| +end 0x80000001 -2134 0.232 ipipe_check_context+0xda (sub_preempt_count+0x1c)
: +func -2134 0.187 ipipe_check_context+0x11 (set_mtrr+0x77)
:| +begin 0x80000001 -2134 0.251 ipipe_check_context+0x33 (set_mtrr+0x77)
:| +end 0x80000001 -2134! 10.477 ipipe_check_context+0xda (set_mtrr+0x77)
: #func -2123 0.206 generic_set_mtrr+0x11 (set_mtrr+0xdc)
: #func -2123 0.202 ipipe_check_context+0x11 (generic_set_mtrr+0x42)
:| #begin 0x80000001 -2123 0.262 ipipe_check_context+0x33 (generic_set_mtrr+0x42)
:| #end 0x80000001 -2122 0.259 ipipe_check_context+0xda (generic_set_mtrr+0x42)
:| #begin 0x80000001 -2122 0.221 generic_set_mtrr+0x85 (set_mtrr+0xdc)
:| #func -2122 0.199 prepare_set+0x4 (generic_set_mtrr+0x8a)
:| #func -2122 0.213 _spin_lock+0x9 (prepare_set+0x15)
:| #func -2122 0.191 add_preempt_count+0x9 (_spin_lock+0x1b)
:| #func -2121! 1840.932 ipipe_check_context+0x11 (add_preempt_count+0x1c)
:| #func -280! 55.546 mtrr_wrmsr+0xd (prepare_set+0x79)
:| #func -225! 53.303 mtrr_wrmsr+0xd (generic_set_mtrr+0x111)
:| #func -172! 52.380 mtrr_wrmsr+0xd (generic_set_mtrr+0x129)
:| #func -119! 50.782 post_set+0x4 (generic_set_mtrr+0x12e)
:| #func -68! 40.665 mtrr_wrmsr+0xd (post_set+0x25)
:| #func -28+ 1.185 _spin_unlock+0x4 (post_set+0x4f)
:| #func -27 0.356 sub_preempt_count+0x9 (_spin_unlock+0x15)
:| #func -26 0.900 ipipe_check_context+0x11 (sub_preempt_count+0x1c)
:| #end 0x80000001 -25+ 1.050 generic_set_mtrr+0x13f (set_mtrr+0xdc)
:| #begin 0x000000f6 -24 0.566 common_interrupt+0x20 (generic_set_mtrr+0x142)
:| #func -24 0.468 __ipipe_handle_irq+0x11 (common_interrupt+0x27)
:| #func -23 0.266 irq_to_desc+0x4 (__ipipe_handle_irq+0x134)
:| #func -23 0.397 __ipipe_ack_apic+0x4 (__ipipe_handle_irq+0x13c)
:| #func -23 0.465 native_apic_mem_write+0x4 (__ipipe_ack_apic+0x1d)
:| #func -22 0.348 __ipipe_dispatch_wired+0xd (__ipipe_handle_irq+0x147)
:| #func -22 0.450 __ipipe_dispatch_wired_nocheck+0x11 (__ipipe_dispatch_wired+0xba)
:| #*func -21 0.634 xnintr_clock_handler+0xb (__ipipe_dispatch_wired_nocheck+0x12b)
:| #*func -21 0.892 xntimer_tick_aperiodic+0xb (xnintr_clock_handler+0x81)
:| #*func -20 0.352 xnthread_periodic_handler+0x4 (xntimer_tick_aperiodic+0x8d)
:| #*func -19 0.585 xnpod_resume_thread+0x11 (xnthread_periodic_handler+0x2d)
:| #*[ 3272] -<?>- 99 -19 0.682 xnpod_resume_thread+0xfa (xnthread_periodic_handler+0x2d)
:| #*func -18 0.318 xntimer_next_local_shot+0x9 (xntimer_tick_aperiodic+0x191)
:| #*event [email protected] -18 0.285 xntimer_next_local_shot+0xb0 (xntimer_tick_aperiodic+0x191)
:| #*func -18 0.420 native_apic_mem_write+0x4 (xntimer_next_local_shot+0xe5)
:| #*func -17 0.517 __xnpod_schedule+0x11 (xnintr_clock_handler+0x130)
:| #*[ 3276] Xorg -1 -17 0.296 __xnpod_schedule+0x189 (xnintr_clock_handler+0x130)
:| #*func -16+ 1.601 xnsched_pick_next+0x4 (__xnpod_schedule+0x1e3)
:| #*func -15+ 1.091 __phys_addr+0x4 (__xnpod_schedule+0x562)
:| #*func -14 0.697 __switch_to_xtra+0x8 (__switch_to+0x255)
:| #*[ 3272] -<?>- 99 -13 0.945 __xnpod_schedule+0x834 (xnpod_suspend_thread+0x281)
:| #*func -12 0.495 xntimer_get_overruns+0x8 (xnpod_wait_thread_period+0x14c)
:| #*func -11 0.307 __ipipe_restore_pipeline_head+0x7 (xnpod_wait_thread_period+0x1cb)
:| +*end 0x80000000 -11+ 1.526 __ipipe_restore_pipeline_head+0x137 (xnpod_wait_thread_period+0x1cb)
:| +*begin 0x80000001 -10 0.442 __ipipe_dispatch_event+0x1d9 (__ipipe_syscall_root+0xcd)
:| +*end 0x80000001 -9 0.341 __ipipe_dispatch_event+0x3f0 (__ipipe_syscall_root+0xcd)
:| +*begin 0x80000001 -9+ 4.351 __ipipe_syscall_root+0xec (__ipipe_syscall_root_thunk+0x35)
: +*func -5 0.322 __ipipe_syscall_root+0x11 (__ipipe_syscall_root_thunk+0x35)
: +*func -4 0.202 __ipipe_dispatch_event+0x11 (__ipipe_syscall_root+0xcd)
:| +*begin 0x80000001 -4 0.510 __ipipe_dispatch_event+0x34 (__ipipe_syscall_root+0xcd)
:| +*end 0x80000001 -3 0.266 __ipipe_dispatch_event+0x1a6 (__ipipe_syscall_root+0xcd)
: +*func -3 0.791 hisyscall_event+0x11 (__ipipe_dispatch_event+0x1b7)
: +*func -2 0.528 xnshadow_sys_trace+0x7 (hisyscall_event+0x151)
: +*func -2 0.300 ipipe_trace_frozen_reset+0xb (xnshadow_sys_trace+0x69)
: +*func -2 0.199 __ipipe_global_path_lock+0x4 (ipipe_trace_frozen_reset+0x1c)
: +*func -1 0.187 __ipipe_spin_lock_irqsave+0xb (__ipipe_global_path_lock+0x15)
:| +*begin 0x80000001 -1+ 1.226 __ipipe_spin_lock_irqsave+0x2a (__ipipe_global_path_lock+0x15)
:| #*func 0 0.262 __ipipe_spin_unlock_irqcomplete+0xb (__ipipe_global_path_unlock+0x7d)
:| +*end 0x80000001 0 0.229 __ipipe_spin_unlock_irqcomplete+0xcf (__ipipe_global_path_unlock+0x7d)
< +*freeze 0x001f3e65 0 0.225 xnshadow_sys_trace+0x73 (hisyscall_event+0x151)
| +*begin 0x80000001 0 0.251 __ipipe_dispatch_event+0x1d9 (__ipipe_syscall_root+0xcd)
| +*end 0x80000001 0 0.214 __ipipe_dispatch_event+0x3f0 (__ipipe_syscall_root+0xcd)
| +*begin 0x80000001 0 0.708 __ipipe_syscall_root+0xec (__ipipe_syscall_root_thunk+0x35)
+*func 1 0.199 __ipipe_syscall_root+0x11 (__ipipe_syscall_root_thunk+0x35)
+*func 1 0.183 __ipipe_dispatch_event+0x11 (__ipipe_syscall_root+0xcd)
| +*begin 0x80000001 1 0.262 __ipipe_dispatch_event+0x34 (__ipipe_syscall_root+0xcd)
| +*end 0x80000001 2 0.199 __ipipe_dispatch_event+0x1a6 (__ipipe_syscall_root+0xcd)
+*func 2 0.352 hisyscall_event+0x11 (__ipipe_dispatch_event+0x1b7)
+*func 2 0.281 __rt_task_wait_period+0xb (hisyscall_event+0x151)
+*func 2 0.000 rt_task_wait_period+0x4 (__rt_task_wait_period+0x1c)Quoted 4 lines · [email protected] wrote:
I am also finding that tasks are frequently hanging, causing ipipetraces with "INFO: task xxx:xxx blocked for more than 120 seconds". Ihave just had this with apt-get update, and was previously getting itwith grub-install. Could this be related?
Yes. There is obviously an issue in your patched kernel, we need to find this first before we draw any conclusion from any other behaviour.
Quoted 1 line
From the trace you sent, it looks like it happens in the MTRR code, but
it could also be an SMI, or some other bug. For debugging purposes, could you try disabling MTRRs in the kernel configuration?
Signature · 1 line
Gilles.
Will do. Should I leave in Philippes patch? I will assume no for now...
Quoted 16 lines · Gilles Chanteperdrix
Quoted 4 lines · [email protected] wrote:
I am also finding that tasks are frequently hanging, causing ipipetraces with "INFO: task xxx:xxx blocked for more than 120 seconds". Ihave just had this with apt-get update, and was previously getting itwith grub-install. Could this be related?
Yes. There is obviously an issue in your patched kernel, we need to find this first before we draw any conclusion from any other behaviour.
From the trace you sent, it looks like it happens in the MTRR code, but it could also be an SMI, or some other bug. For debugging purposes, could you try disabling MTRRs in the kernel configuration?
--
Gilles.
Quoted 1 line · [email protected] wrote:
Will do. Should I leave in Philippes patch? I will assume no for now...
I would say you can keep it. If it is possible try both with and without.
Signature · 1 line
Gilles.
Quoted 3 lines · On Fri, 2010-10-15 at 15:13 +0100, [email protected] wrote:
Will do. Should I leave in Philippes patch? I will assume no for now...
That patch is correct and unrelated to the next problem. An other issue is that the generic mtrr code is not ipipe aware, so it is not really interrupt free.
Quoted 26 lines
Quoted 4 lines · Gilles Chanteperdrix
Quoted 3 lines · [email protected] wrote:
I am also finding that tasks are frequently hanging, causing ipipetraces with "INFO: task xxx:xxx blocked for more than 120 seconds". Ihave just had this with apt-get update, and was
previously
Quoted 3 lines
Quoted 1 line
getting itwith grub-install. Could this be related?
Yes. There is obviously an issue in your patched kernel, we need to
find
Quoted 3 lines
this first before we draw any conclusion from any other behaviour.
From the trace you sent, it looks like it happens in the MTRR code,
but
Quoted 6 lines
it could also be an SMI, or some other bug. For debugging purposes, could you try disabling MTRRs in the kernel configuration?
--
Gilles._______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.
Having disabled MTRR (and leaving in Phillipes patch) I am not getting unreasonable latencies unless I enable graphics acceleration. Can I be sure this has solved the issue?
Edward
Quoted 16 lines · Gilles Chanteperdrix
Quoted 4 lines · [email protected] wrote:
I am also finding that tasks are frequently hanging, causing ipipetraces with "INFO: task xxx:xxx blocked for more than 120 seconds". Ihave just had this with apt-get update, and was previously getting itwith grub-install. Could this be related?
Yes. There is obviously an issue in your patched kernel, we need to find this first before we draw any conclusion from any other behaviour.
From the trace you sent, it looks like it happens in the MTRR code, but it could also be an SMI, or some other bug. For debugging purposes, could you try disabling MTRRs in the kernel configuration?
--
Gilles.
Quoted 3 lines · [email protected] wrote:
Having disabled MTRR (and leaving in Phillipes patch) I am not getting unreasonable latencies unless I enable graphics acceleration. Can I be sure this has solved the issue?
Yes, run a long stress test while running latency. The stress test should stress anything (drivers, kernel services) you plan to use in the final system.
The way we do this when validating Xenomai is by running the "dohell" scripts, which relies on LTP to stress many kernel services.
http://git.xenomai.org/?p=mkrootfs.git;a=blob;f=tests/dohell;h=327a9f20755e23547f960e4c316141652f839bbf;hb=master
Signature · 1 line
Gilles.
Thanks, this script sounds like exactly what I need. I downloaded the latest snapshot of mkrootfs from git, but I don't want to install that on my rootfs. I'd just download the script alone, but looking at it I see it would want to run a script in /ltp as well, so I guess I need ltp too. Can you tell me an easier way to set up dohell that might save me sifting through the whole of ltp and mkrootfs to figure it out?
Thanks again,
Edward
Quoted 16 lines · Gilles Chanteperdrix
Quoted 3 lines · [email protected] wrote:
Having disabled MTRR (and leaving in Phillipes patch) I am not getting unreasonable latencies unless I enable graphics acceleration. Can I be sure this has solved the issue?
Yes, run a long stress test while running latency. The stress test should stress anything (drivers, kernel services) you plan to use in the final system.
The way we do this when validating Xenomai is by running the "dohell" scripts, which relies on LTP to stress many kernel services.
http://git.xenomai.org/?p=mkrootfs.git;a=blob;f=tests/dohell;h=327a9f20755e23547f960e4c316141652f839bbf;hb=master--
Gilles.
Quoted 6 lines · [email protected] wrote:
Thanks, this script sounds like exactly what I need. I downloaded the latest snapshot of mkrootfs from git, but I don't want to install that on my rootfs. I'd just download the script alone, but looking at it I see it would want to run a script in /ltp as well, so I guess I need ltp too. Can you tell me an easier way to set up dohell that might save me sifting through the whole of ltp and mkrootfs to figure it out?
Well, you need to compile LTP. Building LTP (at least the version we use to validate Xenomai) is a bit peculiar in cross-compiled environment, but should be straight-forward if you are not cross-compiling. You should find some documentation here:
http://ltp.sourceforge.net/documentation/how-to/ltp.php
Signature · 1 line
Gilles.
Yep, sorry the words got to the keyboard bypassing my brain... it's built already...
Quoted 18 lines · Gilles Chanteperdrix
Quoted 6 lines · [email protected] wrote:
Thanks, this script sounds like exactly what I need. I downloaded the latest snapshot of mkrootfs from git, but I don't want to install that on my rootfs. I'd just download the script alone, but looking at it I see it would want to run a script in /ltp as well, so I guess I need ltp too. Can you tell me an easier way to set up dohell that might save me sifting through the whole of ltp and mkrootfs to figure it out?
Well, you need to compile LTP. Building LTP (at least the version we use to validate Xenomai) is a bit peculiar in cross-compiled environment, but should be straight-forward if you are not cross-compiling. You should find some documentation here:
http://ltp.sourceforge.net/documentation/how-to/ltp.php--
Gilles.
Quoted 1 line · [email protected] wrote:
Yep, sorry the words got to the keyboard bypassing my brain... it's built already...
So, you are all set-up I guess. In one terminal, launch latency, in another terminal, launch dohell. When, in that second terminal, you see:
Listening on any address 5566
Quoted 1 line
From another computer, run:
netcat the-box-where-dohell-runs 5566 > /dev/null
We can probably do something simpler with the inetd "discard" service, but I have not tried yet.
Signature · 1 line
Gilles.
Argh.. okay. Something is still wrong..very wrong..and went wrong fairly early in the test I think. Latencies went up to around 4500. I've attached a trace. Any clues?
Edward
Quoted 9 lines · Gilles Chanteperdrix
Quoted 2 lines · [email protected] wrote:
Yep, sorry the words got to the keyboard bypassing my brain... it's built already...
So, you are all set-up I guess. In one terminal, launch latency, in another terminal, launch dohell. When, in that second terminal, you see:
Listening on any address 5566
Quoted 9 lines
From another computer, run:
netcat the-box-where-dohell-runs 5566 >/dev/nullWe can probably do something simpler with the inetd "discard" service, but I have not tried yet.
--
Gilles.
I-pipe frozen back-tracing service on 2.6.32.15-xenomai-2.5.4/ipipe-2.7-01
------------------------------------------------------------
CPU: 0, Freeze: 35710222406884 cycles, Trace Points: 100 (+10)
Calibrated minimum trace-point overhead: 0.131 us
+----- Hard IRQs ('|': locked)
|+---- <unused>
||+--- <unused>
|||+-- Xenomai
||||+- Linux ('*': domain stalled, '+': current, '#': current+stalled)
||||| +---------- Delay flag ('+': > 1 us, '!': > 10 us)
||||| | +- NMI noise ('N')
||||| | |
Type User Val. Time Delay Function (Parent)
:| #begin 0x80000000 -4505 0.251 __ipipe_unstall_root+0x20 (__ipipe_restore_root+0xb1)
:| +end 0x80000000 -4504 0.210 __ipipe_unstall_root+0xce (__ipipe_restore_root+0xb1)
: +func -4504 0.225 file_free_rcu+0x9 (__rcu_process_callbacks+0x1ee)
: +func -4504 0.202 kmem_cache_free+0x11 (file_free_rcu+0x33)
: +func -4504 0.195 ipipe_check_context+0x11 (kmem_cache_free+0x29)
:| +begin 0x80000001 -4503 0.251 ipipe_check_context+0x33 (kmem_cache_free+0x29)
:| +end 0x80000001 -4503 0.236 ipipe_check_context+0xda (kmem_cache_free+0x29)
:| #begin 0x80000001 -4503 0.236 debug_smp_processor_id+0x44 (kmem_cache_free+0x57)
:| #end 0x80000001 -4503 0.217 debug_smp_processor_id+0x94 (kmem_cache_free+0x57)
: #func -4502 0.206 __ipipe_restore_root+0xb (kmem_cache_free+0x231)
:| #begin 0x80000001 -4502 0.225 __ipipe_restore_root+0x2d (kmem_cache_free+0x231)
:| #end 0x80000001 -4502 0.202 __ipipe_restore_root+0x7d (kmem_cache_free+0x231)
: #func -4502 0.199 __ipipe_unstall_root+0x9 (__ipipe_restore_root+0xb1)
:| #begin 0x80000000 -4502 0.255 __ipipe_unstall_root+0x20 (__ipipe_restore_root+0xb1)
:| +end 0x80000000 -4501 0.217 __ipipe_unstall_root+0xce (__ipipe_restore_root+0xb1)
: +func -4501 0.198 ipipe_check_context+0x11 (__rcu_process_callbacks+0x20e)
:| +begin 0x80000001 -4501 0.240 ipipe_check_context+0x33 (__rcu_process_callbacks+0x20e)
:| +end 0x80000001 -4501 0.274 ipipe_check_context+0xda (__rcu_process_callbacks+0x20e)
: #func -4500 0.198 __ipipe_restore_root+0xb (__rcu_process_callbacks+0x309)
:| #begin 0x80000001 -4500 0.221 __ipipe_restore_root+0x2d (__rcu_process_callbacks+0x309)
:| #end 0x80000001 -4500 0.228 __ipipe_restore_root+0x7d (__rcu_process_callbacks+0x309)
: #func -4500 0.187 __ipipe_unstall_root+0x9 (__ipipe_restore_root+0xb1)
:| #begin 0x80000000 -4500 0.236 __ipipe_unstall_root+0x20 (__ipipe_restore_root+0xb1)
:| +end 0x80000000 -4499 0.221 __ipipe_unstall_root+0xce (__ipipe_restore_root+0xb1)
: +func -4499 0.191 raise_softirq+0x7 (__rcu_process_callbacks+0x31a)
: +func -4499 0.198 ipipe_check_context+0x11 (raise_softirq+0x1a)
:| +begin 0x80000001 -4499 0.251 ipipe_check_context+0x33 (raise_softirq+0x1a)
:| +end 0x80000001 -4499 0.243 ipipe_check_context+0xda (raise_softirq+0x1a)
: #func -4498 0.195 __ipipe_restore_root+0xb (raise_softirq+0x86)
:| #begin 0x80000001 -4498 0.236 __ipipe_restore_root+0x2d (raise_softirq+0x86)
:| #end 0x80000001 -4498 0.202 __ipipe_restore_root+0x7d (raise_softirq+0x86)
: #func -4498 0.187 __ipipe_unstall_root+0x9 (__ipipe_restore_root+0xb1)
:| #begin 0x80000000 -4497 0.236 __ipipe_unstall_root+0x20 (__ipipe_restore_root+0xb1)
:| +end 0x80000000 -4497 0.217 __ipipe_unstall_root+0xce (__ipipe_restore_root+0xb1)
:| +begin 0x80000001 -4497 0.225 debug_smp_processor_id+0x44 (rcu_process_callbacks+0x42)
:| +end 0x80000001 -4497 0.217 debug_smp_processor_id+0x94 (rcu_process_callbacks+0x42)
: +func -4497 0.206 __rcu_process_callbacks+0x11 (rcu_process_callbacks+0x5b)
: +func -4496 0.198 force_quiescent_state+0x11 (__rcu_process_callbacks+0x6c)
: +func -4496 0.191 rcu_process_gp_end+0xd (__rcu_process_callbacks+0x78)
: +func -4496 0.187 ipipe_check_context+0x11 (rcu_process_gp_end+0x21)
:| +begin 0x80000001 -4496 0.247 ipipe_check_context+0x33 (rcu_process_gp_end+0x21)
:| +end 0x80000001 -4496 0.243 ipipe_check_context+0xda (rcu_process_gp_end+0x21)
: #func -4495 0.187 __ipipe_restore_root+0xb (rcu_process_gp_end+0x79)
:| #begin 0x80000001 -4495 0.236 __ipipe_restore_root+0x2d (rcu_process_gp_end+0x79)
:| #end 0x80000001 -4495 0.210 __ipipe_restore_root+0x7d (rcu_process_gp_end+0x79)
: #func -4495 0.187 __ipipe_unstall_root+0x9 (__ipipe_restore_root+0xb1)
:| #begin 0x80000000 -4494 0.240 __ipipe_unstall_root+0x20 (__ipipe_restore_root+0xb1)
:| +end 0x80000000 -4494 0.221 __ipipe_unstall_root+0xce (__ipipe_restore_root+0xb1)
: +func -4494 0.195 check_for_new_grace_period+0xb (__rcu_process_callbacks+0x84)
: +func -4494! 4474.777 ipipe_check_context+0x11 (check_for_new_grace_period+0x22)
:| +begin 0x000000f6 -19 0.228 common_interrupt+0x20 (__ipipe_trace+0x729)
:| +func -19 0.251 __ipipe_handle_irq+0x11 (common_interrupt+0x27)
:| +func -19 0.202 irq_to_desc+0x4 (__ipipe_handle_irq+0x134)
:| +func -18 0.195 __ipipe_ack_apic+0x4 (__ipipe_handle_irq+0x13c)
:| +func -18 0.228 native_apic_mem_write+0x4 (__ipipe_ack_apic+0x1d)
:| +func -18 0.221 __ipipe_dispatch_wired+0xd (__ipipe_handle_irq+0x147)
:| +func -18 0.270 __ipipe_dispatch_wired_nocheck+0x11 (__ipipe_dispatch_wired+0xba)
:| # func -17 0.240 xnintr_clock_handler+0xb (__ipipe_dispatch_wired_nocheck+0x12b)
:| # func -17 0.243 xntimer_tick_aperiodic+0xb (xnintr_clock_handler+0x81)
:| # func -17 0.202 xnthread_periodic_handler+0x4 (xntimer_tick_aperiodic+0x8d)
:| # func -17 0.221 xnpod_resume_thread+0x11 (xnthread_periodic_handler+0x2d)
:| # [31843] -<?>- 99 -17 0.461 xnpod_resume_thread+0xfa (xnthread_periodic_handler+0x2d)
:| # func -16 0.206 xntimer_next_local_shot+0x9 (xntimer_tick_aperiodic+0x191)
:| # event tick@25 -16 0.210 xntimer_next_local_shot+0xb0 (xntimer_tick_aperiodic+0x191)
:| # func -16 0.251 native_apic_mem_write+0x4 (xntimer_next_local_shot+0xe5)
:| # func -15 0.274 __xnpod_schedule+0x11 (xnintr_clock_handler+0x130)
:| # [17400] -<?>- -1 -15 0.221 __xnpod_schedule+0x189 (xnintr_clock_handler+0x130)
:| # func -15 0.409 xnsched_pick_next+0x4 (__xnpod_schedule+0x1e3)
:| # func -14 0.536 __phys_addr+0x4 (__xnpod_schedule+0x562)
:| # [31843] -<?>- 99 -14 0.375 __xnpod_schedule+0x834 (xnpod_suspend_thread+0x281)
:| # func -14 0.247 xntimer_get_overruns+0x8 (xnpod_wait_thread_period+0x14c)
:| # func -13 0.214 __ipipe_restore_pipeline_head+0x7 (xnpod_wait_thread_period+0x1cb)
:| + end 0x80000000 -13 0.521 __ipipe_restore_pipeline_head+0x137 (xnpod_wait_thread_period+0x1cb)
:| + begin 0x00000039 -13 0.244 common_interrupt+0x20 (__ipipe_restore_pipeline_head+0x139)
:| + func -12 0.656 __ipipe_handle_irq+0x11 (common_interrupt+0x27)
:| + func -12 0.337 __ipipe_set_irq_pending+0xd (__ipipe_handle_irq+0x173)
:| + func -11 0.304 irq_to_desc+0x4 (__ipipe_handle_irq+0x18b)
:| + func -11 0.401 __ipipe_ack_fasteoi_irq+0x4 (__ipipe_handle_irq+0x194)
:| + func -11 0.292 ack_apic_level+0xd (__ipipe_ack_fasteoi_irq+0x10)
:| + func -10 0.394 native_apic_mem_read+0x4 (ack_apic_level+0x4d)
:| + func -10+ 2.134 io_apic_modify_irq+0xb (ack_apic_level+0xb6)
:| + func -8+ 1.432 io_apic_sync+0x4 (io_apic_modify_irq+0x9e)
:| + func -6 0.296 native_apic_mem_write+0x4 (ack_apic_level+0xd0)
:| + end 0x00000039 -6 0.468 common_interrupt+0x39 (__ipipe_restore_pipeline_head+0x139)
:| + begin 0x80000001 -6 0.262 __ipipe_dispatch_event+0x1d9 (__ipipe_syscall_root+0xcd)
:| + end 0x80000001 -5 0.214 __ipipe_dispatch_event+0x3f0 (__ipipe_syscall_root+0xcd)
:| + begin 0x80000001 -5+ 1.488 __ipipe_syscall_root+0xec (__ipipe_syscall_root_thunk+0x35)
: + func -4 0.210 __ipipe_syscall_root+0x11 (__ipipe_syscall_root_thunk+0x35)
: + func -3 0.195 __ipipe_dispatch_event+0x11 (__ipipe_syscall_root+0xcd)
:| + begin 0x80000001 -3 0.262 __ipipe_dispatch_event+0x34 (__ipipe_syscall_root+0xcd)
:| + end 0x80000001 -3 0.199 __ipipe_dispatch_event+0x1a6 (__ipipe_syscall_root+0xcd)
: + func -3 0.570 hisyscall_event+0x11 (__ipipe_dispatch_event+0x1b7)
: + func -2 0.371 xnshadow_sys_trace+0x7 (hisyscall_event+0x151)
: + func -2 0.337 ipipe_trace_frozen_reset+0xb (xnshadow_sys_trace+0x69)
: + func -2 0.202 __ipipe_global_path_lock+0x4 (ipipe_trace_frozen_reset+0x1c)
: + func -1 0.199 __ipipe_spin_lock_irqsave+0xb (__ipipe_global_path_lock+0x15)
:| + begin 0x80000001 -1+ 1.110 __ipipe_spin_lock_irqsave+0x2a (__ipipe_global_path_lock+0x15)
:| # func 0 0.273 __ipipe_spin_unlock_irqcomplete+0xb (__ipipe_global_path_unlock+0x7d)
:| + end 0x80000001 0 0.244 __ipipe_spin_unlock_irqcomplete+0xcf (__ipipe_global_path_unlock+0x7d)
< + freeze 0x00442d3e 0 0.266 xnshadow_sys_trace+0x73 (hisyscall_event+0x151)
| + begin 0x80000001 0 0.270 __ipipe_dispatch_event+0x1d9 (__ipipe_syscall_root+0xcd)
| + end 0x80000001 0 0.229 __ipipe_dispatch_event+0x3f0 (__ipipe_syscall_root+0xcd)
| + begin 0x80000001 0 0.386 __ipipe_syscall_root+0xec (__ipipe_syscall_root_thunk+0x35)
+ func 1 0.214 __ipipe_syscall_root+0x11 (__ipipe_syscall_root_thunk+0x35)
+ func 1 0.198 __ipipe_dispatch_event+0x11 (__ipipe_syscall_root+0xcd)
| + begin 0x80000001 1 0.277 __ipipe_dispatch_event+0x34 (__ipipe_syscall_root+0xcd)
| + end 0x80000001 1 0.225 __ipipe_dispatch_event+0x1a6 (__ipipe_syscall_root+0xcd)
+ func 2 0.225 hisyscall_event+0x11 (__ipipe_dispatch_event+0x1b7)
+ func 2 0.187 __rt_task_wait_period+0xb (hisyscall_event+0x151)
+ func 2 0.000 rt_task_wait_period+0x4 (__rt_task_wait_period+0x1c)Quoted 3 lines · [email protected] wrote:
Argh.. okay. Something is still wrong..very wrong..and went wrong fairly early in the test I think. Latencies went up to around 4500. I've attached a trace. Any clues?
What is your status with SMIs ?
Signature · 1 line
Gilles.
Oh no...
dmesg | grep SMI
CPU0: Thermal monitoring handled by SMI
CPU1: Thermal monitoring handled by SMI
So I guess that didn't work? I have used the 'Globally disable SMIs option' at kernel config time.... there is an option in the BIOS to disable SMI but I was having problems with it... will investigate. Any other options?
Quoted 10 lines · Gilles Chanteperdrix
Quoted 3 lines · [email protected] wrote:
Argh.. okay. Something is still wrong..very wrong..and went wrong fairly early in the test I think. Latencies went up to around 4500. I've attached a trace. Any clues?
What is your status with SMIs ?
--
Gilles.
Quoted 8 lines · [email protected] wrote:
Oh no...
dmesg | grep SMI
CPU0: Thermal monitoring handled by SMI
CPU1: Thermal monitoring handled by SMISo I guess that didn't work? I have used the 'Globally disable SMIs option' at kernel config time.... there is an option in the BIOS to disable SMI but I was having problems with it... will investigate. Any other options?
What do the boot logs say?
Signature · 1 line
Gilles.
Assuming you mean /var/log/messages and dmesg, they say nothing about SMIs except what I previously wrote.
I have managed to boot with SMI disabled in BIOS. The only trouble is I have to manually go into the BIOS bootloader and select to boot from USB every time or it reports there is no bootable device. It warns in the BIOS that disabling SMI will cause legacy USB boot to not work, so I presume this is the cause since my root fs is on a USB attached compact flash.
I will try now running tests with SMI disabled in the BIOS.
Quoted 17 lines · Gilles Chanteperdrix
Quoted 10 lines · [email protected] wrote:
Oh no...
dmesg | grep SMI
CPU0: Thermal monitoring handled by SMI
CPU1: Thermal monitoring handled by SMISo I guess that didn't work? I have used the 'Globally disable SMIs option' at kernel config time.... there is an option in the BIOS to disable SMI but I was having problems with it... will investigate. Any other options?
What do the boot logs say?
--
Gilles.
Quoted 2 lines · [email protected] wrote:
Assuming you mean
/var/log/messagesand dmesg, they say nothing about SMIs except what I previously wrote.
Then it means, as I tried to explain in the link I posted, that Xenomai SMI workaround code does not support your chipset. But adding it should be really easy.
And yes, legacy usb is based on SMIs. But as far as I know, it is something for keyboards and mice (emulating PS/2 peripherals using USB peripherals). It should not prevent you from booting from an USB key.
Signature · 1 line
Gilles.
Yeah, sorry, was just dealing with one message at a time... see the next one.
Well, maybe it is something strange with my BIOS... it does explicitly say I wont be able to do "legacy usb boot". But then it works anyway if I go into the bios 'boot manager'. I will try playing with the boot order settings.
Quoted 15 lines · Gilles Chanteperdrix
Quoted 2 lines · [email protected] wrote:
Assuming you mean
/var/log/messagesand dmesg, they say nothing about SMIs except what I previously wrote.Then it means, as I tried to explain in the link I posted, that Xenomai SMI workaround code does not support your chipset. But adding it should be really easy.
And yes, legacy usb is based on SMIs. But as far as I know, it is something for keyboards and mice (emulating PS/2 peripherals using USB peripherals). It should not prevent you from booting from an USB key.
--
Gilles.
Well, tests with SMI handler disabled in BIOS did not work. Trace attached in case it's of interest. Compiling new kernel now...
Quoted 35 lines · On Saturday, 23 October, 2010 3:32pm, [email protected] said:
Assuming you mean
/var/log/messagesand dmesg, they say nothing about SMIs except what I previously wrote.I have managed to boot with SMI disabled in BIOS. The only trouble is I have to manually go into the BIOS bootloader and select to boot from USB every time or it reports there is no bootable device. It warns in the BIOS that disabling SMI will cause legacy USB boot to not work, so I presume this is the cause since my root fs is on a USB attached compact flash.
I will try now running tests with SMI disabled in the BIOS.
Quoted 8 lines · Gilles Chanteperdrix
Quoted 7 lines · [email protected] wrote:
Oh no...
dmesg | grep SMI
CPU0: Thermal monitoring handled by SMI
CPU1: Thermal monitoring handled by SMIQuoted 9 lines
Quoted 3 lines
So I guess that didn't work? I have used the 'Globally disable SMIs option' at kernel config time.... there is an option in the BIOS to disable SMI but I was having problems with it... will investigate. Any other options?
What do the boot logs say?
--
Gilles.
Quoted 4 lines
_______________________________________________
Xenomai-help mailing list
[email protected]> https://mail.gna.org/listinfo/xenomai-help
I-pipe frozen back-tracing service on 2.6.32.15-xenomai-2.5.4/ipipe-2.7-01
------------------------------------------------------------
CPU: 0, Freeze: 766453929411 cycles, Trace Points: 100 (+10)
Calibrated minimum trace-point overhead: 0.131 us
+----- Hard IRQs ('|': locked)
|+---- <unused>
||+--- <unused>
|||+-- Xenomai
||||+- Linux ('*': domain stalled, '+': current, '#': current+stalled)
||||| +---------- Delay flag ('+': > 1 us, '!': > 10 us)
||||| | +- NMI noise ('N')
||||| | |
Type User Val. Time Delay Function (Parent)
: +func -314138717 0.195 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138717 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138717 0.202 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138717 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138717 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138716 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138716 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138716 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138716 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138716 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138715 0.195 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138715 0.202 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138715 0.195 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138715 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138715 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138714 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138714 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138714 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138714 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138714 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138713 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138713 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138713 0.202 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138713 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138713 0.214 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138712 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138712 0.210 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138712 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138712 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138712 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138711 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138711 0.202 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138711 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138711 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138711 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138710 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138710 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138710 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138710 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138710 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138709 0.202 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138709 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138709 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138709 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138709 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138708 0.202 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138708 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138708 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138708 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138708 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138707 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138707 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138707 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138707 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138707 0.195 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138706 0.251 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138706 0.217 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138706 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138706 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138706 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138705 0.210 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138705 0.210 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138705 0.202 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138705 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138705 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138704 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138704 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138704 0.217 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138704 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138703 0.206 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138703 0.199 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138703 0.198 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
: +func -314138703 0.202 find_symbol_in_section+0x11 (each_symbol_in_section+0x3a)
-<invalid>-
:| # func -8 0.206 xntimer_next_local_shot+0x9 (xntimer_tick_aperiodic+0x191)
:| # event tick@23 -8 0.202 xntimer_next_local_shot+0xb0 (xntimer_tick_aperiodic+0x191)
:| # func -8 0.251 native_apic_mem_write+0x4 (xntimer_next_local_shot+0xe5)
:| # func -8 0.266 __xnpod_schedule+0x11 (xnintr_clock_handler+0x130)
:| # [25391] -<?>- -1 -7 0.225 __xnpod_schedule+0x189 (xnintr_clock_handler+0x130)
:| # func -7 0.420 xnsched_pick_next+0x4 (__xnpod_schedule+0x1e3)
:| # func -7 0.487 __phys_addr+0x4 (__xnpod_schedule+0x562)
:| # [ 3299] -<?>- 99 -6 0.356 __xnpod_schedule+0x834 (xnpod_suspend_thread+0x281)
:| # func -6 0.251 xntimer_get_overruns+0x8 (xnpod_wait_thread_period+0x14c)
:| # func -6 0.214 __ipipe_restore_pipeline_head+0x7 (xnpod_wait_thread_period+0x1cb)
:| + end 0x80000000 -5 0.926 __ipipe_restore_pipeline_head+0x137 (xnpod_wait_thread_period+0x1cb)
:| + end 0x80000001 -5 0.229 __ipipe_dispatch_event+0x3f0 (__ipipe_syscall_root+0xcd)
:| + begin 0x80000001 -4 0.866 __ipipe_syscall_root+0xec (__ipipe_syscall_root_thunk+0x35)
: + func -3 0.217 __ipipe_syscall_root+0x11 (__ipipe_syscall_root_thunk+0x35)
: + func -3 0.225 __ipipe_dispatch_event+0x11 (__ipipe_syscall_root+0xcd)
:| + begin 0x80000001 -3 0.270 __ipipe_dispatch_event+0x34 (__ipipe_syscall_root+0xcd)
:| + end 0x80000001 -3 0.217 __ipipe_dispatch_event+0x1a6 (__ipipe_syscall_root+0xcd)
: + func -3 0.540 hisyscall_event+0x11 (__ipipe_dispatch_event+0x1b7)
: + func -2 0.397 xnshadow_sys_trace+0x7 (hisyscall_event+0x151)
: + func -2 0.337 ipipe_trace_frozen_reset+0xb (xnshadow_sys_trace+0x69)
: + func -1 0.202 __ipipe_global_path_lock+0x4 (ipipe_trace_frozen_reset+0x1c)
: + func -1 0.191 __ipipe_spin_lock_irqsave+0xb (__ipipe_global_path_lock+0x15)
:| + begin 0x80000001 -1 0.877 __ipipe_spin_lock_irqsave+0x2a (__ipipe_global_path_lock+0x15)
:| # func 0 0.270 __ipipe_spin_unlock_irqcomplete+0xb (__ipipe_global_path_unlock+0x7d)
:| + end 0x80000001 0 0.221 __ipipe_spin_unlock_irqcomplete+0xcf (__ipipe_global_path_unlock+0x7d)
< + freeze 0x004439ec 0 0.232 xnshadow_sys_trace+0x73 (hisyscall_event+0x151)
| + begin 0x80000001 0 0.262 __ipipe_dispatch_event+0x1d9 (__ipipe_syscall_root+0xcd)
| + end 0x80000001 0 0.214 __ipipe_dispatch_event+0x3f0 (__ipipe_syscall_root+0xcd)
| + begin 0x80000001 0 0.367 __ipipe_syscall_root+0xec (__ipipe_syscall_root_thunk+0x35)
+ func 1 0.213 __ipipe_syscall_root+0x11 (__ipipe_syscall_root_thunk+0x35)
+ func 1 0.195 __ipipe_dispatch_event+0x11 (__ipipe_syscall_root+0xcd)
| + begin 0x80000001 1 0.270 __ipipe_dispatch_event+0x34 (__ipipe_syscall_root+0xcd)
| + end 0x80000001 1 0.214 __ipipe_dispatch_event+0x1a6 (__ipipe_syscall_root+0xcd)
+ func 1 0.225 hisyscall_event+0x11 (__ipipe_dispatch_event+0x1b7)
+ func 2 0.191 __rt_task_wait_period+0xb (hisyscall_event+0x151)
+ func 2 0.000 rt_task_wait_period+0x4 (__rt_task_wait_period+0x1c)Quoted 11 lines · [email protected] wrote:
Oh no...
dmesg | grep SMI
CPU0: Thermal monitoring handled by SMI CPU1: Thermal monitoring handled by SMI
So I guess that didn't work? I have used the 'Globally disable SMIs option' at kernel config time.... there is an option in the BIOS to disable SMI but I was having problems with it... will investigate. Any other options?
See:
http://www.xenomai.org/index.php/Configuring_x86_kernels#In_case_of_high_latencies
Note that if SMIs are involved in regulating temperature on your system, disabling them may cause your CPU to overheat. So, when running dohell, you should check the CPU temperature.
Signature · 1 line
Gilles.
Quoted 11 lines · On Fri, 2010-08-13 at 15:17 +0100, [email protected] wrote:
Hello all,
I have just set up my first xenomai system, and though I believe I have followed most of the guidelines, if I run latency it sits at around 8uS max, until I run something to stress the system (e.g. startx, or killing the x server) when it jumps to 700-800uS.
I wonder if this is to do with graphics? I have set "NoAccel" in the driver section of Xorg.conf (I am using fbdev). I also notice that latencies go massive (e.g. 4200uS) the first time I run glxgears. "glxinfo" reports "Direct rendering: no".
Yes, this is likely related to some kernel resource(s) involved in graphics, at least, this is a usual suspect - the fact that it happens only(?) upon X server state transitions does not point the finger at SMI issues, which are the other sources of high latencies on x86.
Typically, we had some issues over time with MTRR handling, inducing either massive jitter or even crashes on x86. Normally, the Adeos patch would fix those issues as they are discovered, but it may well happen that some bugs are still hiding.
Since your box does not bluntly crash, could you try running the I-pipe tracer, to get a snapshot of the latest kernel activity before the max latency is reached?
This howto explains how to set it up:
http://www.xenomai.org/index.php/I-pipe:Tracer
In case of doubt about the way to get those traces, just ask.
Quoted 178 lines
This is a core 2 duo system (MEN F19P cPCI) with ICH9M-SFF chipset. I am running debian (lenny) and have followed the guide in the wiki (here: http://www.xenomai.org/index.php/Building_Debian_packages) to install kernel 2.6.32.15 and xenomai 2.5.4. I have made the following selections for kernel configuration in order to try and prevent latency issues:
Processor type and features:
Enable interrupt pipeline
Enable high resolution timer support
Disable dell laptop support
Processor family --> Core 2/Newer Xeon
Preemption model --> Preemptible kernel (low latency desktop)Bus options (PCI etc):
Disable PCI express hotplug driver
Disable message signalled interrupts (MSI and MSI-X) Disable PCCard (PCMCIA/Cardbus support) Disable support for PCI hotplugDevice drivers:
Disable Memory Technology Device (MTD) support Disable Fusion MPT device support Disable I20 device support
Disable ISDN supportPower management options (ACPUI, APM):
Disable ACPI (Advanced Configuration and Power Interface)
Support --> Processor
Disable CPU Frequency Scaling
Disable CPU idle PM support
Disable Power Managment SupportReal-time sub-system:
Enable Machine--> SMI workaround Enable Machine--> globally disable SMII have read through this:
http://svn.gna.org/svn/xenomai/trunk/TROUBLESHOOTING and tried to find anything relevant. I am booting from an on board compact flash via USB. I wondered if this could be the problem. Output of hdparm:hdparm -v
/dev/sdareadonly = 0 (off)
readahead = 256 (on)
geometry = 1024/255/63, sectors = 31227840, start = 0hdparm -acdgkmur
/dev/sda
HDIO_GET_MULTICOUNTfailed: Invalid argumentHDIO_GET_32BITfailed: Invalid argumentHDIO_GET_UNMASKINTRfailed: Invalid argumentHDIO_GET_DMAfailed: Invaid argumentHDIO_GET_KEEPSETTINGSfailed: Invalid argument
(reast of output same as hdparm -v)hdparm -t
/dev/sda
/dev/sda:
Timing buffered disk reads: 100MB in 3.01 seconds = 33.24 MB/sechdparm -T
/dev/sda
/dev/sda:
Timing cached reads: 11006 MB in 2.00 seconds = 5503.00 MB/secThen I did cat
/proc/scsi/scsi:
Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: Generic Model: Flash HS-CF Rev: 1.68
Type: Direct-Access ANSI SCSI
revision: 00Also, this embedded system has a lot of configuration options in the BIOS (more than I have seen on any other system). Some seem like they could be very useful but are currently unusable (e.g. if I set "SMI handler" to off, the system will no longer boot from compact flash). There are also other options that might be relevant. I have tried playing with them, but am not even sure what some are and the manual is quite cryptic:
IDE Controller settings
"HDC configure as" Options: "IDE", "RAID", "AHCI"USB Configuration
"USB Legacy" Enable/Disable
"EHCI1" Enable/Disable
"EHCI2" "
"UHCI1" "
"UHCI2"
...
"UHCI5"
"Per-Port Control2" Enable/Disable
"USB Pre-fetch Feature" Enable/Disable
"USB Pre-fetch Time" 2ms/4ms
"USB HC Alignment" Enable/DisableChipset Configuration
"CRID/SRID" Enable/Disable
"Port 80h Cycles" LPC bus/PCI bus
"DMI Link ASPM Control" Enable/Disable
"Automatic ASMO" Auto/Manual
"ASPM L0s Support" Enable/Disable
"ASPM L0sL1 Support" Enable/Disable
"VT-d" Enable/DisableACPI Table/Feature Control
"FACP - C2 Latency Value" Enable/Disable
"FACP - C3 Latency Value" Enable/Disable
"FACP - RTC S4 Wakeup" Enable/Disable
"APIC - IO APIC Mode" Enable/Disable
"HPET - HPET Support" Enable/DisablePCI Express Root Port 1/2/3/4/5/6 Settings
"ASPM" Enable/Disable
"Automatic ASPM" Auto/Manual
"ASPM L0s" Root&Endpoint Ports/ Disabled/ Root Port Only/
Endpoint port Only
"ASPM L1" Enable/Disable
"URR" Enable/Disable
"FER" Enable/Disable
"NFER" Enable/Disable
"CER" Enable/Disable
"CTO" Enable/Disable
"SEFE" Enable/Disable
"SENFE" Enable/Disable
"SECE" Enable/Disable
"PME Interrupt" Enable/Disable
"PME SCI" Enable/Disable
"Hot Plug SCI" Enable/DisableAdvanced CPU Control
"P-States" Enable/Disable
"CMP Support" Enable/Disable
"Vanderpool Technology" Enable/Disable
"SMRR Support" Auto/Disable
"C-States" Enable/Disable
"Enhanced C-States" Enable/Disable
"C-State Pop Up Mode" Enable/Disable
"C-State Pop Down Mode" Enable/Disable
"C4 Exit Timing Mode" Fast/Slow/Default/Force Slow "DeepC4" Enable/Disable
"Hard C4E" Enable/Disable
"Enable C6" Enable/Disable
"EMTTM" Enable/Disable
"Bi-directional PROCHOT#" Enable/Disable
"ACPI 3.0 T-States" Enable/Disable
"DTS" Enable/Disable"
... (lots more options that I am not sure what they really
are for!)Platfoirm Power Management
"Storage Break Event" Enable/Disable
"PCIE Break Event" Enable/Disable
"PCI Break Event" Enable/Disable
"EHCI Break Event" Enable/Disable
"UHCI Break Event" Enable/Disable
"HDA Break Event" Enable/Disable
"ACPI S3" Enable/DisableSo, could anyone suggest what I might try to improve the system? Sorry for the torrent of information... I thought it better to give as much info as I could think of than to not provide enough to make a diagnosis!
Thanks,
Edward Robbins
Control Systems Engineer
Oxford Technologies Ltd
UKAEA Culham
Joint European Torus, Remote Handling Division
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.
Quoted 14 lines · Philippe Gerum
Quoted 11 lines · On Fri, 2010-08-13 at 15:17 +0100, [email protected] wrote:
Hello all,
I have just set up my first xenomai system, and though I believe I have followed most of the guidelines, if I run latency it sits at around 8uS max, until I run something to stress the system (e.g. startx, or killing the x server) when it jumps to 700-800uS.
I wonder if this is to do with graphics? I have set "NoAccel" in the driver section of Xorg.conf (I am using fbdev). I also notice that latencies go massive (e.g. 4200uS) the first time I run glxgears. "glxinfo" reports "Direct rendering: no".
Quoted 4 lines
Yes, this is likely related to some kernel resource(s) involved in graphics, at least, this is a usual suspect - the fact that it happens only(?) upon X server state transitions does not point the finger at SMI issues, which are the other sources of high latencies on x86.
A good hint to detect SMI issues is to run the Xenomai latency test in console mode, preferably without any X-server started, so we don't get polluted by another potential source of issues. If that test runs with no significant latency peak on your box during more than, say, two hours (*), writing a file of a significant size several times on your CF during this time (and syncing the related fs), then your box is probably immune from those SMI issues.
(*) Some SMI events are timed and do occur periodically.
Quoted 194 lines
Typically, we had some issues over time with MTRR handling, inducing either massive jitter or even crashes on x86. Normally, the Adeos patch would fix those issues as they are discovered, but it may well happen that some bugs are still hiding.
Since your box does not bluntly crash, could you try running the I-pipe tracer, to get a snapshot of the latest kernel activity before the max latency is reached?
This howto explains how to set it up:
http://www.xenomai.org/index.php/I-pipe:TracerIn case of doubt about the way to get those traces, just ask.
Quoted 178 lines
This is a core 2 duo system (MEN F19P cPCI) with ICH9M-SFF chipset. I am running debian (lenny) and have followed the guide in the wiki (here: http://www.xenomai.org/index.php/Building_Debian_packages) to install kernel 2.6.32.15 and xenomai 2.5.4. I have made the following selections for kernel configuration in order to try and prevent latency issues:
Processor type and features:
Enable interrupt pipeline
Enable high resolution timer support
Disable dell laptop support
Processor family --> Core 2/Newer Xeon
Preemption model --> Preemptible kernel (low latency desktop)Bus options (PCI etc):
Disable PCI express hotplug driver
Disable message signalled interrupts (MSI and MSI-X) Disable PCCard (PCMCIA/Cardbus support) Disable support for PCI hotplugDevice drivers:
Disable Memory Technology Device (MTD) support Disable Fusion MPT device support Disable I20 device support
Disable ISDN supportPower management options (ACPUI, APM):
Disable ACPI (Advanced Configuration and Power Interface)
Support --> Processor
Disable CPU Frequency Scaling
Disable CPU idle PM support
Disable Power Managment SupportReal-time sub-system:
Enable Machine--> SMI workaround Enable Machine--> globally disable SMII have read through this:
http://svn.gna.org/svn/xenomai/trunk/TROUBLESHOOTING and tried to find anything relevant. I am booting from an on board compact flash via USB. I wondered if this could be the problem. Output of hdparm:hdparm -v
/dev/sdareadonly = 0 (off)
readahead = 256 (on)
geometry = 1024/255/63, sectors = 31227840, start = 0hdparm -acdgkmur
/dev/sda
HDIO_GET_MULTICOUNTfailed: Invalid argumentHDIO_GET_32BITfailed: Invalid argumentHDIO_GET_UNMASKINTRfailed: Invalid argumentHDIO_GET_DMAfailed: Invaid argumentHDIO_GET_KEEPSETTINGSfailed: Invalid argument
(reast of output same as hdparm -v)hdparm -t
/dev/sda
/dev/sda:
Timing buffered disk reads: 100MB in 3.01 seconds = 33.24 MB/sechdparm -T
/dev/sda
/dev/sda:
Timing cached reads: 11006 MB in 2.00 seconds = 5503.00 MB/secThen I did cat
/proc/scsi/scsi:
Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: Generic Model: Flash HS-CF Rev: 1.68
Type: Direct-Access ANSI SCSI
revision: 00Also, this embedded system has a lot of configuration options in the BIOS (more than I have seen on any other system). Some seem like they could be very useful but are currently unusable (e.g. if I set "SMI handler" to off, the system will no longer boot from compact flash). There are also other options that might be relevant. I have tried playing with them, but am not even sure what some are and the manual is quite cryptic:
IDE Controller settings
"HDC configure as" Options: "IDE", "RAID", "AHCI"USB Configuration
"USB Legacy" Enable/Disable
"EHCI1" Enable/Disable
"EHCI2" "
"UHCI1" "
"UHCI2"
...
"UHCI5"
"Per-Port Control2" Enable/Disable
"USB Pre-fetch Feature" Enable/Disable
"USB Pre-fetch Time" 2ms/4ms
"USB HC Alignment" Enable/DisableChipset Configuration
"CRID/SRID" Enable/Disable
"Port 80h Cycles" LPC bus/PCI bus
"DMI Link ASPM Control" Enable/Disable
"Automatic ASMO" Auto/Manual
"ASPM L0s Support" Enable/Disable
"ASPM L0sL1 Support" Enable/Disable
"VT-d" Enable/DisableACPI Table/Feature Control
"FACP - C2 Latency Value" Enable/Disable
"FACP - C3 Latency Value" Enable/Disable
"FACP - RTC S4 Wakeup" Enable/Disable
"APIC - IO APIC Mode" Enable/Disable
"HPET - HPET Support" Enable/DisablePCI Express Root Port 1/2/3/4/5/6 Settings
"ASPM" Enable/Disable
"Automatic ASPM" Auto/Manual
"ASPM L0s" Root&Endpoint Ports/ Disabled/ Root Port Only/
Endpoint port Only
"ASPM L1" Enable/Disable
"URR" Enable/Disable
"FER" Enable/Disable
"NFER" Enable/Disable
"CER" Enable/Disable
"CTO" Enable/Disable
"SEFE" Enable/Disable
"SENFE" Enable/Disable
"SECE" Enable/Disable
"PME Interrupt" Enable/Disable
"PME SCI" Enable/Disable
"Hot Plug SCI" Enable/DisableAdvanced CPU Control
"P-States" Enable/Disable
"CMP Support" Enable/Disable
"Vanderpool Technology" Enable/Disable
"SMRR Support" Auto/Disable
"C-States" Enable/Disable
"Enhanced C-States" Enable/Disable
"C-State Pop Up Mode" Enable/Disable
"C-State Pop Down Mode" Enable/Disable
"C4 Exit Timing Mode" Fast/Slow/Default/Force Slow "DeepC4" Enable/Disable
"Hard C4E" Enable/Disable
"Enable C6" Enable/Disable
"EMTTM" Enable/Disable
"Bi-directional PROCHOT#" Enable/Disable
"ACPI 3.0 T-States" Enable/Disable
"DTS" Enable/Disable"
... (lots more options that I am not sure what they really
are for!)Platfoirm Power Management
"Storage Break Event" Enable/Disable
"PCIE Break Event" Enable/Disable
"PCI Break Event" Enable/Disable
"EHCI Break Event" Enable/Disable
"UHCI Break Event" Enable/Disable
"HDA Break Event" Enable/Disable
"ACPI S3" Enable/DisableSo, could anyone suggest what I might try to improve the system? Sorry for the torrent of information... I thought it better to give as much info as I could think of than to not provide enough to make a diagnosis!
Thanks,
Edward Robbins
Control Systems Engineer
Oxford Technologies Ltd
UKAEA Culham
Joint European Torus, Remote Handling Division
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.