Actions
Feature #9345
closedlook into using MSG_MORE and MSG_SENDPAGE_NOTLAST more
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Description
Mike Christie pointed out the following:
In the current kernel we are doing tcp auto corking: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f54b311142a92ea2e42598e347b84e1655caf8e3 (here is more info on corking https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_MRG/2/html/Realtime_Reference_Guide/chap-Realtime_Reference_Guide-Sockets.html) This can lead to similar perf issues if you are not using the MSG_MORE and MSG_SENDPAGE_NOTLAST. I see the ceph kernel code is using the former but not the latter.
Actions