All of lore.kernel.org
 help / color / mirror / Atom feed
From: Constantin Musca <constantinx.musca@intel.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] libnss-mdns: fix mDNS resolving speed
Date: Fri, 28 Sep 2012 14:55:58 +0300	[thread overview]
Message-ID: <5065904E.9080208@intel.com> (raw)
In-Reply-To: <CAJTo0Lb7bqrjKDr-cQLSuKB2bsKoNo=zbzd3WC9cq16bKmu7LQ@mail.gmail.com>

On 09/28/2012 12:46 PM, Burton, Ross wrote:
> On 28 September 2012 09:48, Constantin Musca
> <constantinx.musca@intel.com> wrote:
>>> Have you tested this works?  Last time I saw this worked on
>>> (Christian, iirc) the "solution" wasn't actually working.
>> I tested it pinging a host.local and it works. What else should I test ?
> Check that there is a speed improvement - before it would attempt a
> DNS lookup so I'd have a couple of seconds waiting before the quick
> mDNS lookup.  With the fix all .local domains should be very quick on
> the first resolution.
>
> Ross

Tests:

1. Without fix:
real     0m4.461s
user    0m0.034s
sys      0m0.086s

2. With fix:
real    0m0.842s
user   0m0.066s
sys     0m0.122s

As you can see, there is a speed improvement.

Cheers,
Constantin






  parent reply	other threads:[~2012-09-28 13:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28  8:18 [PATCH] libnss-mdns: fix mDNS resolving speed Constantin Musca
2012-09-28  9:40 ` Burton, Ross
2012-09-28  8:48   ` Constantin Musca
2012-09-28  9:46     ` Burton, Ross
2012-09-28  8:53       ` Constantin Musca
2012-09-28 11:55       ` Constantin Musca [this message]
2012-09-28 13:05         ` Ross Burton
2012-09-28 14:16           ` Constantin Musca

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=5065904E.9080208@intel.com \
    --to=constantinx.musca@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.