The parameters I was talking about only split the message at the MPI
level, pushing the data in 8k fragments into the network. Once the
data is pushed into the kernel (via the socket), we don't have any
control over how not when it is physically send to the remote node.
The only way I see to limit the fragments at the hardware level, is to
force the send and receive buffer in the kernel to a specific value.
Tis can be done for each socket, and Open MPI povide 2 MCA parameters
for this: btl_tcp_sndbuf and btl_tcp_rcvbuf.
On Apr 1, 2008, at 9:25 PM, Muhammad Atif wrote:
> Thanks for the reply.
> I was not able to achieve the required task with the given pointers.
> I ran the application with following command,
> mpirun -np 2 --mca btl_tcp_frag 9 --mca btl_tcp_max_send_size 8192 -
> host node-00,node-01 /home/atif/blah/aa_l
> I still see the messages of size 65226 bytes. I am missing
> something? One side question, I cannot find documentation for the
> mca parameter btl_tcp_frag.
> I am currently using openmpi version 1.2.2.
> Best Regards,
> Muhammad Atif
> ----- Original Message ----
> From: George Bosilca <bosilca_at_[hidden]>
> To: Open MPI Developers <devel_at_[hidden]>
> Sent: Tuesday, April 1, 2008 1:31:46 AM
> Subject: Re: [OMPI devel] limit tcp fragment size?
> The btl_tcp_min_send_size is not exactly what you expect it to be. It
> drive only the send protocol (as implemented in Open MPI), and not the
> put protocol the TCP BTL is using.
> You can achieve what you want with 2 parameters:
> 1. btl_tcp_frag set to 9. This will force the send protocol over TCP
> all the time
> 2. btl_tcp_max_send_size set to 16K which will define the size of a
> fragment in the pipelined send protocol.
> On Mar 31, 2008, at 2:46 AM, Muhammad Atif wrote:
> > G'day
> > Just a quick basic question..... in case of tcp btl, how do I limit
> > the frag size?
> > I do not want MPI to send a fragment of size greater than lets say
> > 16K in size.
> > If I am not mistaken, should not the btl_tcp_min_send_size do the
> > trick? If it is supposed to do it, why do i see packets of lenght
> > 64K ?
> > Thanks in advance.
> > Best Regards,
> > Muhammad Atif
> > Special deal for Yahoo! users & friends - No Cost. Get a month of
> > Blockbuster Total
> > Accessnow_______________________________________________
> > devel mailing list
> > devel_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/devel
> You rock. That's why Blockbuster's offering you one month of
> Blockbuster Total Access, No
> devel mailing list
- application/pkcs7-signature attachment: smime.p7s