• Mike Christie's avatar
    [SCSI] iscsi: nodelay fix · b13941f6
    Mike Christie authored
    From: tomof@acm.org
    
    I'm not sure about this. I don't think that NODELAY option hurts
    performance. However, open-iscsi does not use MSG_MORE properly with
    sendpage, so NODELAY option hurts the open-iscsi performance.
    
    I've attached a patch to fix NODELAY and MSG_MORE problems and the
    write performance results with disktest.
    
    I use Opteron boxes connected directly, Chelsio NICs, 1500-byte MTU,
    64 KB I/O size, and the iSCSI parameters on open-iscsi web site.
    
    With only NODELAY fix, the performance drops, as you said. On the
    other hand, NODELAY and MSG_MORE fixes improve the performance
    overall.
    Signed-off-by: default avatarAlex Aizman <itn780@yahoo.com>
    Signed-off-by: default avatarDmitry Yusupov <dmitry_yus@yahoo.com>
    Signed-off-by: default avatarMike Christie <michaelc@cs.wisc.edu>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    b13941f6
iscsi_tcp.c 92.6 KB