[Dnsmasq-discuss] dnsmasq running on RaspberryPi/ArchLinux slow to relay non-cached queries

Peter Bell peter at bellfamily.org.uk
Sun Aug 17 06:10:22 BST 2014



On 17/08/14 02:30, guns wrote:
> On Fri 15 Aug 2014 at 06:17:37PM +0800, Peter Bell wrote:
>> I have been experiencing extremely slow browsing performance - as
>> an example, a 'first' google search takes, typically, 20 seconds to
>> display the results page - the slowest I've recorded has been 30
>> seconds. Subsequent google searches complete within 2 seconds.
>
> Firefox (and Chromium IIRC) will break down individual HTTP request
> timings into sections, the first of which is DNS resolution. You can
> use this to at least confirm that DNS is really the issue while web
> browsing.
>
>      https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor
>      https://mdn.mozillademos.org/files/7417/nm-timings.png

Wow, that is a useful tool, of which I was not aware.

The results I am seeing show that my problem has little to do with name 
resolution, but to some considerable delays in connecting and, 
sometimes, sending a request.  I'm guessing that these will be delays at 
my ISP, or beyond.

Immediately before this test, I had run an Ookla speedtest which showed: 
Ping 62ms, Download 15.15Mbps and Upload 8.91Mbps.  This is around 
midday on Sunday, so the network could be fairly busy, reducing
the speeds below what I often experience.

However, what is even more obvious are the huge delays between 
successive requests.  I'm guessing that these delays must be within my 
own machine, and not dependent on any external reponses.

I will post a couple of screenshots showing some results from Firefox.
http://www.bellfamily.org.uk/downloads/GoogleTimings.png
http://www.bellfamily.org.uk/downloads/GoogleTimings2.png

Speedtest result: http://www.speedtest.net/my-result/3694358010

However, since this appears to exonorate dnsmasq as the major culprit,
I will need to find another forum for this discussion ... any 
recommendations?

I will tackle the less significant delays around name resolution as a 
separate exercise, but I guess that it is possible that these are also 
due to network delays.

Regards,
Peter.

-- 
-------------------------------------------------------------------
Peter Bell                                Mob: +63 (0) 9287 340 343
Tagum City, Philippines.                  Tel: +63 (0) 84 216 9037
email/msn: peter at bellfamily.org.uk        Tel: +63 (0) 84 308 0002



More information about the Dnsmasq-discuss mailing list