> Hmm. Perhaps this (the maximum packet size) has been checked by
> somebody before, then forgotten and it never got into discussion
> about the message compression. When I started working on the
> compression, the MAXMSG was already temporarily set to 2MB.
> 
> Also, I can distinctly recall that Lars was setting the MAXMSG
> size to 2MB (before the compression has been fixed) to support
> his 9-node cluster (or thereabouts). I don't know what kind of hb
> media he used.

Hi,

MAXUNCOMPRESSED is 2MB, and MAXMSG is 256kbyte.

#define MAXMSG          (256*1024)
#define MAXUNCOMPRESSED (2048*1024)

Does it mean 2MB message would be compressed to 256kbyte, and sent via some
media?
If MAXMSG(256kbyte) is sent as it is, sendto() will not be able to handle
it, because the max size for sendto() is 64kbyte.
256kbyte message should be split into pieces before sending as packet.
by the way, I set "bcast" in ha.cf as media.

and, openais...
Unfortunately, we don't have enough experience to select this.

Thanks,
Junko

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to