qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ed Swierk <eswierk@aristanetworks.com>
To: Jan Kiszka <jan.kiszka@web.de>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] slirp: Read host DNS config on demand
Date: Mon, 3 Aug 2009 02:08:14 +0000	[thread overview]
Message-ID: <9ae48b020908021908v123aa866g470b78477f369594@mail.gmail.com> (raw)
In-Reply-To: <4A75483E.8000200@web.de>

On Sun, Aug 2, 2009 at 8:03 AM, Jan Kiszka<jan.kiszka@web.de> 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

  parent reply	other threads:[~2009-08-03  2:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-01  1:10 [Qemu-devel] [PATCH] slirp: Read host DNS config on demand Ed Swierk
2009-08-02  7:43 ` Michael S. Tsirkin
2009-08-02  8:03   ` Jan Kiszka
2009-08-02  8:20     ` Michael S. Tsirkin
2009-08-03  2:08     ` Ed Swierk [this message]
2009-08-03 13:30       ` Jamie Lokier
  -- strict thread matches above, loose matches on Subject: below --
2009-07-22 17:57 Ed Swierk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9ae48b020908021908v123aa866g470b78477f369594@mail.gmail.com \
    --to=eswierk@aristanetworks.com \
    --cc=jan.kiszka@web.de \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).