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.

#1 Le 17/09/2019, à 10:54

wyllyjon

Ordinateur qui rame. Comment optimiser ?

Bonjour à tous,

je travaille sur mon ordinateur qui est sous Ubuntu 18.04.3 LTS
Quand j'ai mes applications ouvertes, j'ai souvent l'ordinateur qui rame tellement qu'il en bloque, et il me faut 15 min pour faire un tout petit truc.
J'ai lancé le monitoring sur la CPU et la mémoire, et j'aurais quelques questions à propos de ça :
https://framapic.org/T7sQ9TcLET8w/8SwYLbg6giMC.png

Les applications lancées quand je bosse sont : Eclipse (que je lance avec 4Go de RAM), Tomcat (lancé avec 2Go de RAM), un serveur SOLR, Firefox ou Chrome (Firefox consomme plus de mémoire, donc j'ai essayé avec Chrome ces derniers temps) et j'ai souvent Sublime Text qui est lancé ainsi qu'un fichier PDF. De plus, les applications que je lance utilisent LogFactor5 (Java-lang-Thread qu'on voit dans l'impression écran).

J'ai augmenté la mémoire de Tomcat et Eclipse récemment vu que ça bloquait (parce que je n'utilisais que 8Go sur 12), et là j'utilise bien ma RAM smile

Par contre, ce que je ne comprends pas, et c'est à ces moments-là que ça rame, c'est que j'ai des CPU qui sont à 100% alors que d'autres sont à 2%. Est-ce que quelqu'un peut m'expliquer pourquoi ? Est-ce qu'il y a un moyen d'avoir une meilleure répartition de la charge sur les CPU pour éviter que mon ordi ne bloque ?

Voici les infos du hardware :
- ASUS  N76VZ
- CPU : Intel Core i7-3830QM 2.4GHz, 4 coeurs, 8 threads
- GeForce GT 650M

Si vous avez besoin de plus d'information, ya pas de soucis !

Bonne journée à tous et merci !

Jonathan


Modération : merci d'utiliser des images de petite taille (300x300) ou des miniatures pointant sur ces images (Des hébergeurs comme Toile Libre ou TDCT'Pix le permettent).

Dernière modification par cqfd93 (Le 17/09/2019, à 16:09)

Hors ligne

#2 Le 17/09/2019, à 20:18

nam1962

Re : Ordinateur qui rame. Comment optimiser ?

Donne nous :

cat /etc/apt/sources.list
ls /etc/apt/sources.list.d -1
free -m
swapon -s
grep -oP '},"name":"\K[^"]+' ~/.mozilla/firefox/*.*default*/addons.json

[ Modéré ]

Hors ligne

#3 Le 18/09/2019, à 10:02

wyllyjon

Re : Ordinateur qui rame. Comment optimiser ?

cat /etc/apt/sources.list :

# deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted

# 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

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

## 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

ls /etc/apt/sources.list.d -1

danielrichter2007-grub-customizer-trusty.list
danielrichter2007-grub-customizer-trusty.list.distUpgrade
danielrichter2007-grub-customizer-trusty.list.save
google-chrome.list
google-chrome.list.distUpgrade
google-chrome.list.save
mongodb-org-4.0.list
nodesource.list
nodesource.list.distUpgrade
nodesource.list.save
ondrej-ubuntu-php-xenial.list
ondrej-ubuntu-php-xenial.list.distUpgrade
owncloud-client.list
owncloud-client.list.distUpgrade
owncloud-client.list.save
pellesimon-ubuntu-ppa-xenial.list
pellesimon-ubuntu-ppa-xenial.list.distUpgrade
pellesimon-ubuntu-ppa-xenial.list.save
playonlinux.list
playonlinux.list.distUpgrade
playonlinux.list.save
plushuang-tw-ubuntu-uget-stable-xenial.list
plushuang-tw-ubuntu-uget-stable-xenial.list.distUpgrade
plushuang-tw-ubuntu-uget-stable-xenial.list.save
skype-stable.list
skype-stable.list.distUpgrade
skype-stable.list.save
steam.list
steam.list.distUpgrade
steam.list.save
sublime-text.list
sublime-text.list.distUpgrade
sublime-text.list.save
teamviewer.list
teamviewer.list.distUpgrade
teamviewer.list.dpkg-dist
teamviewer.list.save
vivaldi.list

free -m

              total       utilisé      libre     partagé tamp/cache   disponible
Mem:          11894        9643         214         691        2035        1252
Partition d'échange:        4841         325        4516

swapon -s

Nom de fichier				Type		Taille	Utilisé	Priorité
/dev/sdb3                              	partition	4958204	333468	-2

grep -oP '},"name":"\K[^"]+' ~/.mozilla/firefox/*.*default*/addons.json

uBlock Origin
Video DownloadHelper
Facebook Container
Privacy Badger
Disconnect
English (GB) Language Pack
Français Language Pack
Ecosia: le moteur de recherche écolo ?
British English Dictionary (Marco Pinto)
Web Developer
ColorZilla
RESTClient, a debugger for RESTful web services.
React Developer Tools
QR Code Image Generator

A noter que ça bloque même si j'utilise pas firefox. Et beaucoup des addons sont désactivés.

A noter également que pour l'instant, l'ordi ne bloque pas, donc ces valeurs ne reflètent pas complètement l'état où il bloque

Dernière modification par wyllyjon (Le 18/09/2019, à 10:02)

Hors ligne

#4 Le 18/09/2019, à 10:36

wyllyjon

Re : Ordinateur qui rame. Comment optimiser ?

Là ça commence à ramer :

free -m

              total       utilisé      libre     partagé tamp/cache   disponible
Mem:          11894        9507         579         215        1806        1862
Partition d'échange:        4841        1275        3566

swapon -s

Nom de fichier				Type		Taille	Utilisé	Priorité
/dev/sdb3                              	partition	4958204	1305664	-2

Hors ligne

#5 Le 19/09/2019, à 11:00

wyllyjon

Re : Ordinateur qui rame. Comment optimiser ?

Bonjour,

petit ajout que j'ai oublié : j'ai aussi un dual boot avec Windows 8 (mais je n'utilise plus Windows).

Hors ligne