1
1
Gilles Gouaillardet a01960bee5 pmix2x: ptl/base: send header and message data together via writev()
on Linux, sending the header and then the message data does severely
impact performances of ptl/tcp :
on the receiver, reading the data can often result in an PMIX_ERR_RESOURCE_BUSY
or PMIX_ERR_WOULD_BLOCK, which ends up degrading performances)
this commit send both header and message data at the same time via writev()
and makes ptl/tcp virtually as efficient as ptl/usock.

Short writev generally occur when the kernel buffer is full, so there is no
point for retrying in this case.

fwiw, no such degradation was observed on OSX.

Refs open-mpi/ompi#2657

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2017-01-10 13:07:39 +09:00
..
2015-06-23 20:59:57 -07:00
2015-12-28 13:58:45 +09:00
2016-12-30 12:44:47 -08:00
2015-12-28 13:58:45 +09:00
2015-06-23 20:59:57 -07:00
2016-08-26 14:43:03 -06:00
2016-08-26 14:43:03 -06:00
2016-08-20 14:21:42 -04:00
2015-12-28 13:58:45 +09:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00