My question is regarding the runtime parameter to set socket
sizes, rpi_tcp_sockbuf. I am looking for information how
to use this parameter.
I refer to posting by Jeff Squyres, On Tue, 6 Jul 2004,
in reply to Brad Penoff, he said the following:
__________________________________________________________________
The size of the send and receive buffers are defined
by SO_RCVBUF and SO_SNDBUF respectively, and can be set at runtime
by ssi_rpi_tcp_short parameter.
In LAM 7.1, the parameter ssi_rpi_tcp_sockbuf was added that
explicitly sets the sockbuf sizes (independantly of the cutoff
size for short messages).
___________________________________________________________________
My question is:
Can I set it with a simple value, say 2097152? eg.
$mpirun -ssi rpi tcp -ssi rpi_tcp_sockbuf 2097152 N <exec>
Or: does this mean I am instead to use code to set setsockopt(),
and just set it to 0 rather than default '-1' eg.
$mpirun -ssi rpi tcp -ssi rpi_tcp_sockbuf 0 N <exec>
If I need to do this do I put the setsockopt() code in
my executable?
Thanks,
Maureen
|