DragonFly commits List (threaded) for 2008-05
DragonFly BSD
DragonFly commits List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 May 2008 23:55:11 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]