On Mon, Sep 8, 2008 at 08:12, Junko IKEDA <[EMAIL PROTECTED]> wrote:
>> 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?

No

It means that heartbeat can't deliver a message if the uncompressed
size is bigger than 2MB.
It also means that heartbeat can't deliver a message if, after
compressing the message, the size is still bigger than 256kB.

> 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.

I assume you're working on a patch for this?

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

I highly suggest you rectify that.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to