#1 Le 03/04/2019, à 16:36
- tomlep6
Xubuntu 18.04.01 pc portable lent
Bonjour à tous,
J'ai récemment mis mon système à jour, passage d'ubuntu 14.04 à ubuntu 18.04. Ce dernier n'est resté que quelques heures sur mon pc car il ralentissait drastiquement tout.
Un aidant m'a alors conseillé de passer sur Xubuntu. J'ai donc installé Xubuntu 18.04.01 en réinitialisant bien tout mon PC portable.
Tout d'abord je trouve l'interface très arriérée en rapport à Ubuntu 18.04.01mais la n'est pas le problème..
Je trouve toujours mon pc lent. Le simple fait d'ouvrir une appli peut prendre 30-45 sec. Ensuite mon ordi ce mets parfois a lag très fortement par exemple : Darktable ouvert; une page internet google ainsi que youtube. Tout fonctionnait bien 30 mn puis d'un seul coup je ne pouvais plus cliquer nulle part mon ordi s'est fortement ralenti a tel point que j'ai du forcer son extinction. C'est bête surtout que c'est un cas fréquent...
Je trouve mon pc vraiment pas fluide.. pourtant ce dernier possède:
2gb de mémoire vive
un processeur intel core i3 2.40ghz
Merci de votre aide..
Hors ligne
#2 Le 03/04/2019, à 18:33
- LukePerp
Re : Xubuntu 18.04.01 pc portable lent
Bonjour,
Comme ça, à l'intuition, on dirait qu'un processus système démarre seul au bout d'un moment et ralentit tout. Peux tu nous fournir d'autres infos sur ta machine, tel qu'un boot info et les commandes suivantes :
swapon -s
top
lshw
uname -rm
Desktop & Laptop - Ubuntu Mate dernière LTS - Intel i5 - 16 Go - Dual boot Windows offline
Hors ligne
#3 Le 04/04/2019, à 00:15
- tomlep6
Re : Xubuntu 18.04.01 pc portable lent
Bonsoir!
donc resultat après démarrage de mon pc avec seulement chromimum de lancé:
thomas@LIFEBOOK-A544:~/Bureau$ swapon -s
Nom de fichier Type Taille Utilisé Priorité
/swapfile file 2097148 0 -2
thomas@LIFEBOOK-A544:~/Bureau$ top
top - 00:10:21 up 8 min, 1 user, load average: 1,75, 1,14, 0,59
Tâches: 195 total, 2 en cours, 140 en veille, 0 arrêté, 0 zombie
%Cpu(s): 0,1 ut, 18,6 sy, 0,0 ni, 79,5 id, 1,8 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem : 1875456 total, 111316 libr, 679112 util, 1085028 tamp/cache
KiB Éch: 2097148 total, 2097148 libr, 0 util. 874572 dispo Mem
PID UTIL. PR NI VIRT RES SHR S %CPU %MEM TEMPS+ COM.
3 root 20 0 0 0 0 R 84,4 0,0 6:50.66 kworker/0:0
1815 thomas 20 0 1831828 208544 83392 S 0,7 11,1 0:06.04 chrome
733 root 20 0 489028 17248 13960 S 0,3 0,9 0:00.35 NetworkMan+
856 root 20 0 434856 37920 26016 S 0,3 2,0 0:01.77 Xorg
1979 thomas 20 0 637556 37056 27968 S 0,3 2,0 0:00.41 gnome-term+
top - 00:10:22 up 8 min, 1 user, load average: 1,75, 1,14, 0,59
Tâches: 195 total, 2 en cours, 140 en veille, 0 arrêté, 0 zombie
%Cpu(s): 0,3 ut, 20,1 sy, 0,0 ni, 79,6 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem : 1875456 total, 111316 libr, 679112 util, 1085028 tamp/cache
KiB Éch: 2097148 total, 2097148 libr, 0 util. 874572 dispo Mem
PID UTIL. PR NI VIRT RES SHR S %CPU %MEM TEMPS+ COM.
3 root 20 0 0 0 0 R 83,5 0,0 6:51.52 kworker/0+
856 root 20 0 435376 38024 26120 S 1,0 2,0 0:01.78 Xorg
1254 thomas 20 0 191156 22148 18416 S 1,0 1,2 0:00.24 xfwm4
1815 thomas 20 0 1831828 208544 83392 S 1,0 11,1 0:06.05 chrome
1996 thomas 20 0 51884 4272 3536 R 1,0 0,2 0:00.09 top
top - 00:13:32 up 11 min, 1 user, load average: 0,79, 0,97, 0,64
Tâches: 192 total, 2 en cours, 139 en veille, 0 arrêté, 0 zombie
%Cpu(s): 0,2 ut, 21,2 sy, 0,0 ni, 78,4 id, 0,3 wa, 0,0 hi, 0,0 si, 0,0 s
KiB Mem : 1875456 total, 115896 libr, 678420 util, 1081140 tamp/cache
KiB Éch: 2097148 total, 2097148 libr, 0 util. 879860 dispo Mem
PID UTIL. PR NI VIRT RES SHR S %CPU %MEM TEMPS+ COM.
3 root 20 0 0 0 0 R 83,8 0,0 9:31.16 kworker/+
1815 thomas 20 0 1832340 209840 83392 S 0,7 11,2 0:07.09 chrome
1996 thomas 20 0 51884 4272 3536 R 0,7 0,2 0:00.58 top
1 root 20 0 225436 9228 6768 S 0,0 0,5 0:01.06 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/+
5 root 20 0 0 0 0 I 0,0 0,0 0:00.02 kworker/+
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mm_percp+
7 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirq+
8 root 20 0 0 0 0 I 0,0 0,0 0:00.08 rcu_sched
9 root 20 0 0 0 0 I 0,0 0,0 0:00.00 rcu_bh
10 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migratio+
11 root rt 0 0 0 0 S 0,0 0,0 0:00.00 watchdog+
12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/1
14 root rt 0 0 0 0 S 0,0 0,0 0:00.00 watchdog+
15 root rt 0 0 0 0 S 0,0 0,0 0:00.02 migratio+
Hors ligne
#4 Le 04/04/2019, à 06:24
- LukePerp
Re : Xubuntu 18.04.01 pc portable lent
La faute au processus kworker qui accapare le ressources de ton processeur. Faut chercher plus d'informations sur ce kworker pour comprendre et trouver une solution.
Desktop & Laptop - Ubuntu Mate dernière LTS - Intel i5 - 16 Go - Dual boot Windows offline
Hors ligne
#5 Le 04/04/2019, à 07:22
- NicoApi73
Re : Xubuntu 18.04.01 pc portable lent
Bonjour,
Il semblerait qu'il faille installer powertop :
Hors ligne
#6 Le 04/04/2019, à 09:09
- tomlep6
Re : Xubuntu 18.04.01 pc portable lent
Bonjour, j'ai donc installé power top puis réalisé les modifs. Je vous redonne les infos système voir si vous voyez un changement ? MERCI!!
Edit: Je remarque que le résultat de la commande est beaucoup plus court pourquoi???
thomas@LIFEBOOK-A544:~/Bureau$ swapon -s
Nom de fichier Type Taille Utilisé Priorité
/swapfile file 2097148 5132 -2
thomas@LIFEBOOK-A544:~/Bureau$ top
top - 09:07:15 up 11 min, 1 user, load average: 1,08, 1,14, 0,81
Tâches: 206 total, 2 en cours, 153 en veille, 0 arrêté, 0 zombie
%Cpu(s): 0,4 ut, 20,0 sy, 0,0 ni, 79,1 id, 0,4 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem : 1875456 total, 117968 libr, 1189244 util, 568244 tamp/cache
KiB Éch: 2097148 total, 2092016 libr, 5132 util. 316644 dispo Mem
PID UTIL. PR NI VIRT RES SHR S %CPU %MEM TEMPS+ COM.
35 root 20 0 0 0 0 R 81,4 0,0 3:38.70 kworker/0:1
1752 thomas 20 0 1823220 209560 80916 S 1,7 11,2 0:19.10 chrome
856 root 20 0 437640 33408 20968 S 0,7 1,8 0:10.12 Xorg
2040 thomas 20 0 638620 37296 27048 S 0,7 2,0 0:02.76 gnome-term+
2788 root 20 0 0 0 0 I 0,3 0,0 0:00.14 kworker/1:0
3596 thomas 20 0 51896 4140 3456 R 0,3 0,2 0:00.11 top
1 root 20 0 225344 6460 4624 S 0,0 0,3 0:01.04 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 20 0 0 0 0 I 0,0 0,0 6:12.51 kworker/0:0
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/0:+
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mm_percpu_+
7 root 20 0 0 0 0 S 0,0 0,0 0:00.00 ksoftirqd/0
8 root 20 0 0 0 0 I 0,0 0,0 0:00.19 rcu_sched
9 root 20 0 0 0 0 I 0,0 0,0 0:00.00 rcu_bh
10 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
11 root rt 0 0 0 0 S 0,0 0,0 0:00.00 watchdog/0
12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
Dernière modification par tomlep6 (Le 04/04/2019, à 09:12)
Hors ligne
#7 Le 04/04/2019, à 10:15
- nam1962
Re : Xubuntu 18.04.01 pc portable lent
Donne nous :
cat /etc/apt/sources.list
ls /etc/apt/sources.list.d -1
sudo dmidecode -t 16
sudo dmidecode -t 17
cat /proc/sys/vm/swappiness
cat /proc/sys/vm/vfs_cache_pressure
uname -a
Pour le look de Xfce, toute sa richesse est que tu en fais ce que tu veux : https://forum.ubuntu-fr.org/viewtopic.php?id=1670281
[ Modéré ]
Hors ligne
#8 Le 04/04/2019, à 10:21
- tomlep6
Re : Xubuntu 18.04.01 pc portable lent
Merci de l'info ! voilà le resultat:
thomas@LIFEBOOK-A544:~/Bureau$ cat /etc/apt/sources.list
# deb cdrom:[Xubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main multiverse restricted universe
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
thomas@LIFEBOOK-A544:~/Bureau$ ls /etc/apt/sources.list.d -1
thomas@LIFEBOOK-A544:~/Bureau$ sudo dmidecode -t 16
[sudo] Mot de passe de thomas :
Désolé, essayez de nouveau.
[sudo] Mot de passe de thomas :
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0005, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 32 GB
Error Information Handle: Not Provided
Number Of Devices: 2
thomas@LIFEBOOK-A544:~/Bureau$
Hors ligne
#9 Le 04/04/2019, à 10:30
- nam1962
Re : Xubuntu 18.04.01 pc portable lent
Dépôts très propres, il manque les 4 derniers retours
[ Modéré ]
Hors ligne
#10 Le 04/04/2019, à 10:42
- tomlep6
Re : Xubuntu 18.04.01 pc portable lent
Ah oui my bad! Merci
thomas@LIFEBOOK-A544:~/Bureau$ sudo dmidecode -t 17
[sudo] Mot de passe de thomas :
Désolé, essayez de nouveau.
[sudo] Mot de passe de thomas :
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0006, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0005
Error Information Handle: Not Provided
Total Width: 8 bits
Data Width: 8 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: ChannelA-DIMM0
Bank Locator: BANK 0
Type: DDR3
Type Detail: Synchronous
Speed: 1600 MT/s
Manufacturer: Samsung
Serial Number: 15241745
Asset Tag: 9876543210
Part Number: M471B5674QH0-YK0
Rank: Unknown
Configured Clock Speed: 1600 MT/s
Handle 0x0007, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0005
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: ChannelA-DIMM1
Bank Locator: BANK 1
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: 9876543210
Part Number: Not Specified
Rank: Unknown
Configured Clock Speed: Unknown
Handle 0x0008, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0005
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: ChannelB-DIMM0
Bank Locator: BANK 2
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: 9876543210
Part Number: Not Specified
Rank: Unknown
Configured Clock Speed: Unknown
Handle 0x0009, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0005
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: ChannelB-DIMM1
Bank Locator: BANK 3
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: 9876543210
Part Number: Not Specified
Rank: Unknown
Configured Clock Speed: Unknown
thomas@LIFEBOOK-A544:~/Bureau$ cat /proc/sys/vm/swappiness
60
thomas@LIFEBOOK-A544:~/Bureau$ cat /proc/sys/vm/vfs_cache_pressure
100
thomas@LIFEBOOK-A544:~/Bureau$ uname -a
Linux LIFEBOOK-A544 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
thomas@LIFEBOOK-A544:~/Bureau$
Hors ligne
#11 Le 04/04/2019, à 11:31
- nam1962
Re : Xubuntu 18.04.01 pc portable lent
Alors...
Tu as une capacité de 32Go de RAM, mais tu n'as installé que 2Go, ce qui fait que même avec Xub, ton ordi est à la peine.
Si tu peux lui rajouter 4Go tu auras l'impression d 'avoir un ordi neuf.
On va régler swappiness et gestion de la swap pour fluidifier tout ça en attendant :
echo vm.swappiness=5 | sudo tee -a /etc/sysctl.d/99-sysctl.conf
echo vm.vfs_cache_pressure=50 | sudo tee -a /etc/sysctl.d/99-sysctl.conf
sudo sysctl -p /etc/sysctl.d/99-sysctl.conf
Puis je te propose de virer la /swapfile qui par ailleurs est toute petite pour utiliser systemd-swap (qui permet d'ajuster automatiquement la taille de la swap à tes besoins) :
swapoff -a
sudo rm -f /swapfile
git clone https://github.com/Nefelim4ag/systemd-swap.git
./systemd-swap/package.sh debian
cd ~/systemd-swap
Puis
sudo dpkg -i systemd-swap-*any.deb
ou tu remplaces l'étoile par le numéro de version du .deb provenant de git
Puis
sudo apt install gedit
gedit admin:///etc/systemd/swap.conf
Tu t'assures d'avoir :
zram_enabled=0
zswap_enabled=1
swapfc_enabled=1
et enfin
systemctl start systemd-swap
systemctl enable systemd-swap
[url=[modéré : pas d’auto-pub, merci]-gestion-ram-swap-linux/]Source[/url]
Pour faire une Xub toute jolie, regarde [url=[modéré : pas d’auto-pub, merci]-mon-optimisation-personnalisation-xubuntu-et-autres-variantes/]ce tuto[/url]
Dernière modification par nam1962 (Le 10/05/2019, à 08:43)
[ Modéré ]
Hors ligne
#12 Le 04/04/2019, à 11:38
- xubu1957
Re : Xubuntu 18.04.01 pc portable lent
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
Hors ligne
#13 Le 04/04/2019, à 11:48
- nam1962
Re : Xubuntu 18.04.01 pc portable lent
Vu, merci !
A priori, les manips proposées ne devraient pas poser problème.
[ Modéré ]
Hors ligne
#14 Le 04/04/2019, à 11:50
- tomlep6
Re : Xubuntu 18.04.01 pc portable lent
Comment faire pour augmenter donc cette RAM?
Pour swapiness a la deuxieme commande je bloque le résultat est spécial ?
thomas@LIFEBOOK-A544:~/Bureau$ swapoff -a
swapoff: Vous n'êtes pas le superutilisateur.
thomas@LIFEBOOK-A544:~/Bureau$ sudo rm -f /swapfile
rm: impossible de supprimer '/swapfile': Opération non permise
thomas@LIFEBOOK-A544:~/Bureau$ git clone https://github.com/Nefelim4ag/systemd-swap.git
La commande « git » n'a pas été trouvée, mais peut être installée avec :
sudo apt install git
thomas@LIFEBOOK-A544:~/Bureau$ ./systemd-swap/package.sh debian
bash: ./systemd-swap/package.sh: Aucun fichier ou dossier de ce type
thomas@LIFEBOOK-A544:~/Bureau$ cd ~/systemd-swap
bash: cd: /home/thomas/systemd-swap: Aucun fichier ou dossier de ce type
thomas@LIFEBOOK-A544:~/Bureau$
Merci et oui cet EX ordipass me donne du fil a retordre mais grace à vos précieux conseil petit a petit j' y arrive!!
Hors ligne
#15 Le 04/04/2019, à 11:56
- nam1962
Re : Xubuntu 18.04.01 pc portable lent
As tu passé les trois premières commandes?
Pour la RAM, il faudra ouvrir l'ordi et ajouter une barrette (le mieux est d'aller chez un fournisseur informatique avec l'ordi pour savoir quel est le bon modèle)
Pour les commandes suivantes, c'est curieux, redonne :
sudo apt update
ls /
Dernière modification par nam1962 (Le 04/04/2019, à 11:56)
[ Modéré ]
Hors ligne
#16 Le 04/04/2019, à 12:08
- tomlep6
Re : Xubuntu 18.04.01 pc portable lent
Oui, j'ai bien passé les 3 premières.. Ok merci pour la Ram a voir si mon ordi vaut vraiment le coup d'investir 50e de plus
thomas@LIFEBOOK-A544:~/Bureau$ sudo apt update
[sudo] Mot de passe de thomas :
Désolé, essayez de nouveau.
[sudo] Mot de passe de thomas :
Atteint :1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Réception de :2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Atteint :3 http://archive.canonical.com/ubuntu bionic InRelease
Réception de :4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Réception de :5 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Réception de :6 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [486 kB]
Réception de :7 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [572 kB]
Réception de :8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]
Réception de :9 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [20,8 kB]
Réception de :10 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [12,2 kB]
Réception de :11 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [45,2 kB]
Réception de :12 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2460 B]
Réception de :13 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [211 kB]
Réception de :14 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [278 kB]
Réception de :15 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [66,6 kB]
Réception de :16 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [123 kB]
Réception de :17 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [750 kB]
Réception de :18 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [739 kB]
Réception de :19 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [209 kB]
Réception de :20 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [193 kB]
Réception de :21 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [358 kB]
Réception de :22 http://fr.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2468 B]
Réception de :23 http://fr.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7352 B]
4327 ko réceptionnés en 4s (1209 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
14 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
thomas@LIFEBOOK-A544:~/Bureau$
thomas@LIFEBOOK-A544:~/Bureau$ ls /
bin dev initrd.img lib64 mnt root snap sys var
boot etc initrd.img.old lost+found opt run srv tmp vmlinuz
cdrom home lib media proc sbin swapfile usr vmlinuz.old
thomas@LIFEBOOK-A544:~/Bureau$
Hors ligne
#17 Le 04/04/2019, à 12:16
- nam1962
Re : Xubuntu 18.04.01 pc portable lent
4Go de RAM ça peut aussi se trouver d'occase pour 10€, on verra après le modèle.
Essaie :
sudo swapoff -a
sudo rm -f /swapfile
[ Modéré ]
Hors ligne
#18 Le 04/04/2019, à 12:19
- nany
Re : Xubuntu 18.04.01 pc portable lent
Bonjour,
swapoff -a sudo rm -f /swapfile git clone https://github.com/Nefelim4ag/systemd-swap.git ./systemd-swap/package.sh debian cd ~/systemd-swap
Puis
sudo dpkg -i systemd-swap-*any.deb
ou tu remplaces l'étoile par le numéro de version du .deb provenant de git
sudo swapoff -a
sudo rm -v /swapfile
wget -c https://github.com/Nefelim4ag/systemd-swap/releases/download/4.0.1/systemd-swap_4.0.1_any.deb
sudo dpkg -i systemd-swap_4.0.1_any.deb
Fixed!
Dernière modification par nany (Le 04/04/2019, à 12:21)
Hors ligne
#19 Le 04/04/2019, à 12:20
- nam1962
Re : Xubuntu 18.04.01 pc portable lent
@nany : presque ! tu as oublié un espace
[ Modéré ]
Hors ligne
#20 Le 04/04/2019, à 12:33
- Caribou22
Re : Xubuntu 18.04.01 pc portable lent
Bonjour,
Je crois que c'est moi qui t'ai conseillé Xubuntu
Pour le look, tu pourras lui donner des airs de Ubuntu si ça te manque : https://forum.ubuntu-fr.org/viewtopic.p … #p22073313
Pour la lenteur, est-ce que le conseil de NicoApi73 dans le post #5 a amélioré les choses ? (installer et exécuter powertop)
Hors ligne
#21 Le 04/04/2019, à 12:49
- tomlep6
Re : Xubuntu 18.04.01 pc portable lent
Ok ca m'as débloqué mais il me semble que ma SWAPFC=0 au lieu de =1...
################################################################################
# Defaults are optimized for general usage
################################################################################
################################################################################
# You can override any settings by files in:
# /etc/systemd/swap.conf.d/*.conf
################################################################################
################################################################################
# Zswap
#
# Kernel >= 3.11
# Zswap create compress cache between swap and memory for reduce IO
# https://www.kernel.org/doc/Documentation/vm/zswap.txt
zswap_enabled=1
zswap_compressor=lz4 # lzo lz4
zswap_max_pool_percent=25 # 1-99
zswap_zpool=zbud # zbud z3fold
################################################################################
# ZRam
#
# Kernel >= 3.15
# Zram compression streams count for additional information see:
# https://www.kernel.org/doc/Documentation/blockdev/zram.txt
zram_enabled=0
zram_size=$(($RAM_SIZE/4)) # This is 1/4 of ram size by default.
zram_streams=$NCPU
zram_alg=lz4 # lzo lz4 deflate lz4hc 842 - for Linux 4.8.4
zram_prio=32767 # 1 - 32767
################################################################################
# Swap File Chunked
# Allocate swap files dynamically
# For btrfs fallback to swapfile + loop will be used
# ex. Min swap size 512M, Max 8*512M
swapfc_enabled=0
swapfc_force_use_loop=0 # Force usage of swapfile + loop
swapfc_frequency=1s # How often check free swap space
swapfc_chunk_size=512M # Allocate size of swap chunk
swapfc_max_count=8 # 0 - unlimited, note: 32 is a kernel maximum
swapfc_free_swap_perc=15 # Add new chunk if free < 15%
# Remove chunk if free > 15+40% & chunk count > 2
swapfc_path=/var/lib/systemd-swap/swapfc/
# Only for swapfile + loop
swapfc_nocow=1 # Disable CoW on swapfile
swapfc_directio=1 # Use directio for loop dev
swapfc_force_preallocated=0 # Will preallocate created files
################################################################################
# Swap devices
sinon oui CARIBOU22 c'est bien toi qui m'as conseillé cela. Je pense effectivement que Powertop a amélioré les choses
Dernière modification par tomlep6 (Le 04/04/2019, à 12:50)
Hors ligne
#22 Le 04/04/2019, à 13:06
- nam1962
Re : Xubuntu 18.04.01 pc portable lent
Donc remplace le 0 par un 1 !
(puis reboote)
Dernière modification par nam1962 (Le 04/04/2019, à 13:07)
[ Modéré ]
Hors ligne
#23 Le 04/04/2019, à 13:31
- tomlep6
Re : Xubuntu 18.04.01 pc portable lent
Ok, j'ai replacé par un 1 puis a ta dernière commande ca ne me donne pas de résultat.. normal?
merci!!
thomas@LIFEBOOK-A544:~/Bureau$ systemctl start systemd-swap
thomas@LIFEBOOK-A544:~/Bureau$ systemctl enable systemd-swap
thomas@LIFEBOOK-A544:~/Bureau$
Hors ligne
#24 Le 04/04/2019, à 14:27
- nam1962
Re : Xubuntu 18.04.01 pc portable lent
Oui, normal.
Redémarre et après donne nous :
swapon -s
[ Modéré ]
Hors ligne
#25 Le 04/04/2019, à 15:30
- LukePerp
Re : Xubuntu 18.04.01 pc portable lent
Je ne vois pas le lien entre vos suggestions et kworker qui accapare les ressources
Desktop & Laptop - Ubuntu Mate dernière LTS - Intel i5 - 16 Go - Dual boot Windows offline
Hors ligne