Re: [squid-users] Squid Slowing down flash based speed tests

From: Chris Robertson <crobertson_at_gci.net>
Date: Tue, 16 Jun 2009 12:50:37 -0800

Jamie Orzechowski wrote:
> For some reason when squid is running a speed test (www.speedtest.net)
> will run fine though the download but when it tries the upload test
> there will be a 20 second pause then it will start. With squid
> disabled everything runs as normal.
>
> No delay pools in my configs. It affects other flash based speedtests aswell.
>
> any ideas?
>

The test runs several downloads and then immediately runs a number of
POSTs for the upload evaluation...

----------------------------------------------------------
http://speedtest.server.net/speedtest/random2000x2000.jpg?x=1245184571902-2

GET /speedtest/random2000x2000.jpg?x=1245184571902-2 HTTP/1.1
Host: speedtest.server.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11)
Gecko/2009060215 Firefox/3.0.11
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive

HTTP/1.x 200 OK
Date: Tue, 16 Jun 2009 20:36:12 GMT
Server: Apache/1.3.34 (Unix) PHP/5.2.5 mod_perl/1.29
Cache-Control: max-age=-1
Expires: Tue, 16 Jun 2009 20:36:11 GMT
Last-Modified: Fri, 18 Jul 2008 21:09:37 GMT
Etag: "1a749e2-78a99c-48810691"
Accept-Ranges: bytes
Content-Length: 7907740
Content-Type: image/jpeg
X-Cache: MISS from proxypool-2.mydomain.net
Via: 1.1 proxypool-2.mydomain.net:8080 (squid/2.7.STABLE6)
Connection: keep-alive
Proxy-Connection: keep-alive
----------------------------------------------------------
http://speedtest.server.net/speedtest/upload.php?x=0.762562383431941

POST /speedtest/upload.php?x=0.762562383431941 HTTP/1.1
Host: speedtest.server.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11)
Gecko/2009060215 Firefox/3.0.11
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Referer: http://cdn.speedtest.net/flash/speedtest.swf?v=2.1.1.1
Content-type: application/x-www-form-urlencoded
Content-length: 220199

content3=RRFJOD...[SNIP]
HTTP/1.x 200 OK
Date: Tue, 16 Jun 2009 20:36:17 GMT
Server: Apache/1.3.34 (Unix) PHP/5.2.5 mod_perl/1.29
X-Powered-By: PHP/5.2.5
Content-Type: text/html
X-Cache: MISS from proxypool-2.mydomain.net
Via: 1.1 proxypool-2.mydomain.net:8080 (squid/2.7.STABLE6)
Connection: close
----------------------------------------------------------

I have not adjusted the time stamps of the headers above. As you can
see, there is a 5 second difference between when the speedtest server
responds to the last download test request, and when it responds to the
first upload test. My proxy is set explicitly in my browser.

Could it be related to interception?

Chris
Received on Tue Jun 16 2009 - 20:50:47 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 17 2009 - 12:00:04 MDT