subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1470913 - /subversion/trunk/subversion/libsvn_ra_serf/update.c
Date Tue, 23 Apr 2013 12:20:10 GMT
Author: ivan
Date: Tue Apr 23 12:20:09 2013
New Revision: 1470913

URL: http://svn.apache.org/r1470913
Log:
Partially fix issue 4352: reduce number of pipelined requests in ra_serf 
update reporter. From my tests it doesn't affects performance over WAN or 
LAN.

* subversion/libsvn_ra_serf/update.c
  (REQUEST_COUNT_TO_PAUSE): Change from 1000 to 50.
  (REQUEST_COUNT_TO_RESUME): Change from 100 to 40.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/update.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/update.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/update.c?rev=1470913&r1=1470912&r2=1470913&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/update.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/update.c Tue Apr 23 12:20:09 2013
@@ -94,8 +94,8 @@ typedef enum report_state_e {
 
    We measure outstanding requests as the sum of NUM_ACTIVE_FETCHES and
    NUM_ACTIVE_PROPFINDS in the report_context_t structure.  */
-#define REQUEST_COUNT_TO_PAUSE 1000
-#define REQUEST_COUNT_TO_RESUME 100
+#define REQUEST_COUNT_TO_PAUSE 50
+#define REQUEST_COUNT_TO_RESUME 40
 
 
 /* Forward-declare our report context. */



Mime
View raw message