[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] slirp: Read host DNS config on demand

From: Ed Swierk
Subject: Re: [Qemu-devel] [PATCH] slirp: Read host DNS config on demand
Date: Mon, 3 Aug 2009 02:08:14 +0000

On Sun, Aug 2, 2009 at 8:03 AM, Jan Kiszka<address@hidden> wrote:
> IMHO, 10 s is below the user surprise threshold for a dynamically
> changing network link. Moreover, inotify does not exist on all platforms.
> Let's keep things simple for the first step, we could still further
> improve it later on. 10 s are already an improvement over the current
> infinite timeout.

Right. The most common situation in which the DNS server address
changes is after you wake up your laptop and wait for it to connect to
a new network. DHCP itself can take several seconds to do its thing,
so you're unlikely to notice the up-to-10-second delay before full
network connectivity is restored in a VM.

Of course there's nothing magical about 10 seconds. A shorter timeout
would be even nicer, and I doubt anyone would really miss the CPU
cycles lost to re-reading a tiny text file, but I don't think
instantaneous response is required here.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]