We now found the reason for the really huge values and the complete hangup: I am using a core 2 processor but didn't set the processor type within the kernel configuration correctly. Now I get good results again. Regards juergen Posted by juergen . lanner on September 03, 2008 - 11:45: Hi! I set up my box with xenomai 2.4.4 but I doubt that I was fully successful doing so. At least I have problems understanding the outputs of the test suite programs. running xeno-test I get the following output (see below for full output) ... something died a 8938 or something died a 8938 or ... What does it mean? What might be the problem? Concerning latency: I get funny values as well: [EMAIL PROTECTED]:/usr/xenomai/share/xenomai/testsuite$ latency/run -p500 * * * Type ^C to stop this application. * * == Sampling period: 500 us == Test mode: periodic user-mode task == All results in microseconds warming up... RTT| 00:00:01 (periodic user-mode task, 500 us period, priority 99) RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat worst RTD| 29.333| 248.914| 274651.310| 878| 29.333| 274651.310 RTD| 29.333| 166.780| 164809.727| 1426| 29.333| 274651.310 RTD| 29.333| 222.095| 164803.022| 2193| 29.333| 274651.310 RTD| 29.333| 139.123| 109882.649| 2631| 29.333| 274651.310 RTD| 29.333| 304.228| 274651.310| 3729| 29.333| 274651.310 RTD| -470.172| 107252.707| -704900.898| 280993| -470.172| -704900.898 RTD| 29.333| 358.704| 274651.310| 282310| -470.172| -704900.898 RTD| 29.333| 386.361| 219726.747| 283737| -470.172| -704900.898 RTD| 29.333| 139.123| 109885.164| 284175| -470.172| -704900.898 RTD| 29.333| 139.123| 109882.649| 284613| -470.172| -704900.898 RTD| 29.333| 358.704| 274651.310| 285930| -470.172| -704900.898 RTD| 29.333| 194.438| 164803.022| 286588| -470.172| -704900.898 RTD| 29.333| 414.018| 274652.148| 288125| -470.172| -704900.898 RTD| 29.333| 331.885| 219726.747| 289332| -470.172| -704900.898 A max latency of some 100ms seems quite large to me, or am I getting something wrong? What do negative values mean here (latency best)? Running cyclic freezes my box completely: It gives me some output before. [EMAIL PROTECTED]:/usr/xenomai/share/xenomai/testsuite$ cyclic/run -p 80 -t 5 -n * * * Type ^C to stop this application. * * 5.16 5.10 4.93 6/193 9476 T: 0 ( 9472) P:80 I: 1000 C: 0 Min: 1000000 Act: 0 Avg: 0 Max:-1000000 T: 1 ( 9473) P:79 I: 1500 C: 0 Min: 1000000 Act: 0 Avg: 0 Max:-1000000 T: 2 ( 9474) P:78 I: 2000 C: 0 Min: 1000000 Act: 0 Avg: 0 Max:-1000000 T: 3 ( 9475) P:77 I: 2500 C: 0 Min: 1000000 Act: 0 Avg: 0 Max:-1000000 T: 4 ( 9476) P:76 I: 3000 C: 0 Min: 1000000 Act: 0 Avg: 0 Max:-1000000 I assume there Is something weird with my setup. Can you give me some hint where to start searching, please? Thanks a lot. Juergen here is the full output of xeno-test: xeno-test: started withBusybox is 0 xeno-test: running tests Wed Sep 3 11:01:52 CEST 2008 running: /usr/xenomai/bin/xeno-config --verbose xeno-config --verbose --version="2.4.4" --cc="gcc" --arch="x86" --prefix="/usr/xenomai" --xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__" --xeno-ldflags="-L/usr/xenomai/lib -lpthread " --posix-cflags="-I/usr/xenomai/include -I/usr/xenomai/include/posix -D_GNU_SOURCE -D_REENTRANT -D__XENO__" --posix-ldflags="-Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lpthread -lrt " --library-dir="/usr/xenomai/lib" Wed Sep 3 11:01:52 CEST 2008 running: /usr/xenomai/bin/xeno-info If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux viper5 2.6.25.11-xe #1 SMP Fri Aug 29 07:47:16 CEST 2008 i686 GNU/Linux Gnu C 4.2.3 Gnu make 3.81 util-linux ng 2.13.1) mount ng 2.13.1) module-init-tools 3.3-pre11 e2fsprogs 1.40.8 PPP 2.4.4 Linux C Library > libc.2.7 Dynamic linker (ldd) 2.7 Procps 3.2.7 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 6.10 Modules Loaded e1000e af_packet rfcomm l2cap bluetooth i915 drm ppdev ipv6 iptable_filter ip_tables x_tables dm_crypt crypto_blkcipher dm_mod lp parport_pc parport serio_raw psmouse iTCO_wdt iTCO_vendor_support shpchp pci_hotplug intel_agp agpgart evdev ext3 jbd mbcache sg sd_mod pata_jmicron floppy ahci ata_piix ata_generic libata ehci_hcd uhci_hcd skge scsi_mod usbcore fuse Wed Sep 3 11:01:54 CEST 2008 running: cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz stepping : 2 cpu MHz : 1795.536 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 3593.49 clflush size : 64 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz stepping : 2 cpu MHz : 1795.536 cache size : 2048 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 3591.27 clflush size : 64 Wed Sep 3 11:01:54 CEST 2008 running: md5sum /proc/cpuinfo # cpuinfo fingerprint 16c62e2579214d8da356a8085a11bac1 /proc/cpuinfo CONFIG_PREEMPT_NOTIFIERS=y # CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_VOLUNTARY=y # CONFIG_PREEMPT is not set CONFIG_IPIPE=y CONFIG_IPIPE_DOMAINS=4 CONFIG_IPIPE_COMPAT=y CONFIG_PM=y CONFIG_PM_LEGACY=y CONFIG_PM_DEBUG=y # CONFIG_PM_VERBOSE is not set # CONFIG_PM_TRACE_RTC is not set CONFIG_PM_SLEEP_SMP=y CONFIG_PM_SLEEP=y CONFIG_PM_STD_PARTITION="" # CONFIG_ACPI is not set # CONFIG_CPU_FREQ is not set # CONFIG_IPIPE_DEBUG is not set # CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_SPINLOCK_SLEEP is not set Wed Sep 3 11:01:55 CEST 2008 running: cat /proc/ipipe/Linux +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded) |+---- Sticky ||+--- Locked |||+-- Exclusive ||||+- Virtual [IRQ] ||||| 0: A.... 1: A.... 2: A.... 3: A.L.. 4: A.L.. 5: A.L.. 6: A.... 7: A.... 8: A.... 9: A.... 10: A.L.. 11: A.... 12: A.... 13: A.L.. 14: A.... 15: A.... 16: A.... 17: A.... 18: A.... 19: A.... 20: A.... 21: A.... 22: A.... 23: A.... 24: A.... 25: A.... 26: A.... 27: A.... 28: A.... 29: A.... 30: A.... 31: A.... 32: A.... 33: A.... 34: A.... 35: A.... 36: A.... 37: A.... 38: A.... 39: A.... 40: A.... 41: A.... 42: A.... 43: A.... 44: A.... 45: A.... 46: A.... 47: A.... 48: A.... 49: A.... 50: A.... 51: A.... 52: A.... 53: A.... 54: A.... 55: A.... 56: A.... 57: A.... 58: A.... 59: A.... 60: A.... 61: A.... 62: A.... 63: A.... 64: A.... 65: A.... 66: A.... 67: A.... 68: A.... 69: A.... 70: A.... 71: A.... 72: A.... 73: A.... 74: A.... 75: A.... 76: A.... 77: A.... 78: A.... 79: A.... 80: A.... 81: A.... 82: A.... 83: A.... 84: A.... 85: A.... 86: A.... 87: A.... 88: A.... 89: A.... 90: A.... 91: A.... 92: A.... 93: A.... 94: A.... 95: A.... 96: A.... 97: A.... 98: A.... 99: A.... 100: A.... 101: A.... 102: A.... 103: A.... 104: A.... 105: A.... 106: A.... 107: A.... 108: A.... 109: A.... 110: A.... 111: A.... 112: A.... 113: A.... 114: A.... 115: A.... 116: A.... 117: A.... 118: A.... 119: A.... 120: A.... 121: A.... 122: A.... 123: A.... 124: A.... 125: A.... 126: A.... 127: A.... 128: A.... 129: A.... 130: A.... 131: A.... 132: A.... 133: A.... 134: A.... 135: A.... 136: A.... 137: A.... 138: A.... 139: A.... 140: A.... 141: A.... 142: A.... 143: A.... 144: A.... 145: A.... 146: A.... 147: A.... 148: A.... 149: A.... 150: A.... 151: A.... 152: A.... 153: A.... 154: A.... 155: A.... 156: A.... 157: A.... 158: A.... 159: A.... 160: A.... 161: A.... 162: A.... 163: A.... 164: A.... 165: A.... 166: A.... 167: A.... 168: A.... 169: A.... 170: A.... 171: A.... 172: A.... 173: A.... 174: A.... 175: A.... 176: A.... 177: A.... 178: A.... 179: A.... 180: A.... 181: A.... 182: A.... 183: A.... 184: A.... 185: A.... 186: A.... 187: A.... 188: A.... 189: A.... 190: A.... 191: A.... 192: A.... 193: A.... 194: A.... 195: A.... 196: A.... 197: A.... 198: A.... 199: A.... 200: A.... 201: A.... 202: A.... 203: A.... 204: A.... 205: A.... 206: A.... 207: A.... 208: A.... 209: A.... 210: A.... 211: A.... 212: A.... 213: A.... 214: A.... 215: A.... 216: A.... 217: A.... 218: A.... 219: A.... 220: A.... 221: A.... 222: A.... 223: A.... 224: A.... 230: A.... 231: A.... 232: A.... 233: A.... 234: GS... 236: A.... 237: A.... 238: A.... 239: A.... 240: A.... 256: G...V 257: G...V [Domain info] id=0x00000000 priority=100 Wed Sep 3 11:01:55 CEST 2008 running: cat /proc/ipipe/Xenomai +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded) |+---- Sticky ||+--- Locked |||+-- Exclusive ||||+- Virtual [IRQ] ||||| 230: W.... 233: W..X. 234: GS... 258: W...V [Domain info] id=0x58454e4f priority=topmost Wed Sep 3 11:01:55 CEST 2008 running: cat /proc/ipipe/version 2.0-09 Wed Sep 3 11:01:55 CEST 2008 running: generate_loads 1 dd workload started, pids 8938 stored in /var/lock/xeno-test.8798.pids 8938 pts/4 00:00:00 xeno-test something died a 8938 or something died a 8938 or something died a 8938 or something died a 8938 or something died a 8938 or something died a 8938 or something died a 8938 or something died a 8938 or something died a 8938 or something died a 8938 or something died a 8938 or ^C
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
