git: sendfile: Use asynchronized pru_send when ever possible

看板DFBSD_commit作者時間14年前 (2011/11/18 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 084009e28b58577006b6b58af0e8dc60ef7413bc Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Thu Nov 17 21:42:29 2011 +0800 sendfile: Use asynchronized pru_send when ever possible On Phenom 9550 (4 core, 2.2GHz): 8 parallel netperf -H 127.0.0.1 -t TCP_SENDFILE -P0 (4 runs, unit: Mbps) old 10509.48 12364.60 11930.55 11104.94 new 21031.34 20165.39 19888.42 19896.47 This give 70% ~ 90% performance improvement Summary of changes: sys/kern/uipc_syscalls.c | 4 ++-- sys/sys/socketops.h | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/084009e28b58577006b6b58af0e8dc60ef7413bc -- DragonFly BSD source repository
文章代碼(AID): #1EnKloku (DFBSD_commit)