Title: high latency on rt_dev_recvmsg

Our adminstrators have obviously changed our email address. Here is the posting once more, from a new address. Sorry, if anyone should receive it twice.

---------

Hi,

after switching to a new linux box I now have high latency on rt_dev_recvmsg(). Instead of approximately 20us I now measure up to 1ms! I use the same network card which uses the rt_natsemi driver. The software is the same, only compiled it on the new box. The Ethernet-package sent by the controller is immediately sent back by the receiver. The response time according to our network sniffer is about 10 us, so there should be something to read. Introducing a sleep of 100us before reading didn't help. I also have debug symbols in the kernel log, looks like a trace. Maybe the logging causes the latency, but I could not turn the logging off, no  matter what options or versions of the kernel, xenomai or rtnet that I tried. Here is a short printout of the log.

[4295418.496000] BUG: warning at include/asm/dma-mapping.h:26/dma_map_single()
[4295418.496000]  <f8abb4f6> refill_rx+0x116/0x120 [rt_natsemi]  <f8abcbdc> intr_handler+0xdc/0x530 [rt_natsemi]
[4295418.496000]  <c0149d9c> xnintr_irq_handler+0x2c/0xc0  <c0147377> __ipipe_dispatch_wired+0xa7/0xd0
[4295418.496000]  <c01148ec> __ipipe_handle_irq+0x18c/0x210  <c0149e48> xnintr_clock_handler+0x18/0x20
[4295418.496000]  <c01478e5> __ipipe_dispatch_event+0x85/0x130  <c0103e40> common_interrupt+0x18/0x30
[4295418.496000]  <c01535e0> schedule_event+0x0/0x1f0  <c01478e5> __ipipe_dispatch_event+0x85/0x130
[4295418.496000]  <c011aa7c> try_to_wake_up+0x14c/0x190  <c032c301> schedule+0x391/0x700
[4295418.496000]  <c032c7ec> preempt_schedule+0x5c/0x70  <c0119263> __wake_up_common+0x43/0x70
[4295418.496000]  <c032c7ec> preempt_schedule+0x5c/0x70  <c01a7cfa> pipe_writev+0x42a/0x500
[4295418.496000]  <c0147845> __ipipe_sync_stage+0x145/0x160  <c01a7e07> pipe_write+0x37/0x40
[4295418.496000]  <c0197bfd> vfs_write+0xdd/0x1c0  <c019871b> sys_write+0x4b/0x80
[4295418.496000]  <c0103366> sysenter_past_esp+0x63/0x67
[4295418.497000] BUG: warning at include/asm/dma-mapping.h:26/dma_map_single()
[4295418.497000]  <f8abb4f6> refill_rx+0x116/0x120 [rt_natsemi]  <f8abcbdc> intr_handler+0xdc/0x530 [rt_natsemi]
[4295418.497000]  <c0149d9c> xnintr_irq_handler+0x2c/0xc0  <c0147377> __ipipe_dispatch_wired+0xa7/0xd0
[4295418.497000]  <c01148ec> __ipipe_handle_irq+0x18c/0x210  <c01d63b3> dnotify_parent+0x3/0x120
[4295418.497000]  <c0103e40> common_interrupt+0x18/0x30  <c01d63b3> dnotify_parent+0x3/0x120
[4295418.497000]  <c01979f8> vfs_read+0x118/0x1c0  <c019869b> sys_read+0x4b/0x80
[4295418.497000]  <c0103366> sysenter_past_esp+0x63/0x67
[4295418.497000] BUG: warning at include/asm/dma-mapping.h:26/dma_map_single()
[4295418.497000]  <f8abb4f6> refill_rx+0x116/0x120 [rt_natsemi]  <f8abcbdc> intr_handler+0xdc/0x530 [rt_natsemi]
[4295418.497000]  <c0149d9c> xnintr_irq_handler+0x2c/0xc0  <c0147377> __ipipe_dispatch_wired+0xa7/0xd0
[4295418.497000]  <c01148ec> __ipipe_handle_irq+0x18c/0x210  <c01986c2> sys_read+0x72/0x80
[4295418.497000]  <c0103e40> common_interrupt+0x18/0x30
[4295418.498000] BUG: warning at include/asm/dma-mapping.h:26/dma_map_single()
[4295418.498000]  <f8abb4f6> refill_rx+0x116/0x120 [rt_natsemi]  <f8abcbdc> intr_handler+0xdc/0x530 [rt_natsemi]
[4295418.498000]  <c0150676> xnthread_timeout_handler+0x26/0x30  <c0149d9c> xnintr_irq_handler+0x2c/0xc0
[4295418.498000]  <c0147377> __ipipe_dispatch_wired+0xa7/0xd0  <c01148ec> __ipipe_handle_irq+0x18c/0x210
[4295418.498000]  <c0103e40> common_interrupt+0x18/0x30


Any ideas?

Nathan 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to