Re: How to increase the performance of lynxOS



In article <1127134513.263768.165320@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
ashwin <ashwani.kathuria@xxxxxxxxx> wrote:
[ top posting repaired ]
>Steve Watt wrote:
>> In article <1126698726.987640.19410@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
>> ashwin <ashwani.kathuria@xxxxxxxxx> wrote:
>> >
>> >I have made an application which sends nad receive data by creating raw
>> >sockets on IP.
>> >What changes can i do in Lynx OS default parameters(if any) to
>> >inctrease the performance i.e message rate of sending and receiveing
>> >data.
>>
>> What performance are you seeing now (on what platform), and what is your
>> target?
>>
>> What version of LynxOS?
>>
>> On some versions of LynxOS, there are two different kinds of "raw"
>> socket, one at the Ethernet level, and one at the IP level. I presume
>> you're using the latter.
>>
>> It's also possible that if you're seeing lousy performance, it's because
>> of something you're doing that's subtly (or not-so-subtly) wrong; a bit
>> of code that demonstrates your problem would be helpful.
>
>I am using Lynx 4.0.0 and raw soxckets are at IP level.
>
>My application has two threads one for sending data to peer and the
>second one for receiving data from peer.
>So I am using 2 machines of same configuration, cross connected.

Is the application simply sending data as fast as possible? What
happens when the other end gets overrun? Is there some kind of
retransmission protocol that could be causing your performance loss
because the machines are mismatched?

It could be that there is a bug in your application, considering
that raw IP sockets behave slightly differently on BSD-derived
stacks -- I don't remember the precise details, but I remember
that some fields are returned in host byte order in the BSD (and
thus LynxOS) stack, but all are returned in network byte order
in the Linux stack.

>Now problem i am facing is that when i run the application on linux on
>both the machines the performance is good and if i run it on lynx as OS
>on both the machine the performance is better. but if i run Linux on
>one macghine and Lynx on the other than the performance degrades even
>from that of linux-linux setup.
>The reason behing the degradation might be(most probably) the
>unsynchronised behaviour of lynx and linux setup. i.e. besides of same
>configuratuion one side(LYNX) is sending fast as compare to the peer
>side(LINUX). And my performance crieteria largely depends on the
>synchronization.
>
>I amd using linux kernel version 2.6.8.1 on red het linux.
>
>Please tell me if my problem can be solved and how??

Run LynxOS at both ends of the link? :)

If you can tell more about the protocol, or just say what it is,
that would help.

--
Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8" / 37N 20' 14.9"
Internet: steve @ Watt.COM Whois: SW32
Free time? There's no such thing. It just comes in varying prices...
.



Relevant Pages

  • Re: Error in send, while using IP_HDRINCL
    ... > Arkady Frenkel wrote: ... >>> And MS could do exactly the same precautions for an app that uses raw ... >> network students move to linux", at the end they leave the UDP ... BTW the Sudesh wrote that they can't read with raw sockets and that due to ...
    (microsoft.public.win32.programmer.networks)
  • Re: How to increase the performance of lynxOS
    ... I am using Lynx 4.0.0 and raw soxckets are at IP level. ... My application has two threads one for sending data to peer and the ... Now problem i am facing is that when i run the application on linux on ...
    (comp.os.lynx)
  • Re: How to increase the performance of lynxOS
    ... I am using Lynx 4.0.0 and raw soxckets are at IP level. ... My application has two threads one for sending data to peer and the ... Now problem i am facing is that when i run the application on linux on ...
    (comp.os.lynx)
  • How to increase the performance of lynxOS
    ... I have made an application which sends nad receive data by creating raw ... sockets on IP. ... What changes can i do in Lynx OS default parametersto ...
    (comp.os.lynx)
  • Re: raw device on suse10.1
    ... I was not able to bind a block-device to a raw device with the ... On Linux kernel 2.6.x raw dvices are obsolete. ... IBM Informix Dynamic Server supports Kernel Asynchronous I/O (KAIO) ... Is it possible that raw devices will be supported in some distros (e.g. ...
    (comp.databases.informix)