Hi,
I'm running TIPC 1.5.12 on a linux 2.6.9 kernel on two different nodes
and I'm seeing a problem with link congestion after about 26 messages
being sent. I'm running connectionless traffic ( also with the socket
set to non-blocking via fcntl), with the domain set to closest first,
the destination droppable flag set to FALSE, the message importance set
to HIGH, and the message size set to 2000 bytes.
When I run the program, which is a modified version of the hello world
program, with the server running on one node and the client running on
a different node I'm getting back the error: Resource temporarily
unavailable and an errno of 11(EAGAIN) after the 26th message. So, I'
updated my code to retry if an errno of EAGAIN is returned, but I need
to retry some value which was more than 2500 (I believe it was around
2650 or something like that) times before it successfully can send 27
messages over the link.
tipc-config -ls shows the following indicating that link congestion is
happening:
Link <1.1.169:eth0-1.1.168:eth0>
ACTIVE MTU:1500 Priority:10 Tolerance:1500 ms Window:50 packets
RX packets:29 fragments:0/0 bundles:0/0
TX packets:3627 fragments:3620/1809 bundles:0/0
TX profile sample:105 packets average:1356 octets
0-64:7% -256:0% -1024:40% -4096:53% -16354:0% -32768:0% -66000:0%
RX states:2175142 probes:1087411 naks:0 defs:0 dups:0
TX states:2174945 probes:1087534 naks:0 acks:0 dups:0
Congestion bearer:0 link:36 Send queue max:36 avg:0
Any ideas as to why I'm seeing link congestion?
If you'd like I can attach some sample code.
Just before sending this note, I tried commenting out the code that
makes the socket non-blocking via fcntl and then I don't see link
congestion anymore. So why does making the socket non-blocking lead to
link congestion?
Thanks,
Felix
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion