degraded performance of update-grub 1.99-2ubuntu1 and higher
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson | ||
Oneiric |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
Binary package hint: grub2
The time to procede a "sudo update-grub" during an installation or deinstallation a kernel is not acceptable long. This happens since update to version 1.99-4ubuntu1. Additionally the CPU is running at 100% the whole time.
Output terminal during deinstallation:
laura@ONEIRIC-
[sudo] password for laura:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Die folgenden Pakete werden ENTFERNT:
linux-
linux-
0 aktualisiert, 0 neu installiert, 3 zu entfernen und 1 nicht aktualisiert.
Nach dieser Operation werden 214 MB Plattenplatz freigegeben.
Möchten Sie fortfahren [J/n]?
(Lese Datenbank ... 190179 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von linux-headers-
Entfernen von linux-headers-
Entfernen von linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
done
The link /vmlinuz.old is a damaged link
Removing symbolic link vmlinuz.old
you may need to re-run your boot loader[grub]
The link /initrd.img.old is a damaged link
Removing symbolic link initrd.img.old
you may need to re-run your boot loader[grub]
Löschen der Konfigurationsd
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
laura@ONEIRIC-
The times of the example are:
- until "Generating grub.cfg ..." = 45 sec
- time to provide first pair of kernelimages = 2:30 min
- time topprovide second pair of kernelimages = 1:30
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: grub-pc 1.99-4ubuntu1
ProcVersionSign
Uname: Linux 2.6.39-3-generic i686
Architecture: i386
Date: Tue May 24 11:47:15 2011
ProcEnviron:
LANGUAGE=de_DE:en
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- sudo update-grub takes extremely time + degraded performance of update-grub 1.99-2ubuntu1 and higher |
Changed in grub2 (Ubuntu Oneiric): | |
status: | Confirmed → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
milestone: | none → oneiric-alpha-1 |
Changed in grub2 (Ubuntu Oneiric): | |
status: | In Progress → Fix Committed |
Thanks for your report. I can confirm the performance loss between grub 1.99~rc1-13ubuntu3 and 1.99-2ubuntu1.
1.99-4ubuntu1 2.6.39- 3-generic img-2.6. 39-3-generic 2.6.39- 2-generic img-2.6. 39-2-generic 2.6.39- 1-generic img-2.6. 39-1-generic 2.6.38- 8-generic img-2.6. 38-8-generic +.bin
00:00.00 Generating grub.cfg ...
00:24.83 Found linux image: /boot/vmlinuz-
00:24.90 Found initrd image: /boot/initrd.
00:33.85 Found linux image: /boot/vmlinuz-
00:33.91 Found initrd image: /boot/initrd.
00:34.07 Found linux image: /boot/vmlinuz-
00:34.12 Found initrd image: /boot/initrd.
00:34.26 Found linux image: /boot/vmlinuz-
00:34.31 Found initrd image: /boot/initrd.
00:46.87 Found memtest86+ image: /boot/memtest86
00:50.42 Found Windows 7 (loader) on /dev/sda1
00:59.42 Found Windows Recovery Environment (loader) on /dev/sda2
01:08.37 done
1.99-2ubuntu1
Same results than with 1.99-4ubuntu1
1.99~rc1-13ubuntu3 2.6.39- 3-generic img-2.6. 39-3-generic 2.6.39- 2-generic img-2.6. 39-2-generic 2.6.39- 1-generic img-2.6. 39-1-generic 2.6.38- 8-generic img-2.6. 38-8-generic +.bin
00:00.00 Generating grub.cfg ...
00:02.87 Found linux image: /boot/vmlinuz-
00:02.93 Found initrd image: /boot/initrd.
00:04.01 Found linux image: /boot/vmlinuz-
00:04.07 Found initrd image: /boot/initrd.
00:04.24 Found linux image: /boot/vmlinuz-
00:04.29 Found initrd image: /boot/initrd.
00:04.42 Found linux image: /boot/vmlinuz-
00:04.48 Found initrd image: /boot/initrd.
00:05.86 Found memtest86+ image: /boot/memtest86
00:09.43 Found Windows 7 (loader) on /dev/sda1
00:10.48 Found Windows Recovery Environment (loader) on /dev/sda2
00:11.66 done