Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - qnet delays: (2 Items)
   
qnet delays  
Hi,

I'm using QNX4 to controll many of our testbenches on 25 Node network.
Now I plan to switch over to Neutrino.
To test some things (especially qnet), I have connected 2 Neutrino computers called nto1 and nto2.

I started qnet and I can access nto2  from  nto1.

So far everything is ok, but

- when I call  sin -n nto2 from nto1 the program crashes with a core dump

- when I call  pidin -n nto2   I get the list but sometimes (often) the output stops for about 10 seconds and continues 
after that delay. 

- I have started a small server prog on nto2. Then I connect a client, which runs on nto1, to the server. The client 
sends 1000 requests to the server (message length 4 byte). To see what happens the server prints out the number of the 
current request.  The output stops after a certain number of request  (again for about 10 secs) continues, stops again, 
continues....

What is the reason for that delays?

Thanks 

Norbert
Re: qnet delays  
> Hi,
> 
> I'm using QNX4 to controll many of our testbenches on 25 Node network.
> Now I plan to switch over to Neutrino.
> To test some things (especially qnet), I have connected 2 Neutrino computers 
> called nto1 and nto2.
> 
> I started qnet and I can access nto2  from  nto1.
> 
> So far everything is ok, but
> 
> - when I call  sin -n nto2 from nto1 the program >crashes with a core dump
> 
> - when I call  pidin -n nto2   I get the list but sometimes (often) the output
>  stops for about 10 seconds and continues after that delay. 
> 
> - I have started a small server prog on nto2. Then I connect a client, which 
> runs on nto1, to the server. The client sends 1000 requests to the server (
> message length 4 byte). To see what happens the server prints out the number 
> of the current request.  The output stops after a certain number of request  (
> again for about 10 secs) continues, stops again, continues....
> 
> What is the reason for that delays?
> 
> Thanks 
> 
> Norbert

Hello Norbert,

Perhaps, this would have been better placed in some networking forum.

http://community.qnx.com/sf/discussion/do/listForums/projects.networking

Even then the experts there would need more detailed informations such as :
-used OS Version and patchlevel
-target (x86, ppc ....?)
-how did You started which qnetstack (l4 or compat or both)?
Did You tried command-line options to Your qnet ?
Exact network topology (crossover, switches bridges etc ...) ?
Outputs of:
qconfig (from your Dev-Host, if avaliable from Your target)
uname -a 
nicinfo
pidin -p io-net
ls /dev/io-net/
cat /proc/qnetstats during after Your pidin hang/delay ?

This would be at least a starting point.

> - when I call  sin -n nto2 from nto1 the program >crashes with a core dump
> 

for example try :
#sin toomuch
or
#sin sin
:-)
J

So that is sin under nto.

Hope this helps.
Jeevan