[OE-core] [PATCH] libnss-mdns: fix mDNS resolving speed

Constantin Musca constantinx.musca at intel.com
Fri Sep 28 11:55:58 UTC 2012


On 09/28/2012 12:46 PM, Burton, Ross wrote:
> On 28 September 2012 09:48, Constantin Musca
> <constantinx.musca at 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







More information about the Openembedded-core mailing list