cvs commit: src/bin/cpdup cpdup.c hclink.c hclink.h

Matthew Dillon dillon at crater.dragonflybsd.org
Thu May 22 23:57:31 PDT 2008


dillon      2008/05/22 23:55:11 PDT

DragonFly src repository

  Modified files:
    bin/cpdup            cpdup.c hclink.c hclink.h 
  Log:
  Fix a pipelining performance issue due to the way reading from the socket
  was implemented.  Instead of having the threads compete for read-access to
  the socket, create a single thread whos responsibility is to read traffic
  from the socket and route it to the appropriate transaction.  This greatly
  improves parallel threading performance for cpdup's to remote hosts.
  
  Revision  Changes    Path
  1.28      +3 -1      src/bin/cpdup/cpdup.c
  1.9       +109 -62   src/bin/cpdup/hclink.c
  1.6       +3 -0      src/bin/cpdup/hclink.h


http://www.dragonflybsd.org/cvsweb/src/bin/cpdup/cpdup.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/cpdup/hclink.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/cpdup/hclink.h.diff?r1=1.5&r2=1.6&f=u





More information about the Commits mailing list