ubuntu host web access is slower than windows guest vm

Josh Coffman joshcoffman at gmail.com
Fri Jul 29 09:09:59 MST 2011


inline...


On Thu, Jul 28, 2011 at 10:45 AM, Matt Graham <danceswithcrows at usa.net>wrote:

>
> What's in /etc/resolv.conf on the Ubuntu box?  How does it differ from
> whatever the equivalent is on the 'Doze VM?  If resolv.conf contains
>
>
cat /etc/resolv.conf:

# Generated by NetworkManager
domain ves.com
search ves.com
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 10.50.1.1

(I added 8.8.8.8, 8.8.4.4 in the network applet in hopes that would help)

WINDOWS VM: (inconfig /all)
Windows IP Configuration

   Primary Dns Suffix  . . . . . . . :
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : ves.com
   Connection-specific DNS Suffix  . : ves.com
   DHCP Enabled. . . . . . . . . . . : Yes
   Link-local IPv6 Address . . . . . :
fe80::91f9:7ec1:1741:4a21%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 172.16.1.65(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.254.0
   Lease Obtained. . . . . . . . . . : Friday, July 29, 2011 8:10:13 AM
   Lease Expires . . . . . . . . . . : Saturday, August 06, 2011 8:10:25 AM
   Default Gateway . . . . . . . . . : 172.16.1.1
   DHCP Server . . . . . . . . . . . : 172.16.1.15
   DHCPv6 IAID . . . . . . . . . . . : 235405351
   DHCPv6 Client DUID. . . . . . . . :
00-01-00-01-15-00-A3-D1-08-00-27-6D-83-66
   DNS Servers . . . . . . . . . . . : 10.50.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

I trimmed this a bit, but left the IP6 info in there because I didn't think
we actually had IP6 enabled on this LAN. One obvious difference is that
there is only 1 DNS server listed in the windows config. That's because I
had added 2 in ubuntu trying to get better performance.


> search example.com
> nameserver 1.2.3.4
> nameserver 5.6.7.8
>
>
dig crow202.org 1.2.3.4 >> 131 ms response
dig crow202.org 5.6.7.8 >> 75 ms response

I'd never heard of the dig command before, and both seems to have use the
8.8.8.8 nameserver. I was hoping to check each nameserver this way, but I',
not sure I'm doing it right. I looked up the command and tried using like
this dig [nameserver] [record] as in dig 8.8.4.4 crow202.org, but it still
seems to use the 8.8.8.8 nameserver.

dig crow202.org 8.8.8.8 >> 49 ms



> ...then can you do "dig crow202.org 1.2.3.4" and "dig crow202.org 5.6.7.8"
> and
> get fast responses from both?  If one nameserver is returning quickly and
> one
> isn't returning at all, this could cause dumb things.  IIRC, 'Doze boxes
> avoid
> using a second nameserver if one exists, while Linux machines will use a
> second and third.  If a second nameserver is in the resolv.conf but isn't
> *responding*, you could get long timeouts for DNS on Linux boxes for
> seemingly
> inexplicable reasons.
>
> It also might be worth making sure that there aren't any iptables rules
> blocking port 53.  This is unlikely, but easy to check.
>
>
Out of curiosity, I tried ping yahoo.com on both the windows vma and ubuntu.
The ubuntu ping time was slight better but consistently better. ???

--

> Matt G / Dances With Crows
> The Crow202 Blog:  http://crow202.org/wordpress/
> There is no Darkness in Eternity/But only Light too dim for us to see
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20110729/90655c09/attachment.html>


More information about the PLUG-discuss mailing list