Moin,
mein System braucht morgens sehr lange um zu starten. Die Hardware ist teilweise schon was älter, unter 20.04 lief aber alles super flüssig. Auch die Startzeit der Programme ist deutlich verzögert - egal ob Browser, Mail, Thunar oder Gimp.
Habe ich ein Hardwareproblem? Denn ein Reboot im Anschluss ist deutlich schneller. Hier die Zeiten der letzten 4 Tage und Direktlinks zu den Plots von systemd-analyze auf meinem Server:
09.637s (firmware) + 7.417s (loader) + 2.038s (kernel) + 31.245s (userspace) = 50.338s #boot DO
07.515s (firmware) + 5.018s (loader) + 1.845s (kernel) + 06.969s (userspace) = 21.348s #reboot DO
09.862s (firmware) + 8.710s (loader) + 3.105s (kernel) + 43.662s (userspace) = 1min 5.339s #boot FR
07.323s (firmware) + 4.187s (loader) + 2.886s (kernel) + 05.091s (userspace) = 19.488s #reboot FR
12.347s (firmware) + 4.409s (loader) + 5.298s (kernel) + 50.626s (userspace) = 1min 12.681s #boot SA
07.333s (firmware) + 3.552s (loader) + 1.848s (kernel) + 04.944s (userspace) = 17.679s #reboot SA
09.895s (firmware) + 7.973s (loader) + 4.499s (kernel) + 27.376s (userspace) = 49.744s #boot SO
07.225s (firmware) + 3.760s (loader) + 1.840s (kernel) + 04.963s (userspace) = 17.789s #reboot SO
Ein paar weitere Infos: lsblk, parted und fstab
tg@jammy:~$ sudo lsblk -o NAME,UUID,FSTYPE,SIZE,LABEL,MOUNTPOINT NAME UUID FSTYPE SIZE LABEL MOUNTPOINT sda 111,8G ├─sda1 4C6AC6266AC60CA0 ntfs 100M System-reserviert ├─sda2 EEB6C929B6C8F35F ntfs 69,5G Win10 ├─sda3 887211017210F5A2 ntfs 540M ├─sda4 1K ├─sda5 2954832b-24e2-4ec8-a85f-3c256c88676c ext4 35,2G vm-ssd └─sda6 0EEF-5412 vfat 3,9G THUNDERBIRD sdb 465,8G └─sdb1 c9562654-e860-4d0f-8fe7-5db03f25dc58 ext4 465,8G VM sdc 447,1G ├─sdc1 746C-DED2 vfat 94M /boot/efi ├─sdc2 1K └─sdc5 a296c344-edc2-4516-b5ea-d9425e907ffe ext4 447G / sdd 55,9G ├─sdd1 d380c912-e8f6-4e2c-a6dd-cf7213760a04 ext4 52,1G Xubuntu_20.04 ├─sdd2 1K └─sdd5 fd499abc-8f90-47f8-8d24-dbdd6406eb33 swap 3,8G [SWAP] sr0 tg@jammy:~$ sudo parted -l Modell: ATA Samsung SSD 840 (scsi) Festplatte /dev/sda: 120GB Sektorgröße (logisch/physisch): 512B/512B Partitionstabelle: msdos Disk-Flags: Nummer Anfang Ende Größe Typ Dateisystem Flags 1 1049kB 106MB 105MB primary ntfs boot 2 106MB 74,7GB 74,6GB primary ntfs 3 74,7GB 75,3GB 566MB primary ntfs msftres 4 75,3GB 120GB 44,8GB extended 5 78,0GB 116GB 37,8GB logical ext4 6 116GB 120GB 4197MB logical fat32 Modell: ATA SAMSUNG HD502IJ (scsi) Festplatte /dev/sdb: 500GB Sektorgröße (logisch/physisch): 512B/512B Partitionstabelle: gpt Disk-Flags: Nummer Anfang Ende Größe Dateisystem Name Flags 1 1049kB 500GB 500GB ext4 Modell: ATA SanDisk SSD PLUS (scsi) Festplatte /dev/sdc: 480GB Sektorgröße (logisch/physisch): 512B/512B Partitionstabelle: msdos Disk-Flags: Nummer Anfang Ende Größe Typ Dateisystem Flags 1 1049kB 99,6MB 98,6MB primary fat32 boot, esp 2 101MB 480GB 480GB extended 5 101MB 480GB 480GB logical ext4 Modell: ATA OCZ-AGILITY3 (scsi) Festplatte /dev/sdd: 60,0GB Sektorgröße (logisch/physisch): 512B/512B Partitionstabelle: msdos Disk-Flags: Nummer Anfang Ende Größe Typ Dateisystem Flags 1 1049kB 55,9GB 55,9GB primary ext4 2 55,9GB 60,0GB 4095MB extended 5 55,9GB 60,0GB 4095MB logical linux-swap(v1) tg@jammy:~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sdc5 during installation UUID=a296c344-edc2-4516-b5ea-d9425e907ffe / ext4 errors=remount-ro 0 0 # /boot/efi was on /dev/sdc1 during installation UUID=746C-DED2 /boot/efi vfat umask=0077 0 0 # swap was on /dev/sdd5 during installation UUID=fd499abc-8f90-47f8-8d24-dbdd6406eb33 none swap sw 0 0
inxi
tg@jammy:~$ inxi -Fz System: Kernel: 5.15.0-46-generic x86_64 bits: 64 Desktop: Xfce 4.16.0 Distro: Ubuntu 22.04.1 LTS (Jammy Jellyfish) Machine: Type: Desktop System: Gigabyte product: H97-D3H v: N/A serial: <superuser required> Mobo: Gigabyte model: H97-D3H-CF v: x.x serial: <superuser required> UEFI: American Megatrends v: F7 date: 09/19/2015 CPU: Info: quad core model: Intel Core i5-4460 bits: 64 type: MCP cache: L2: 1024 KiB Speed (MHz): avg: 2395 min/max: 800/3400 cores: 1: 2395 2: 2395 3: 2395 4: 2395 Graphics: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics driver: i915 v: kernel Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 resolution: 1920x1080~60Hz OpenGL: renderer: Mesa Intel HD Graphics 4600 (HSW GT2) v: 4.6 Mesa 22.0.5 Audio: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel Device-2: Intel 9 Series Family HD Audio driver: snd_hda_intel Sound Server-1: ALSA v: k5.15.0-46-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: yes Sound Server-3: PipeWire v: 0.3.48 running: yes Network: Device-1: Intel Ethernet I217-V driver: e1000e IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> Bluetooth: Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB driver: btusb Report: hciconfig ID: hci0 state: up address: <filter> bt-v: 2.1 Drives: Local Storage: total: 1.06 TiB used: 167.71 GiB (15.5%) ID-1: /dev/sda vendor: Samsung model: SSD 840 Series size: 111.79 GiB ID-2: /dev/sdb vendor: Samsung model: HD502IJ size: 465.76 GiB ID-3: /dev/sdc vendor: SanDisk model: SSD PLUS 480GB size: 447.13 GiB ID-4: /dev/sdd vendor: OCZ model: AGILITY3 size: 55.9 GiB Partition: ID-1: / size: 400.5 GiB used: 167.7 GiB (41.9%) fs: ext4 dev: /dev/sdc5 ID-2: /boot/efi size: 92.5 MiB used: 5.2 MiB (5.6%) fs: vfat dev: /dev/sdc1 Swap: ID-1: swap-1 type: partition size: 3.81 GiB used: 0 KiB (0.0%) dev: /dev/sdd5 Sensors: System Temperatures: cpu: 29.8 C mobo: 27.8 C Fan Speeds (RPM): N/A Info: Processes: 239 Uptime: 22m Memory: 15.31 GiB used: 1.91 GiB (12.5%) Shell: Bash inxi: 3.3.13
UEFI
tg@jammy:~$ [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS UEFI tg@jammy:~$ sudo efibootmgr -v BootCurrent: 0003 Timeout: 1 seconds BootOrder: 0003,0000,0004,0005,0006,0007,0001,0002 Boot0000* ubuntu HD(2,MBR,0xea776426,0x100800,0x100800)/File(\EFI\UBUNTU\SHIMX64.EFI) Boot0001* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........q.H.L.-.D.T.-.S.T.D.V.D.R.A.M. .G.P.5.5.N.B.4.0. .R.B.0.0....................A.............................>..Gd-.;.A..MQ..L.K.X.0.Z.4.R.1.3.0.2.6. . . . . . . . . ......AMBO Boot0002* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.S.a.m.s.u.n.g. .S.S.D. .8.4.0. .S.e.r.i.e.s....................A...........................>..Gd-.;.A..MQ..L.1.S.H.9.E.N.D.A.9.3.5.5.6.4. .Y. . . . ......AMBOAMNO........o.S.A.M.S.U.N.G. .H.D.5.0.2.I.J....................A...........................>..Gd-.;.A..MQ..L.1.S.T.3.9.J.S.0.1.6.3.1.5.2. . . . . . ......AMBOAMNO........o.S.a.n.D.i.s.k. .S.S.D. .P.L.U.S. .4.8.0.G.B....................A...........................>..Gd-.;.A..MQ..L.0.2.9.0.8.6.0.8.3.2.6.2. . . . . . . . ......AMBOAMNO........o.O.C.Z.-.A.G.I.L.I.T.Y.3....................A...........................>..Gd-.;.A..MQ..L.C.O.-.Z.2.2.3.3.9.C.8.N.E.2.A.L.Y.6.R.F......AMBO Boot0003* ubuntu HD(1,MBR,0x47c8a401,0x800,0x2f000)/File(\EFI\UBUNTU\SHIMX64.EFI) Boot0004* ubuntu HD(2,MBR,0xea776426,0x100800,0x100800)/File(\EFI\UBUNTU\GRUBX64.EFI) Boot0005* UEFI OS HD(2,MBR,0xea776426,0x100800,0x100800)/File(\EFI\BOOT\BOOTX64.EFI) Boot0006* ubuntu HD(1,MBR,0x47c8a401,0x800,0x2f000)/File(\EFI\UBUNTU\GRUBX64.EFI) Boot0007* UEFI OS HD(1,MBR,0x47c8a401,0x800,0x2f000)/File(\EFI\BOOT\BOOTX64.EFI)
Grub
tg@jammy:~$ sudo fdisk -l 2>/dev/null | egrep "Disk /|/dev/" | sed "s#^/dev/#Part /dev/#" | awk '{print $2}' | sed 's/://' | xargs -n1 -IX sudo sh -c "hexdump -v -s 0x80 -n 2 -e '2/1 \"%x\" \"\\n\"' X | xargs -n1 -IY sh -c \"case \"Y\" in '48b4') echo X: GRUB 2 v1.96 ;; 'aa75' | '5272') echo X: GRUB Legacy ;; '7c3c') echo X: GRUB 2 v1.97 oder v1.98 ;; '020') echo X: GRUB 2 v1.99 ;; *) echo X: Kein GRUB Y ;; esac\"" /dev/sda: GRUB 2 v1.99 /dev/sda1: Kein GRUB 55aa /dev/sda2: Kein GRUB 55aa /dev/sda3: Kein GRUB 55aa /dev/sda4: Kein GRUB 00 /dev/sda5: Kein GRUB 00 /dev/sda6: Kein GRUB f6c1 /dev/sdb: Kein GRUB 00 /dev/sdb1: Kein GRUB 00 /dev/sdc: Kein GRUB 00 /dev/sdc1: Kein GRUB 6f74 /dev/sdc2: Kein GRUB 00 /dev/sdc5: Kein GRUB 00 /dev/sdd: Kein GRUB 00 /dev/sdd1: Kein GRUB 00 /dev/sdd2: Kein GRUB 00 /dev/sdd5: Kein GRUB 00 tg@jammy:~$ sudo update-grub Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.15.0-40-generic Found initrd image: /boot/initrd.img-5.15.0-40-generic Found linux image: /boot/vmlinuz-5.15.0-39-generic Found initrd image: /boot/initrd.img-5.15.0-39-generic Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. Found Ubuntu 20.04.4 LTS (20.04) on /dev/sdd1 Adding boot menu entry for UEFI Firmware Settings ... done tg@jammy:~$ cat /etc/default/grub # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"
Wollte mich jetzt auf die Suche nach der Ursache machen und vorab mal in die Runde fragen wo zuerst. Um den Rechner aufzumachen muss ich nämlich den Tisch auseinanderbauen...