2016-09-22 08:12:47 |
Martin Pitt |
bug |
|
|
added bug |
2016-09-22 08:12:47 |
Martin Pitt |
attachment added |
|
systemd-analyze critical-chain/blame for 4.4 and 4.8 https://bugs.launchpad.net/bugs/1626436/+attachment/4746048/+files/startup-times.txt |
|
2016-09-22 08:13:02 |
Martin Pitt |
tags |
amd64 apport-bug yakkety |
amd64 apport-bug bootspeed regression-release yakkety |
|
2016-09-22 08:18:44 |
Andy Whitcroft |
tags |
amd64 apport-bug bootspeed regression-release yakkety |
amd64 apport-bug bootspeed kernel-4.8 regression-release yakkety |
|
2016-09-22 08:30:19 |
Brad Figg |
linux (Ubuntu): status |
New |
Confirmed |
|
2016-09-22 11:34:30 |
Joseph Salisbury |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2016-09-22 11:34:38 |
Joseph Salisbury |
tags |
amd64 apport-bug bootspeed kernel-4.8 regression-release yakkety |
amd64 apport-bug bootspeed kernel-4.8 kernel-da-key regression-release yakkety |
|
2016-09-22 20:46:07 |
Daniele Dellafiore |
bug |
|
|
added subscriber Daniele Dellafiore |
2016-09-22 20:52:59 |
Martin Pitt |
linux (Ubuntu): status |
Confirmed |
In Progress |
|
2016-09-23 14:14:53 |
Martin Pitt |
marked as duplicate |
|
1626564 |
|
2016-09-26 05:50:19 |
Martin Pitt |
removed duplicate marker |
1626564 |
|
|
2016-09-26 05:51:13 |
Martin Pitt |
linux (Ubuntu): status |
In Progress |
Triaged |
|
2016-10-08 16:59:11 |
xpto |
bug |
|
|
added subscriber xpto |
2016-10-13 17:26:17 |
Valters |
bug |
|
|
added subscriber Valters |
2016-10-13 21:45:10 |
Jason Gerard DeRose |
bug |
|
|
added subscriber Jason Gerard DeRose |
2016-10-17 05:56:52 |
Станислав |
bug |
|
|
added subscriber Станислав |
2016-10-19 07:40:21 |
Florian W. |
attachment added |
|
ps aux | grep kworker https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1626436/+attachment/4763631/+files/kworkers |
|
2016-10-20 14:28:53 |
Martin Pitt |
description |
With yakkety's recent update from linux 4.4 to 4.8 booting has become a lot slower. It's not one service in particular, but without "quiet" and "splash" you can now easily read every single line instead of that whole wall of text zipping by. It now takes over 20s instead of ~10 seconds to boot.
This is even more dramatic when factoring out the recent boot hang of NetworkManager (bug 1622893) and disabling lightdm:
sudo systemctl mask NetworkManager NetworkManager-wait-online lightdm
then booting with 4.4 takes 1.5s and with 4.8 19.5s (!).
Some excerps from systemd-analyze blame:
4.4:
474ms postfix@-.service
395ms lxd-containers.service
305ms networking.service
4.8:
4.578s postfix@-.service
7.300s lxd-containers.service
6.285s networking.service
I attach the full outputs of critical-chain and analyze for 4.4 and 4.8 for reference.
This is much less noticeable in the running system. There is no immediate feeling of sluggishness (although my system is by and large idle).
I compared the time of sbuilding colord under similar circumstances (-j4, building on tmpfs, thus no hard disk delays; running with fully pre-loaded apt-cacher-ng thus no random network delays), and with 4.4 it takes 6.5 minutes and with 4.8 it takes 7.5. So that got a bit slower, but much less dramatically than during boot, so this is either happening when a lot of processes run in parallel, or is perhaps related to setting up cgroups.
One thing I noticed that during sbuild in 4.8 "top" shows ridiculous loads (~ 250) under 4.8, while it's around 4 or 5 under 4.8. But that doesn't reflect in actual sluggishness, so this might be just an unrelated bug.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: linux-image-4.8.0-11-generic 4.8.0-11.12
ProcVersionSignature: Ubuntu 4.8.0-11.12-generic 4.8.0-rc6
Uname: Linux 4.8.0-11-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/pcmC0D0c: martin 3049 F...m pulseaudio
/dev/snd/pcmC0D0p: martin 3049 F...m pulseaudio
/dev/snd/controlC0: martin 3049 F.... pulseaudio
Date: Thu Sep 22 09:42:56 2016
EcryptfsInUse: Yes
MachineType: LENOVO 2324CTO
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.8.0-11-generic.efi.signed root=UUID=f86539b0-3a1b-4372-83b0-acdd029ade68 ro rootflags=subvol=@ systemd.debug-shell
RelatedPackageVersions:
linux-restricted-modules-4.8.0-11-generic N/A
linux-backports-modules-4.8.0-11-generic N/A
linux-firmware 1.161
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/09/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ET95WW (2.55 )
dmi.board.asset.tag: Not Available
dmi.board.name: 2324CTO
dmi.board.vendor: LENOVO
dmi.board.version: 0B98401 Pro
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG2ET95WW(2.55):bd07/09/2013:svnLENOVO:pn2324CTO:pvrThinkPadX230:rvnLENOVO:rn2324CTO:rvr0B98401Pro:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2324CTO
dmi.product.version: ThinkPad X230
dmi.sys.vendor: LENOVO |
With yakkety's recent update from linux 4.4 to 4.8 booting has become a lot slower. It's not one service in particular, but without "quiet" and "splash" you can now easily read every single line instead of that whole wall of text zipping by. It now takes over 20s instead of ~10 seconds to boot.
This is even more dramatic when factoring out the recent boot hang of NetworkManager (bug 1622893) and disabling lightdm:
sudo systemctl mask NetworkManager NetworkManager-wait-online lightdm
then booting with 4.4 takes 1.5s and with 4.8 19.5s (!).
Some excerps from systemd-analyze blame:
4.4:
474ms postfix@-.service
395ms lxd-containers.service
305ms networking.service
4.8:
4.578s postfix@-.service
7.300s lxd-containers.service
6.285s networking.service
I attach the full outputs of critical-chain and analyze for 4.4 and 4.8 for reference.
This is much less noticeable in the running system. There is no immediate feeling of sluggishness (although my system is by and large idle).
I compared the time of sbuilding colord under similar circumstances (-j4, building on tmpfs, thus no hard disk delays; running with fully pre-loaded apt-cacher-ng thus no random network delays), and with 4.4 it takes 6.5 minutes and with 4.8 it takes 7.5. So that got a bit slower, but much less dramatically than during boot, so this is either happening when a lot of processes run in parallel, or is perhaps related to setting up cgroups.
One thing I noticed that during sbuild in 4.8 "top" shows ridiculous loads (~ 250) under 4.8, while it's around 4 or 5 under 4.4. But that doesn't reflect in actual sluggishness, so this might be just an unrelated bug.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: linux-image-4.8.0-11-generic 4.8.0-11.12
ProcVersionSignature: Ubuntu 4.8.0-11.12-generic 4.8.0-rc6
Uname: Linux 4.8.0-11-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/pcmC0D0c: martin 3049 F...m pulseaudio
/dev/snd/pcmC0D0p: martin 3049 F...m pulseaudio
/dev/snd/controlC0: martin 3049 F.... pulseaudio
Date: Thu Sep 22 09:42:56 2016
EcryptfsInUse: Yes
MachineType: LENOVO 2324CTO
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.8.0-11-generic.efi.signed root=UUID=f86539b0-3a1b-4372-83b0-acdd029ade68 ro rootflags=subvol=@ systemd.debug-shell
RelatedPackageVersions:
linux-restricted-modules-4.8.0-11-generic N/A
linux-backports-modules-4.8.0-11-generic N/A
linux-firmware 1.161
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/09/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ET95WW (2.55 )
dmi.board.asset.tag: Not Available
dmi.board.name: 2324CTO
dmi.board.vendor: LENOVO
dmi.board.version: 0B98401 Pro
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG2ET95WW(2.55):bd07/09/2013:svnLENOVO:pn2324CTO:pvrThinkPadX230:rvnLENOVO:rn2324CTO:rvr0B98401Pro:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2324CTO
dmi.product.version: ThinkPad X230
dmi.sys.vendor: LENOVO |
|
2016-10-20 19:03:45 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Yakkety |
|
2016-10-20 19:03:45 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Yakkety) |
|
2016-10-20 19:04:03 |
Joseph Salisbury |
linux (Ubuntu Yakkety): importance |
Undecided |
Medium |
|
2016-10-20 19:04:03 |
Joseph Salisbury |
linux (Ubuntu Yakkety): status |
New |
Triaged |
|
2016-10-20 19:04:20 |
Joseph Salisbury |
tags |
amd64 apport-bug bootspeed kernel-4.8 kernel-da-key regression-release yakkety |
amd64 apport-bug bootspeed kernel-4.8 kernel-da-key performing-bisect regression-release yakkety |
|
2016-10-20 22:24:53 |
Florian W. |
bug watch added |
|
http://bugzilla.kernel.org/show_bug.cgi?id=172991 |
|
2016-10-24 10:21:11 |
Florian W. |
attachment added |
|
boot times.txt https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1626436/+attachment/4766355/+files/boot%20times.txt |
|
2016-10-24 13:19:30 |
Scott Moser |
bug |
|
|
added subscriber Scott Moser |
2016-10-24 19:11:42 |
Joseph Salisbury |
linux (Ubuntu): importance |
Medium |
High |
|
2016-10-24 19:11:45 |
Joseph Salisbury |
linux (Ubuntu Yakkety): importance |
Medium |
High |
|
2016-10-24 19:11:54 |
Joseph Salisbury |
linux (Ubuntu): status |
Triaged |
In Progress |
|
2016-10-24 19:11:56 |
Joseph Salisbury |
linux (Ubuntu Yakkety): status |
Triaged |
In Progress |
|
2016-10-24 19:11:59 |
Joseph Salisbury |
linux (Ubuntu): assignee |
|
Joseph Salisbury (jsalisbury) |
|
2016-10-24 19:12:03 |
Joseph Salisbury |
linux (Ubuntu Yakkety): assignee |
|
Joseph Salisbury (jsalisbury) |
|
2016-10-29 11:01:07 |
Tomas Janousek |
bug |
|
|
added subscriber Tomas Janousek |
2016-11-12 16:34:58 |
Chris Mayo |
bug |
|
|
added subscriber Chris Mayo |
2016-12-03 07:20:53 |
debb1046 |
bug |
|
|
added subscriber debb1046 |
2017-02-02 22:26:07 |
Tomas Janousek |
bug watch added |
|
http://bugzilla.kernel.org/show_bug.cgi?id=172981 |
|
2017-02-07 11:05:17 |
Plurtu |
bug |
|
|
added subscriber Plurtu |
2017-03-17 17:50:59 |
Joseph Salisbury |
linux (Ubuntu Yakkety): status |
In Progress |
Incomplete |
|
2017-03-17 17:51:02 |
Joseph Salisbury |
linux (Ubuntu): status |
In Progress |
Incomplete |
|
2017-07-26 15:22:50 |
Andy Whitcroft |
linux (Ubuntu Yakkety): status |
Incomplete |
Won't Fix |
|
2018-05-09 07:32:58 |
Chen-Han Hsiao (Stanley) |
bug |
|
|
added subscriber Chen-Han Hsiao (Stanley) |