• Xin Zhao's avatar
    Perf-tuning: issue FLUSH, FLUSH ACK, UNLOCK ACK messages only when needed. · a9d968cc
    Xin Zhao authored
    
    
    When operation pending list and request lists are all empty, FLUSH message
    needs to be sent by origin only when origin issued PUT/ACC operations since
    the last synchronization calls, otherwise origin does not need to issue FLUSH
    at all and does not need to wait for FLUSH ACK message.
    
    Similiarly, origin waits for ACK of UNLOCK message only when origin issued
    PUT/ACC operations since the last synchronization calls. However, UNLOCK
    message always needs to be sent out because origin needs to unlock the
    target process. This patch avoids issuing unnecessary
    FLUSH / FLUSH ACK / UNLOCK ACK messages.
    Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>
    a9d968cc
mpidpre.h 20.3 KB