binarycopycode commented on issue #2475:
URL: https://github.com/apache/brpc/issues/2475#issuecomment-1865406094

   以上为本地虚拟机测试。后来在两台有mlx的RDMA网卡的服务器上测试又不一样了。其中tcp能传1G的数据,但是到2G就出现一样的Broken 
pipe错误,但是RDMA可以传2G数据,但是4G数据被iobuf的限制给写死了,这个有办法解决吗? @Tuvie  
是否能去掉这个限制,还是只能自己手动分段传数据了?
   ```
   int IOBuf::append_user_data_with_meta(void* data,
                                         size_t size,
                                         void (*deleter)(void*),
                                         uint64_t meta) {
       if (size > 0xFFFFFFFFULL - 100) {
           LOG(FATAL) << "data_size=" << size << " is too large";
           return -1;
       }
       ......
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to