change default http settings to concurrency of 4 per server (leaving
authorPatrick McManus <mcmanus@ducksong.com>
Fri, 01 Aug 2008 17:20:56 -0400
changeset 64784 f84babd601a273eaaf6542c91984f07ce7ee7ce9
parent 64783 866f55fcdcefde6a7ddde5fa692b87326d6c3ffe
child 64785 df93110f2207bc21d00465f46b0f33caa3e88248
push id19389
push userffxbld
push dateWed, 06 Apr 2011 21:33:21 +0000
treeherdermozilla-central@8e9f90073a20 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs331987, 331985
change default http settings to concurrency of 4 per server (leaving room for a couple on other servers) and pipeline depth of 6. Derived from a data set of 7 sites, 8 simulated mobile networks, and 18 combinations of concurency and pipeline depth. Data and rationale attached to bugzilla as https://bugzilla.mozilla.org/attachment.cgi?id=331987 and https://bugzilla.mozilla.org/attachment.cgi?id=331985
mobile/app/mobile.js
--- a/mobile/app/mobile.js
+++ b/mobile/app/mobile.js
@@ -48,22 +48,22 @@ pref("browser.cache.disk.enable", false)
 pref("browser.cache.disk.capacity", 0);
 pref("browser.cache.memory.enable", true);
 pref("browser.cache.memory.capacity", 1024);
 
 /* http prefs */
 pref("network.http.pipelining", true);
 pref("network.http.pipelining.ssl", true);
 pref("network.http.proxy.pipelining", true);
-pref("network.http.pipelining.maxrequests" , 2);
+pref("network.http.pipelining.maxrequests" , 6);
 pref("network.http.keep-alive.timeout", 600);
-pref("network.http.max-connections", 4);
-pref("network.http.max-connections-per-server", 1);
-pref("network.http.max-persistent-connections-per-server", 1);
-pref("network.http.max-persistent-connections-per-proxy", 1);
+pref("network.http.max-connections", 6);
+pref("network.http.max-connections-per-server", 4);
+pref("network.http.max-persistent-connections-per-server", 4);
+pref("network.http.max-persistent-connections-per-proxy", 4);
 
 /* session history */
 pref("browser.sessionhistory.max_total_viewers", 0);
 pref("browser.sessionhistory.max_entries", 50);
 
 /* debugging prefs */
 pref("browser.dom.window.dump.enabled", true);
 pref("javascript.options.showInConsole", true);