From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXmyH-0004FY-W0 for qemu-devel@nongnu.org; Sun, 02 Aug 2009 22:08:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXmyH-0004FG-KR for qemu-devel@nongnu.org; Sun, 02 Aug 2009 22:08:17 -0400 Received: from [199.232.76.173] (port=46073 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXmyH-0004FC-DW for qemu-devel@nongnu.org; Sun, 02 Aug 2009 22:08:17 -0400 Received: from fg-out-1718.google.com ([72.14.220.153]:64693) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXmyG-0003Mf-Q9 for qemu-devel@nongnu.org; Sun, 02 Aug 2009 22:08:17 -0400 Received: by fg-out-1718.google.com with SMTP id l27so504157fgb.8 for ; Sun, 02 Aug 2009 19:08:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4A75483E.8000200@web.de> References: <1249089022.20690.11.camel@localhost.localdomain> <20090802074352.GB3339@redhat.com> <4A75483E.8000200@web.de> Date: Mon, 3 Aug 2009 02:08:14 +0000 Message-ID: <9ae48b020908021908v123aa866g470b78477f369594@mail.gmail.com> Subject: Re: [Qemu-devel] [PATCH] slirp: Read host DNS config on demand From: Ed Swierk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka , "Michael S. Tsirkin" , qemu-devel@nongnu.org On Sun, Aug 2, 2009 at 8:03 AM, Jan Kiszka 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. --Ed