On Mon, 04 Oct 2010 18:52:04 +0530 wrote
>>Am 03.10.2010 09:34, prakash srinivasan wrote:
>> Dear All,
>>
>> I am executing an simple server program using RTNet and test the time
>> duration to transfer simple "Hello server" message 1000 times from the
>> normal Linux OS to the real time server. In this case, server program is
>> running by xenomai and using rtnet network driver. On client side normal
>> linux os sending the datas and accepting the acknowledgement from the
>> server. For 1000 loops, its taking 253570us. Average is 253 us.
>>
>> However, I am doing the same test using normal linux with normal network
>> driver on the same network card, its taking only 87us for 1000 loops.
>>
>> As the test result shows the real time server using xenomai, RTnet driver
>> performance is very poor compare with normal network driver. I believe that,
>> I have some issues in rtnet/xenomai configurations. What are factors I must
>> consider to reducing the time for sending/receiving the datas?. Any kind of
>> help is appreciated.
>>
>>
>>
>> FYI, I am using RTL8139 network card.
>>
>There are a few aspects that could explain the difference:
>
> - RTnet's old 8139 driver assumes that the hardware can only do DMA
into a small window, thus bounce-copies packets. Linux may use 8139cp
instead. Better choose a more modern NIC that RTnet supports as well.
Thanks for the valuable info. I bought an Intel Pro gigabit card. I will try
the same test for this board and then update you.
>
> - RTnet does one IRQ per packet (unless they arrive in a burst), Linux may
> try to throttle IRQs via NAPI. The latter is good for throughput and
> performance, the former can help to lower latencies.
>
>
> - The might be configuration differences in both setups. Are any
debugging features of I-pipe and/or Xenomai enabled?
No. Do I want to enable it and proceed?
-Prakash
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users