2017-12-21 20:57:43 |
Mike Pontillo |
bug |
|
|
added bug |
2017-12-21 20:59:00 |
Mike Pontillo |
bug task added |
|
systemd (Ubuntu) |
|
2017-12-21 20:59:13 |
Mike Pontillo |
bug task added |
|
glibc (Ubuntu) |
|
2017-12-21 21:00:06 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2017-12-21 21:00:07 |
Ubuntu Kernel Bot |
tags |
|
xenial |
|
2017-12-21 21:58:17 |
Joseph Salisbury |
linux (Ubuntu): importance |
Undecided |
High |
|
2017-12-21 21:58:49 |
Joseph Salisbury |
tags |
xenial |
kernel-da-key xenial |
|
2017-12-22 00:03:01 |
Mike Pontillo |
linux (Ubuntu): status |
Incomplete |
Invalid |
|
2017-12-22 00:12:02 |
Mike Pontillo |
description |
When testing MAAS on Bionic, we noticed sluggish performance that we could not immediately explain.
After comparing the results from a run of the test suite on Xenial to a run on Bionic, we determined that the slowdowns had to do with DNS lookups. In particular, if MAAS attempts to resolve a hostname using getaddrinfo() and the call fails, on Xenial the negative result is returned in a fraction of a second. On Bionic, the negative result is returned in ~1.6 seconds, according to some measures.
### To run the test ###
git clone https://github.com/mpontillo/test-getaddrinfo
cd test-getaddrinfo
make
### Results on Xenial ###
time ./test not-a-real-hostname
Trying to resolve: not-a-real-hostname
getaddrinfo errno: Success
getaddrinfo() return value: -2 (Name or service not known)
real 0m0.015s
user 0m0.000s
sys 0m0.000s
### Results on Bionic ###
$ time ./test not-a-real-hostname
Trying to resolve: not-a-real-hostname
getaddrinfo errno: Resource temporarily unavailable
getaddrinfo() return value: -3 (Temporary failure in name resolution)
real 0m1.609s
user 0m0.004s
sys 0m0.000s |
When testing MAAS on Bionic, we noticed sluggish performance that we could not immediately explain.
After comparing the results from a run of the test suite on Xenial to a run on Bionic, we determined that the slowdowns had to do with DNS lookups. In particular, if MAAS attempts to resolve a hostname using getaddrinfo() and the call fails, on Xenial the negative result is returned in a fraction of a second. On Bionic, the negative result is returned in ~1.6 seconds, according to some measures.
### To run the test ###
git clone https://github.com/mpontillo/test-getaddrinfo
cd test-getaddrinfo
make
### Results on Xenial ###
$ time ./test not-a-real-hostname
Trying to resolve: not-a-real-hostname
getaddrinfo errno: Success
getaddrinfo() return value: -2 (Name or service not known)
real 0m0.015s
user 0m0.000s
sys 0m0.000s
### Results on Bionic ###
$ time ./test not-a-real-hostname
Trying to resolve: not-a-real-hostname
getaddrinfo errno: Resource temporarily unavailable
getaddrinfo() return value: -3 (Temporary failure in name resolution)
real 0m1.609s
user 0m0.004s
sys 0m0.000s |
|
2017-12-22 20:08:19 |
Mike Pontillo |
tags |
kernel-da-key xenial |
bionic kernel-da-key xenial |
|
2018-01-04 14:57:23 |
Blake Rouse |
glibc (Ubuntu): status |
New |
Invalid |
|
2018-01-04 15:05:55 |
Blake Rouse |
systemd (Ubuntu): status |
New |
Confirmed |
|
2018-01-04 16:56:03 |
Steve Langasek |
systemd (Ubuntu): importance |
Undecided |
High |
|
2018-01-04 17:17:07 |
Andreas Hasenack |
bug |
|
|
added subscriber Andreas Hasenack |
2018-01-04 19:44:20 |
Joseph Salisbury |
tags |
bionic kernel-da-key xenial |
bionic xenial |
|
2018-01-04 21:34:57 |
Haw Loeung |
bug |
|
|
added subscriber Haw Loeung |
2018-01-05 00:15:29 |
Dimitri John Ledkov |
systemd (Ubuntu): status |
Confirmed |
Triaged |
|
2018-01-05 00:30:37 |
Dimitri John Ledkov |
summary |
Regression in getaddrinfo(): calls block for much longer on Bionic (compared to Xenial) |
Regression in getaddrinfo(): calls block for much longer on Bionic (compared to Xenial), please disable LLMNR |
|
2018-01-05 17:10:58 |
Brian Murray |
tags |
bionic xenial |
bionic rls-bb-incoming xenial |
|
2018-01-08 07:32:30 |
Junien F |
bug |
|
|
added subscriber Junien Fridrick |
2018-02-08 16:32:58 |
Steve Langasek |
nominated for series |
|
Ubuntu Bionic |
|
2018-02-08 16:32:58 |
Steve Langasek |
bug task added |
|
glibc (Ubuntu Bionic) |
|
2018-02-08 16:32:58 |
Steve Langasek |
bug task added |
|
linux (Ubuntu Bionic) |
|
2018-02-08 16:32:58 |
Steve Langasek |
bug task added |
|
systemd (Ubuntu Bionic) |
|
2018-02-08 16:33:15 |
Dimitri John Ledkov |
systemd (Ubuntu Bionic): assignee |
|
Dimitri John Ledkov (xnox) |
|
2018-02-08 16:33:17 |
Steve Langasek |
tags |
bionic rls-bb-incoming xenial |
bionic xenial |
|
2018-02-09 21:11:08 |
Dimitri John Ledkov |
systemd (Ubuntu Bionic): status |
Triaged |
Fix Committed |
|
2018-02-15 19:51:04 |
Francis Ginther |
tags |
bionic xenial |
bionic id-5a4e5d0285ca388b893cf09d xenial |
|
2018-02-24 17:23:23 |
Launchpad Janitor |
systemd (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-04-10 19:33:28 |
Ryan Harper |
nominated for series |
|
Ubuntu Artful |
|
2018-04-10 19:33:28 |
Ryan Harper |
bug task added |
|
glibc (Ubuntu Artful) |
|
2018-04-10 19:33:28 |
Ryan Harper |
bug task added |
|
linux (Ubuntu Artful) |
|
2018-04-10 19:33:28 |
Ryan Harper |
bug task added |
|
systemd (Ubuntu Artful) |
|
2018-04-10 19:57:35 |
Ryan Harper |
bug |
|
|
added subscriber Ryan Harper |
2024-07-31 19:15:27 |
Brian Murray |
glibc (Ubuntu Artful): status |
New |
Won't Fix |
|
2024-07-31 19:15:31 |
Brian Murray |
linux (Ubuntu Artful): status |
New |
Won't Fix |
|
2024-07-31 19:15:37 |
Brian Murray |
systemd (Ubuntu Artful): status |
New |
Won't Fix |
|