Any limit size of the message?

hi,
I want to ask wheather there is maxmium messsage size when the
communication is done between 2 process ina same machine.
Thank youu very much.

waity wrote:

hi,
I want to ask wheather there is maxmium messsage size when the
communication is done between 2 process ina same machine.

IMHO … the limit is 64K and 8K if the communication takes place over
the network.

Armin

\

Thank youu very much.

thx
“Armin Steinhoff” <a-steinhoff@web_.de> ¼¶¼g©ó¶l¥ó·s»D
:3C83504D.A671B65F@web_.de…

waity wrote:

hi,
I want to ask wheather there is maxmium messsage size when the
communication is done between 2 process ina same machine.

IMHO … the limit is 64K and 8K if the communication takes place over
the network.

Armin


Thank youu very much.

Armin Steinhoff <a-steinhoff@web_.de> wrote:


waity wrote:

hi,
I want to ask wheather there is maxmium messsage size when the
communication is done between 2 process ina same machine.

IMHO … the limit is 64K and 8K if the communication takes place over
the network.

Hm. The “message size” as for MsgSend() size ?

I believe it used to have 4MB limit, but then they solve the problem.
So, there shouldn’t be any limitation (well 4G cause that’s an int).

As for network case, MsgSend() only transfer 8K for you (assume the
receive process have 8k+ receive buffer), but no one stop you
MsgRead() or MsgWrite() a large number of data.

-xtang

Xiaodan Tang wrote:

Armin Steinhoff <a-steinhoff@web_.de> wrote:

waity wrote:

hi,
I want to ask wheather there is maxmium messsage size when the
communication is done between 2 process ina same machine.

IMHO … the limit is 64K and 8K if the communication takes place over
the network.

Hm. The “message size” as for MsgSend() size ?

I believe it used to have 4MB limit, but then they solve the problem.
So, there shouldn’t be any limitation (well 4G cause that’s an int).

How did they solve that ‘problem’ that a 32bit long int can have
2.147.483.647 as the biggest positive value ??

The length of a message is specified by an INT.

Armin

As for network case, MsgSend() only transfer 8K for you (assume the
receive process have 8k+ receive buffer), but no one stop you
MsgRead() or MsgWrite() a large number of data.

-xtang