Hi, On Wed, May 14, 2008 at 08:58:13AM -0400, Audet, Jean-Michel wrote: > Hi all, > > > > Hi, I have an implementation using heartbeat 2.1.2. It is based on > Master/Slave architecture. I have only two nodes on my implementation. > > > > > I have a lot of "Retransmitting pkt". At the end, all the packets are > received, but I think it is very slow. My packets are all around > 32Kbytes in size but on a 100MBits network not a lot of traffic, it > should not be any problems. I am using the function sendnodemsg to > directly send message to my slave node.
You have a home-made application using the heartbeat API? > Here is a trace of one of the message. When sending for example 40 > packets, 10 to 20 will be a least retransmit once. > > May 13 14:49:43 node1 heartbeat: [29379]: info: Retransmitting pkt 92 > > May 13 14:49:43 node1 heartbeat: [29379]: info: msg size =32581, > type=msg_type_xyz > > > > Any idea on what can be the problem? Need more informations? Heartbeat uses UDP (unicast, broadcast, or multicast). Is you network healthy? Did you check the interfaces statistics? Did you try watching the traffic using the tcpdump (or similar) tool? Did you try unicast if you're using broadcast? I believe that often Heartbeat packets are close to or exceeding 32k with more complex configurations or more than 3-4 nodes, but very probably not very often, i.e. packets are big only when full CIB is being sent. I don't think that there were many complaints of similar nature. So, it may be that your application is pushing the communication layer's limits. Or the network limits. Hard to say without looking at the network. Thanks, Dejan > Jean-Michel Audet > Software, Kontron Canada > > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
