Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 04/12/2021, à 10:12

malbo

Re : extreme lenteur de l'ordinateur

Bonjour,
Je colle ci-dessous le contenu du Boot-info dont tu as donné le lien ( https://paste.ubuntu.com/p/Tv38vmYyT3/ ) dans le post #22 :

boot-repair-4ppa130                                              [20211203_1458]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /grub/grub.cfg /efi/Boot/bkpbootx64.efi 
                       /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/grubx64.efi /efi/Boot/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/HP/BIOSUpdate/BiosMgmt32.efi 
                       /efi/HP/BIOSUpdate/BiosMgmt.efi 
                       /efi/HP/BIOSUpdate/CryptRSA32.efi 
                       /efi/HP/BIOSUpdate/CryptRSA.efi 
                       /efi/HP/BIOSUpdate/HpBiosMgmt32.efi 
                       /efi/HP/BIOSUpdate/HpBiosMgmt.efi 
                       /efi/HP/BIOSUpdate/HpBiosUpdate32.efi 
                       /efi/HP/BIOSUpdate/HpBiosUpdate.efi 
                       /efi/HP/DEVFW/DevFwUpdate32.efi 
                       /efi/HP/DEVFW/DevFwUpdate.efi 
                       /efi/HP/DEVFW/HpDevFwUpdate32.efi 
                       /efi/HP/DEVFW/HpDevFwUpdate.efi 
                       /efi/HP/SystemDiags/CryptRSA.efi 
                       /efi/HP/SystemDiags/HpSysDiags.efi 
                       /efi/HP/SystemDiags/SystemDiags.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /bootmgr /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession on sda6
OS#2:   Windows 8 or 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-91-generic root=UUID=ee9c650b-aea0-4667-a9bd-d6db11950854 ro quiet splash intel_idle.max_cstate=1 vt.handoff=7


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.

efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,3001,0004,2001,2002,2004
Boot0001* ubuntu	HD(1,GPT,41311998-9bfe-42e1-93aa-d52498e6996e,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0004* Windows Boot Manager	HD(1,GPT,41311998-9bfe-42e1-93aa-d52498e6996e,0x800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...I................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot3001* Internal Hard Disk or Solid State Disk	RC

78415fb8fb9b909f8029858113f1335f   sda1/Boot/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/bootx64.efi
85fa9d77b929ec4231aba29476574eb6   sda1/Boot/fbx64.efi
9d990f5e74a0f3f4d20433de977e3db2   sda1/Boot/grubx64.efi
469e608783843a701d172242f016c79c   sda1/Boot/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   sda1/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
9d3045c372bc9fb80726473663bb9e07   sda1/HP/BIOSUpdate/BiosMgmt32.efi
9b7bf7d157657719a078d9578ba1b329   sda1/HP/BIOSUpdate/BiosMgmt.efi
1b8c0684ede8539ccc205cf7a750eca3   sda1/HP/BIOSUpdate/CryptRSA32.efi
6488d391f74263c9da3c3d47dffa6212   sda1/HP/BIOSUpdate/CryptRSA.efi
374f916d48de04484b9b84560244b058   sda1/HP/BIOSUpdate/HpBiosMgmt32.efi
b9cd75145e14c455d9559d1b7748796a   sda1/HP/BIOSUpdate/HpBiosMgmt.efi
288f154783a687b844b0f3b62294311e   sda1/HP/BIOSUpdate/HpBiosUpdate32.efi
cf99da68c0290d3b3ae7ef11c98da551   sda1/HP/BIOSUpdate/HpBiosUpdate.efi
76c52abfa96b9c1f50c77b42a426ef78   sda1/HP/DEVFW/DevFwUpdate32.efi
d3b7754c9c3aa834a63179b718b60468   sda1/HP/DEVFW/DevFwUpdate.efi
8382684a03312e7d1e0b23ff46edf4f2   sda1/HP/DEVFW/HpDevFwUpdate32.efi
4751131d1ba1d2c9b9aee387fa3dbea0   sda1/HP/DEVFW/HpDevFwUpdate.efi
6488d391f74263c9da3c3d47dffa6212   sda1/HP/SystemDiags/CryptRSA.efi
44eaa42180e3a52a17b3a289507a80f3   sda1/HP/SystemDiags/HpSysDiags.efi
60a7ca369ad6ce3ed479a238ba0a34f1   sda1/HP/SystemDiags/SystemDiags.efi
2efa3903d89ff64f51dec6ed96e40941   sda1/Microsoft/Boot/bootmgfw.efi
edad6ce3a0215d232e1f8ee172737d1a   sda1/Microsoft/Boot/bootmgr.efi


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda6	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda6	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda6	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: C436938F-C9C3-4E74-B43C-6F14AD113B69
          Start       End   Sectors   Size Type
sda1       2048   1026047   1024000   500M EFI System
sda2    1026048 652785840 651759793 310.8G Microsoft basic data
sda3  652787712 653811711   1024000   500M Windows recovery environment
sda4  653813760 662202367   8388608     4G Linux swap
sda5  662202368 871919615 209717248   100G Linux filesystem
sda6  871919616 976771071 104851456    50G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABF0:;
1:1049kB:525MB:524MB:fat32:EFI system partition:boot, esp;
2:525MB:334GB:334GB:ntfs:Basic data partition:msftdata;
3:334GB:335GB:524MB:ntfs:Basic data partition:diag;
4:335GB:339GB:4295MB:linux-swap(v1)::swap;
5:339GB:446GB:107GB:ext4::;
6:446GB:500GB:53.7GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE UUID                                 PARTUUID                             LABEL        PARTLABEL
sda                                                                                                  
├─sda1 vfat   0245-7010                            41311998-9bfe-42e1-93aa-d52498e6996e MBR          EFI system partition
├─sda2 ntfs   01D6B49C6912DCB0                     a9780dd5-0c5d-4b3d-ab21-08071446fc31 Main         Basic data partition
├─sda3 ntfs   9CCE415CCE413036                     21ab2f1f-44d2-4631-aac0-4f573ace7726 Récupération Basic data partition
├─sda4 swap   cd25c9d0-0eb2-499f-8da8-5a83195a56b0 835ea14b-a3d8-4b91-90c4-de269ecc5c2c              
├─sda5 ext4   6e83b6ad-5003-4f76-8b1a-5673dcd81f62 7c86197c-9946-43f9-b242-b997871c7f32              
└─sda6 ext4   ee9c650b-aea0-4667-a9bd-d6db11950854 78606abc-9402-4a8f-a944-10439fed08e0              

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda2    29.6G  90% /media/major/Main
sda3    63.9M  87% /mnt/boot-sav/sda3
sda5    35.1G  59% /home
sda6    13.7G  67% /

Mount options: __________________________________________________________________

sda2   rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
sda3   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5   rw,relatime
sda6   rw,relatime,errors=remount-ro

======================== sda1/grub/grub.cfg (filtered) =========================

### END /etc/grub.d/30_os-prober_proxy ###
System setup   uefi-firmware

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid ee9c650b-aea0-4667-a9bd-d6db11950854 root hd0,gpt6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

==================== sda1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             grub/grub.cfg                                  1

====================== sda6/boot/grub/grub.cfg (filtered) ======================

Ubuntu   ee9c650b-aea0-4667-a9bd-d6db11950854
Ubuntu, with Linux 5.4.0-91-generic   ee9c650b-aea0-4667-a9bd-d6db11950854
Windows Boot Manager (on sda1)   osprober-efi-0245-7010
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=ee9c650b-aea0-4667-a9bd-d6db11950854 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=0245-7010  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda5 during installation
UUID=6e83b6ad-5003-4f76-8b1a-5673dcd81f62 /home           ext4    defaults        0       2
# swap was on /dev/sda4 during installation

======================= sda6/etc/default/grub (filtered) =======================

GRUB_BACKGROUND="/boot/grub/images/screen.jpg" 
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=15
GRUB_TERMINAL_INPUT=at_keyboard
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1"
GRUB_CMDLINE_LINUX=""
LANG=fr_FR 

==================== sda6: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 440,300399780 = 472,768954368  boot/grub/grub.cfg                             3
 420,298084259 = 451,291631616  boot/vmlinuz                                   2
 420,298084259 = 451,291631616  boot/vmlinuz-5.4.0-91-generic                  2
 420,298084259 = 451,291631616  boot/vmlinuz.old                               2
 425,808662415 = 457,208569856  boot/initrd.img                                5
 425,808662415 = 457,208569856  boot/initrd.img-5.4.0-91-generic               5
 425,808662415 = 457,208569856  boot/initrd.img.old                            5

===================== sda6: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root   427 janv.  5  2021 00_security_header
-rwxr-xr-x 1 root root 18151 août  12 10:18 10_linux
-rwxr-xr-x 1 root root 42359 nov.  13  2020 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15  2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15  2020 30_os-prober
-rwxr-xr-x 1 root root  1424 avril 15  2020 30_uefi-firmware
-rwxr-xr-x 1 root root   340 janv.  5  2021 40_custom
-rwxr-xr-x 1 root root   216 avril 15  2020 41_custom

====================== sda6/etc/grub.d/00_security_header ======================

#! /bin/sh
cat <<EOF
# Password
set superusers="major"
password_pbkdf2 major grub.pbkdf2.sha512.10000.4A637E85928C4D3639DAFD73D0A1C3676365BC6976A5CA96078FF7B3462B202CD7A0B3DA16F892B57CE8180421776CFD38DBB0AB9631AEAD2C91554DB06BC387.A69F9781CCAFCEAD9B4667F527CF7B5757ED7D253AB4861878F5930A62789318D5C84CB1C6B7A0496A8D0F6CCFEB1F925CFB3A1B9BE04472CF097B0B5562B50B
set menuentry_id_option="--unrestricted \$menuentry_id_option"
EOF

========================== sda6/etc/grub.d/40_custom ===========================

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
# Clavier fr
insmod keylayouts
keymap fr
set menu_color_normal= light-blue/black
set menu_color_highlight=yellow/light-blue


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[90000]) leaked on lvs invocation. Parent PID 7868: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda6,
using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file  restore-efi-backups  

Confirmation request before suggested repair: __________________________________

The boot of your PC is in Secure mode. You may want to retry after changing it to non-Secure mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.

If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

On y voit que le paramètre de noyau  intel_idle.max_cstate=1 est utilisé dans cet extrait :

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-91-generic root=UUID=ee9c650b-aea0-4667-a9bd-d6db11950854 ro quiet splash intel_idle.max_cstate=1 vt.handoff=7

C'est logique puisque ce paramètre est mentionné dans le fichier /etc/default/grub :

======================= sda6/etc/default/grub (filtered) =======================

GRUB_BACKGROUND="/boot/grub/images/screen.jpg" 
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=15
GRUB_TERMINAL_INPUT=at_keyboard
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1"
GRUB_CMDLINE_LINUX=""
LANG=fr_FR 

Peux-tu essayer de démarrer sans cette option (voir EDIT) ? Si tu y parviens, je te prie de donner le retour complet de la commande suivante afin qu'on puisse voir si ça améliore ou pas le temps de démarrage :

systemd-analyze time 

Dans la foulée, tu pourras aussi donner le retour de la commande :

sudo lshw -sanitize -c cpu

afin de voir si ça modifie "threads=1" ou pas

EDIT : pour cela, tu peux t'appuyer sur le paragraphe 7.3.1 Modification temporaire de la doc "Le Noyau : cœur du système d'exploitation".

Dernière modification par malbo (Le 04/12/2021, à 10:28)

Hors ligne

#27 Le 04/12/2021, à 11:43

iznobe

Re : extreme lenteur de l'ordinateur

Bonjour ,

@Malbo , c ' est l' utilisation de ce parametre ( : intel_idle.max_cstate=1, ca en a bien l' air en tout cas ) dans le fichier GRUB qui ferait que l ' ordi n' utilise qu ' un seul thread ???
A priori il y a de forte chance . BIEN VU !

Dernière modification par iznobe (Le 04/12/2021, à 12:01)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#28 Le 04/12/2021, à 12:07

xubu1957

Re : extreme lenteur de l'ordinateur

Bonjour,

J'avais lu ces échanges

_ _ _

RajoutWhat are CPU "C-states" and how to disable them if needed?

Dernière modification par xubu1957 (Le 04/12/2021, à 13:20)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#29 Le 04/12/2021, à 12:19

geole

Re : extreme lenteur de l'ordinateur

Bonjour
Je ne pense pas que cstate=1 signifie d'utiliser seulement un processeur


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#30 Le 04/12/2021, à 13:10

malbo

Re : extreme lenteur de l'ordinateur

C'est moi qui avais proposé l'option intel_idle.max_cstate=1 à IAI_Kmer en 2017 : https://forum.ubuntu-fr.org/viewtopic.p … #p21758505
et ça avait résolu son problème de l'époque (plantage)
Il y a peut-être mieux à faire que d'utiliser cette option. J'ai tenté de trouver ça dans ce rapport de bug : https://bugzilla.kernel.org/show_bug.cgi?id=109051
Mais c'est trop compliqué pour moi.

Dernière modification par malbo (Le 04/12/2021, à 13:15)

Hors ligne

#31 Le 04/12/2021, à 13:20

iznobe

Re : extreme lenteur de l'ordinateur

ok , mais alors comment c ' est possible qu ' apres une mise a jour du BIOS , et un essai en live linux mint les resultats soient identique , il y a un truc qui m' echappe ...

@IAI_Kmer : pourrais tu re demarrer en live session et donner le retour de lacommande :

sudo lshw -sanitize -c cpu

Dernière modification par iznobe (Le 04/12/2021, à 13:22)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#32 Le 05/12/2021, à 01:15

IAI_Kmer

Re : extreme lenteur de l'ordinateur

malbo a écrit :

Peux-tu essayer de démarrer sans cette option (voir EDIT) ? Si tu y parviens, je te prie de donner le retour complet de la commande suivante afin qu'on puisse voir si ça améliore ou pas le temps de démarrage :

systemd-analyze time 

Dans la foulée, tu pourras aussi donner le retour de la commande :

sudo lshw -sanitize -c cpu

afin de voir si ça modifie "threads=1" ou pas

voici le nouveau boot info qui respecte les contraintes demandés.
résultat demandé :

sudo lshw -sanitize -c cpu
*-cpu                     
       description: CPU
       product: Intel(R) Pentium(R) CPU  N3540  @ 2.16GHz
       vendor: Intel Corp.
       physical id: 4
       bus info: cpu@0
       version: Intel(R) Pentium(R) CPU  N3540  @ 2.16GHz
       slot: CPU 1
       size: 1167MHz
       capacity: 2665MHz
       width: 64 bits
       clock: 83MHz
       capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat md_clear cpufreq
       configuration: cores=4 enabledcores=4 threads=1

En live USB (système utilisé Ubuntu 20.04) on a :

*-cpu                     
       description: CPU
       produit: Intel(R) Pentium(R) CPU  N3540  @ 2.16GHz
       fabricant: Intel Corp.
       identifiant matériel: 4
       information bus: cpu@0
       version: Intel(R) Pentium(R) CPU  N3540  @ 2.16GHz
       emplacement: CPU 1
       taille: 549MHz
       capacité: 2665MHz
       bits: 64 bits
       horloge: 83MHz
       fonctionnalités: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat md_clear cpufreq
       configuration : cores=4 enabledcores=4 threads=1

Nouvelle performance du PC sur le système mère comme demandé par malbo :

systemd-analyze time
Startup finished in 14.680s (kernel) + 53.368s (userspace) = 1min 8.049s 
graphical.target reached after 53.338s in userspace

Hors ligne

#33 Le 05/12/2021, à 08:34

malbo

Re : extreme lenteur de l'ordinateur

Bonjour,
Je colle ci-dessous le contenu du Boot-info dont tu as donné le lien ( https://paste.ubuntu.com/p/zGRjktvfh6/ ) dans le post #32 :

boot-repair-4ppa130                                              [20211204_2348]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/sda.
 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /grub/grub.cfg /efi/Boot/bkpbootx64.efi 
                       /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/grubx64.efi /efi/Boot/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/HP/BIOSUpdate/CryptRSA.efi 
                       /efi/HP/BIOSUpdate/HpBiosMgmt.efi 
                       /efi/HP/BIOSUpdate/HpBiosUpdate.efi 
                       /efi/HP/DEVFW/DevFwUpdate32.efi 
                       /efi/HP/DEVFW/DevFwUpdate.efi 
                       /efi/HP/DEVFW/HpDevFwUpdate32.efi 
                       /efi/HP/DEVFW/HpDevFwUpdate.efi 
                       /efi/HP/SystemDiags/CryptRSA.efi 
                       /efi/HP/SystemDiags/HpSysDiags.efi 
                       /efi/HP/SystemDiags/SystemDiags.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/boot/bootx64.efi /efi/microsoft/boot/cdboot.efi 
                       /efi/microsoft/boot/cdboot_noprompt.efi 
                       /efi/microsoft/boot/memtest.efi /bootmgr /boot/bcd

sdb2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /boot/bcd

sdb3: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.03 debian-20101222 ...........>...s>.......+k.....0...~.~...~...f...M.f.f....f..8~....>E}
    Boot sector info:  Syslinux looks at sector 6227576 of /dev/sdb3 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       The integrity check of the ADV area failed. No errors 
                       found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys

sdb4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession on sda6
OS#2:   Windows 8 or 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-91-generic root=UUID=ee9c650b-aea0-4667-a9bd-d6db11950854 ro quiet splash vt.handoff=7


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.

efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,3001,0004,2001,2002,2004
Boot0000* Disque dur USB (UEFI) - USB DISK 2.0	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x54d4d2d7,0x800,0x154000)RC
Boot0001* ubuntu	HD(1,GPT,41311998-9bfe-42e1-93aa-d52498e6996e,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* Disque dur USB (UEFI) - USB DISK 2.0	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(3,MBR,0x54d4d2d7,0xc6c800,0x600000)RC
Boot0004* Windows Boot Manager	HD(1,GPT,41311998-9bfe-42e1-93aa-d52498e6996e,0x800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...I................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot3001* Internal Hard Disk or Solid State Disk	RC

728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/bootx64.efi
85fa9d77b929ec4231aba29476574eb6   sda1/Boot/fbx64.efi
9d990f5e74a0f3f4d20433de977e3db2   sda1/Boot/grubx64.efi
469e608783843a701d172242f016c79c   sda1/Boot/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   sda1/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
6488d391f74263c9da3c3d47dffa6212   sda1/HP/BIOSUpdate/CryptRSA.efi
dfd8428a700f8ebf5fb3014c6e878e1b   sda1/HP/BIOSUpdate/HpBiosMgmt.efi
f7b28c24ce25b57a9d29289e5d07c063   sda1/HP/BIOSUpdate/HpBiosUpdate.efi
76c52abfa96b9c1f50c77b42a426ef78   sda1/HP/DEVFW/DevFwUpdate32.efi
d3b7754c9c3aa834a63179b718b60468   sda1/HP/DEVFW/DevFwUpdate.efi
8382684a03312e7d1e0b23ff46edf4f2   sda1/HP/DEVFW/HpDevFwUpdate32.efi
4751131d1ba1d2c9b9aee387fa3dbea0   sda1/HP/DEVFW/HpDevFwUpdate.efi
6488d391f74263c9da3c3d47dffa6212   sda1/HP/SystemDiags/CryptRSA.efi
44eaa42180e3a52a17b3a289507a80f3   sda1/HP/SystemDiags/HpSysDiags.efi
60a7ca369ad6ce3ed479a238ba0a34f1   sda1/HP/SystemDiags/SystemDiags.efi
2efa3903d89ff64f51dec6ed96e40941   sda1/Microsoft/Boot/bootmgfw.efi
edad6ce3a0215d232e1f8ee172737d1a   sda1/Microsoft/Boot/bootmgr.efi
ae8af199ef80311f9cee9de104a15496   sdb1/boot/bootx64.efi
1309af23db7b4cdd16bb29b41d6975e5   sdb1/microsoft/boot/cdboot.efi
ba914e4bb811a1b27220f020d2672167   sdb1/microsoft/boot/cdboot_noprompt.efi
ae8af199ef80311f9cee9de104a15496   sdb2/boot/bootx64.efi
1309af23db7b4cdd16bb29b41d6975e5   sdb2/microsoft/boot/cdboot.efi
ba914e4bb811a1b27220f020d2672167   sdb2/microsoft/boot/cdboot_noprompt.efi
bfd3f5550a8a28a1021abe2b838e3b6a   sdb3/BOOT/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb3/BOOT/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sdb3/BOOT/BOOTx64.efi


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has---ESP, 	liveusb,	not-mmc, no-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda6	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda6	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sdb2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sdb3	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda6	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb3	: not-sepboot,	no-kernel,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: C436938F-C9C3-4E74-B43C-6F14AD113B69
          Start       End   Sectors   Size Type
sda1       2048   1026047   1024000   500M EFI System
sda2    1026048 652890288 651864241 310.9G Microsoft basic data
sda3  652892160 653813759    921600   450M Windows recovery environment
sda4  653813760 662202367   8388608     4G Linux swap
sda5  662202368 871919615 209717248   100G Linux filesystem
sda6  871919616 976771071 104851456    50G Linux filesystem
Disk sdb: 14.66 GiB, 15728640000 bytes, 30720000 sectors
Disk identifier: 0x54d4d2d7
      Boot    Start      End  Sectors  Size Id Type
sdb1           2048  1394687  1392640  680M  c W95 FAT32 (LBA)
sdb2        1394688 13027327 11632640  5.6G  7 HPFS/NTFS/exFAT
sdb3  *    13027328 19318783  6291456    3G  c W95 FAT32 (LBA)
sdb4       19318784 30719999 11401216  5.4G  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABF0:;
1:1049kB:525MB:524MB:fat32:EFI system partition:boot, esp;
2:525MB:334GB:334GB:ntfs:Basic data partition:msftdata;
3:334GB:335GB:472MB:ntfs:Basic data partition:diag;
4:335GB:339GB:4295MB:linux-swap(v1)::swap;
5:339GB:446GB:107GB:ext4::;
6:446GB:500GB:53.7GB:ext4::;
sdb:15.7GB:scsi:512:512:msdos: USB DISK 2.0:;
1:1049kB:714MB:713MB:fat32::lba;
2:714MB:6670MB:5956MB:ntfs::;
3:6670MB:9891MB:3221MB:fat32::boot, lba;
4:9891MB:15.7GB:5837MB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE UUID                                 PARTUUID                             LABEL        PARTLABEL
sda                                                                                                  
├─sda1 vfat   0245-7010                            41311998-9bfe-42e1-93aa-d52498e6996e MBR          EFI system partition
├─sda2 ntfs   01D6B49C6912DCB0                     a9780dd5-0c5d-4b3d-ab21-08071446fc31 Main         Basic data partition
├─sda3 ntfs   145EDDC25EDD9CB4                     e10cee5e-8eab-4c41-b6be-cbf24e2ce139 Récupération Basic data partition
├─sda4 swap   cd25c9d0-0eb2-499f-8da8-5a83195a56b0 835ea14b-a3d8-4b91-90c4-de269ecc5c2c              
├─sda5 ext4   6e83b6ad-5003-4f76-8b1a-5673dcd81f62 7c86197c-9946-43f9-b242-b997871c7f32              
└─sda6 ext4   ee9c650b-aea0-4667-a9bd-d6db11950854 78606abc-9402-4a8f-a944-10439fed08e0              
sdb                                                                                                  
├─sdb1 vfat   E6ED-C964                            54d4d2d7-01                          BOOT         
├─sdb2 ntfs   9E76390A7638E4A5                     54d4d2d7-02                          Install      
├─sdb3 vfat   AA4D-9A12                            54d4d2d7-03                          LINUX        
└─sdb4 ntfs   0E8888FD8888E515                     54d4d2d7-04                          Documents    

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda2    74.9G  76% /mnt/boot-sav/sda2
sda3   434.8M   3% /mnt/boot-sav/sda3
sda5      39G  55% /home
sda6    13.9G  67% /
sdb1     7.4M  99% /mnt/boot-sav/sdb1
sdb2    26.8M 100% /mnt/boot-sav/sdb2
sdb3    31.1M  99% /mnt/boot-sav/sdb3
sdb4     5.4G   0% /media/major/Documents

Mount options: __________________________________________________________________

sda2   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda3   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5   rw,relatime
sda6   rw,relatime,errors=remount-ro
sdb1   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb2   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb3   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb4   rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096

======================== sda1/grub/grub.cfg (filtered) =========================

### END /etc/grub.d/30_os-prober_proxy ###
System setup   uefi-firmware

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid ee9c650b-aea0-4667-a9bd-d6db11950854 root hd0,gpt6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

==================== sda1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             grub/grub.cfg                                  1

====================== sda6/boot/grub/grub.cfg (filtered) ======================

Windows Boot Manager (on sda1)   osprober-efi-0245-7010
Ubuntu   ee9c650b-aea0-4667-a9bd-d6db11950854
Ubuntu, with Linux 5.4.0-91-generic   ee9c650b-aea0-4667-a9bd-d6db11950854
Windows Boot Manager (on sda1)   osprober-efi-0245-7010
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=ee9c650b-aea0-4667-a9bd-d6db11950854 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
# /home was on /dev/sda5 during installation
UUID=6e83b6ad-5003-4f76-8b1a-5673dcd81f62 /home           ext4    defaults        0       2
# swap was on /dev/sda4 during installation
UUID=0245-7010  /boot/efi       vfat    defaults      0       1

======================= sda6/etc/default/grub (filtered) =======================

GRUB_BACKGROUND="/boot/grub/images/screen.jpg" 
GRUB_DEFAULT="menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-0245-7010' {"
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_TERMINAL_INPUT=at_keyboard
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
LANG=fr_FR 

==================== sda6: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 438,014060974 = 470,314016768  boot/grub/grub.cfg                             3
 420,298084259 = 451,291631616  boot/vmlinuz                                   2
 420,298084259 = 451,291631616  boot/vmlinuz-5.4.0-91-generic                  2
 420,298084259 = 451,291631616  boot/vmlinuz.old                               2
 425,808662415 = 457,208569856  boot/initrd.img                                5
 425,808662415 = 457,208569856  boot/initrd.img-5.4.0-91-generic               5
 425,808662415 = 457,208569856  boot/initrd.img.old                            5

===================== sda6: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root   425 déc.   4 22:55 00_security_header
-rwxr-xr-x 1 root root 18151 août  12 10:18 10_linux
-rwxr-xr-x 1 root root 42359 août  12 10:18 10_linux_zfs
-rwxr-xr-x 1 root root 12894 août  12 10:18 20_linux_xen
-rwxr-xr-x 1 root root 12059 août  12 10:18 30_os-prober
-rwxr-xr-x 1 root root  1424 août  12 10:18 30_uefi-firmware
-rwxr-xr-x 1 root root   340 déc.   4 22:53 40_custom
-rwxr-xr-x 1 root root   216 août  12 10:18 41_custom

====================== sda6/etc/grub.d/00_security_header ======================

#! /bin/sh
cat <<EOF
# Password
set superusers="root"
password_pbkdf2 root grub.pbkdf2.sha512.10000.90880FD8B8A30F4BE0C840A0B334961025293EAF1437284928BE81BF6F707B8E2168BAA957A36D14EEF480DD9037335A5A45ED97D4CFC864BBCA5BFBCB6A80F5.4F40CDBB760855963EBD7399B65681D3557C00847B5F153C437D42EB003904AA612CBE141E7D2B9DC7BB9DFF3D9AB41668A3A543520E1CB1A0EB74B646E6EFDB
set menuentry_id_option="--unrestricted \$menuentry_id_option"
EOF

========================== sda6/etc/grub.d/40_custom ===========================

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
# Clavier fr
insmod keylayouts
keymap fr
set menu_color_normal= light-blue/black
set menu_color_highlight=yellow/light-blue

====================== sdb3/boot/grub/grub.cfg (filtered) ======================

Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= sdb3/syslinux.cfg (filtered) =========================

default menu.c32
prompt 0
menu title UNetbootin
timeout 100
label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed quiet splash ---
label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit 
label ubnentry1
menu label ^Try Ubuntu without installing
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/ubuntu.seed  quiet splash ---
label ubnentry2
menu label ^Try Ubuntu without installing (safe graphics)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/ubuntu.seed  quiet splash nomodeset ---
label ubnentry3
menu label ^Install Ubuntu
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/ubuntu.seed only-ubiquity  quiet splash ---
label ubnentry4
menu label ^Install Ubuntu (safe graphics)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/ubuntu.seed only-ubiquity  quiet splash nomodeset ---
label ubnentry5
menu label Test ^memory
kernel /install/mt86plus
append initrd=/ubninit 
label ubnentry6
menu label ^Boot from first hard disk
kernel /ubnkern
append initrd=/ubninit 
label ubnentry7
menu label Ubuntu
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
label ubnentry8
menu label Ubuntu (safe graphics)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash nomodeset ---
label ubnentry9
menu label OEM install (for manufacturers)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/ubuntu.seed only-ubiquity quiet splash oem-config/enable=true ---

==================== sdb3: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================== sdb3: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1
            ?? = ??             menu.c32                                       1

=============== sdb3: Version of COM32(R) files used by Syslinux ===============

 menu.c32                           :  COM32R module (v4.xx)


======================== Unknown MBRs/Boot Sectors/etc =========================


/dev/sda3: unknown GPT attributes
4000000000000000

=============================== StdErr Messages ================================

/usr/share/boot-sav/b-i-s-functions.sh: line 884: [: 2,73495e+09: integer expression expected
File descriptor 63 (pipe:[70287]) leaked on lvs invocation. Parent PID 3847: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda6,
using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file  restore-efi-backups  

Confirmation request before suggested repair: __________________________________

The boot of your PC is in Secure mode. You may want to retry after changing it to non-Secure mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.

If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

On y voit que tu as modifié la ligne suivante dans le fichier /etc/default/grub (tu as supprimé la mention "intel_idle.max_cstate=1") :

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Ensuite, tu as mis à jour de Grub afin que l'option intel_idle.max_cstate=1 ne soit plus prise au démarrage.
C'est effectivement ce qu'on peut voir dans cet extrait :

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-91-generic root=UUID=ee9c650b-aea0-4667-a9bd-d6db11950854 ro quiet splash vt.handoff=7

Il en résulte que le temps de démarrage n'est pas amélioré donc ce n'est pas cette option qui pénalisait le temps de démarrage. Essaie de conserver ce paramétrage actuel. Si tu retrouves un problème de plantage (comme en 2017), il faudra rétablir l'option intel_idle.max_cstate=1

Dernière modification par malbo (Le 05/12/2021, à 08:39)

Hors ligne

#34 Le 05/12/2021, à 12:45

iznobe

Re : extreme lenteur de l'ordinateur

Bonjour pourrait tu donner les retours de :

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#35 Le 05/12/2021, à 15:53

IAI_Kmer

Re : extreme lenteur de l'ordinateur

iznobe a écrit :

Bonjour pourrait tu donner les retours de :

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver
intel_pstate
intel_pstate
intel_pstate
intel_pstate
iznobe a écrit :

Bonjour pourrait tu donner les retours de :

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave

Hors ligne

#36 Le 05/12/2021, à 16:08

IAI_Kmer

Re : extreme lenteur de l'ordinateur

geole a écrit :

Bonjour,
Bonjour
Je ne pense pas que cstate=1 signifie d'utiliser seulement un processeur
]

grâce à cette documentation et au vu de mon processeur , j'ai déjà essayé ces différentes combinaison dans sur le ligne
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" du fichier /etc/default/grub  a savoir :

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=0"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=4"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=4E"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash processor.max_cstate=4 intel_idle.max_cstate=0"

à chaque modification du fichier j' ai fait un update-grub et j'ai redémarré le pc mais le thread est resté à 1 dans la commande

 sudo lshw -sanitize -c cpu 

Dernière modification par IAI_Kmer (Le 05/12/2021, à 17:32)

Hors ligne

#37 Le 05/12/2021, à 16:21

IAI_Kmer

Re : extreme lenteur de l'ordinateur

je tiens à dire que j'ai quand même retrouvé de la vitesse après avoir déplacé mes fichiers personnelles de mon ancien compte (que j'ai supprimé par la suite) vers un nouveau compte que j'ai crée (logique puisque l'ancien compte devait encore contenir des fichiers de configuration de certains logiciel à l'époque de kubuntu 18.04 n'étant plus valide dans la nouvelle version). mais pour mes travaux de création d'application , virtualisation ou autre , c'est le foutoir par rapport à avant. dommage si j'avais encore les iso 64 bits de la version 18.04 d’Ubuntu, j'aurais testé la fameuse commande

sudo lshw -sanitize -c cpu

. actuellement il ne me reste plus que l'iso de Ubuntu 18.04 32bits

Hors ligne

#38 Le 05/12/2021, à 16:34

geole

Re : extreme lenteur de l'ordinateur

Bonjour
Bien que rien ne le laisse supposer, ton disque dur n'est peut-être plus en bon état et provoque des ralentissements. Peux-tu installer l'application smartmontools

sudo apt-get install --no-install-recommends smartmontools

et poster le retour de cette commande

sudo smartctl -s on  -a /dev/sda

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#39 Le 05/12/2021, à 16:56

IAI_Kmer

Re : extreme lenteur de l'ordinateur

geole a écrit :

Bonjour
Bien que rien ne le laisse supposer, ton disque dur n'est peut-être plus en bon état et provoque des ralentissements. Peux-tu poster le retour de cette commande

sudo smartctl -s on  -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-91-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba 2.5" HDD MQ01ABF...
Device Model:     TOSHIBA MQ01ABF050
Serial Number:    56V2PAXMT
LU WWN Device Id: 5 000039 702208b51
Firmware Version: AM0P2C
User Capacity:    500107862016 bytes [500 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sun Dec  5 15:54:55 2021 WAT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x02) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (  120) seconds.
Offline data collection
capabilities:                    (0x51) SMART execute Offline immediate.
                                        No Auto Offline data collection support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 102) minutes.
SCT capabilities:              (0x003d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0027   100   100   050    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0023   100   100   002    Pre-fail  Always       -       1346
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       65172
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002f   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   059   059   000    Old_age   Always       -       16788
 10 Spin_Retry_Count        0x0033   253   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       6872
183 Runtime_Bad_Block       0x0032   100   100   001    Old_age   Always       -       93322
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
185 Unknown_Attribute       0x0032   100   100   001    Old_age   Always       -       65535
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   098   000    Old_age   Always       -       37
189 High_Fly_Writes         0x003a   100   100   001    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   063   047   040    Old_age   Always       -       37 (Min/Max 30/37)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       1347
192 Power-Off_Retract_Count 0x0022   099   099   000    Old_age   Always       -       42795661
193 Load_Cycle_Count        0x0032   089   089   000    Old_age   Always       -       113271
194 Temperature_Celsius     0x0022   063   047   040    Old_age   Always       -       37 (Min/Max 30/37)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       2

SMART Error Log Version: 1
ATA Error Count: 2
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 2 occurred at disk power-on lifetime: 13206 hours (550 days + 6 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 41 38 07 7f b8 40  Error: ICRC, ABRT at LBA = 0x00b87f07 = 12091143

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 38 00 7e b8 40 00      07:41:30.185  READ FPDMA QUEUED
  60 08 30 28 71 79 40 00      07:41:30.174  READ FPDMA QUEUED
  60 08 28 e8 77 b9 40 00      07:41:30.168  READ FPDMA QUEUED
  60 08 28 40 96 b9 40 00      07:41:30.158  READ FPDMA QUEUED
  ea 00 00 00 00 00 a0 00      07:41:30.147  FLUSH CACHE EXT

Error 1 occurred at disk power-on lifetime: 11736 hours (489 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 41 68 07 74 78 40  Error: ICRC, ABRT at LBA = 0x00787407 = 7894023

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 68 00 73 78 40 00      04:08:32.708  READ FPDMA QUEUED
  ea 00 00 00 00 00 a0 00      04:08:32.697  FLUSH CACHE EXT
  60 08 a8 40 73 79 40 00      04:08:32.683  READ FPDMA QUEUED
  60 b0 a0 f0 30 c8 40 00      04:08:32.683  READ FPDMA QUEUED
  60 d0 98 b0 eb 54 40 00      04:08:32.682  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     16684         -
# 2  Extended offline    Aborted by host               10%     16681         -
# 3  Extended offline    Interrupted (host reset)      60%     15479         -
# 4  Extended offline    Interrupted (host reset)      10%     15354         -
# 5  Short offline       Completed without error       00%     15340         -
# 6  Short offline       Completed without error       00%     15288         -
# 7  Short offline       Completed without error       00%     13022         -
# 8  Extended offline    Interrupted (host reset)      50%     13022         -
# 9  Short offline       Aborted by host               90%     13021         -
#10  Short offline       Completed without error       00%     12999         -
#11  Short offline       Aborted by host               90%     12943         -
#12  Short offline       Completed without error       00%      6014         -
#13  Short offline       Aborted by host               90%      6013         -
#14  Short offline       Completed without error       00%       934         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Hors ligne

#40 Le 05/12/2021, à 17:05

geole

Re : extreme lenteur de l'ordinateur

Fausse piste

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100  
  2 Throughput_Performance  0x0027   100   100  
  3 Spin_Up_Time            0x0023   100   100  
  5 Reallocated_Sector_Ct   0x0033   100   100 
  7 Seek_Error_Rate         0x002f   100   100  
  8 Seek_Time_Performance   0x0025   100   100   

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#41 Le 05/12/2021, à 21:25

IAI_Kmer

Re : extreme lenteur de l'ordinateur

lorsque je ne lance rien de sérieux, je n'ai pas de souci. Avec Virtualbox, si je le lance depuis l'interface graphique et que je démarre ensuite une machine virtuelle , les boutons des autres fenêtres ne marche plus à l'exception des boutons pour agrandir , arrêter ou déduire une fenêtre. Du coup je lance Virtualbox avec l'invite de commande et dans ce cas de figure, ce n'affecte pas les autres fenêtres que j'ai lancé en parallèle.

Hors ligne