If you are experiencing slower than expected file download times, and you are using Windows 2003 (which we do not recommend as a server platform) then try one of the following remedies:
<init-param>
<param-name>maxCacheSize</param-name>
<param-value>256000000</param-value>
</init-param>
<init-param>
<param-name>maxCachedFileSize</param-name>
<param-value>10000000</param-value>
</init-param>
<init-param>
<param-name>maxCachedFiles</param-name>
<param-value>1000</param-value>
</init-param>
|
<New class="org.mortbay.jetty.nio.SelectChannelConnector"> ... <Set name="responseBufferSize">1024</Set> </New> |
Measured Speed |
Buffer Size |
|---|---|
4498.14 kb/s |
16k |
6312.14 kb/s |
8k |
6386.04 kb/s |
4k |
7654.37 kb/s |
2k |
9436.37 kb/s |
1k |
10198.95 kb/s |
512b |
9043.14 kb/s |
256 |