Slow performance on Centos 7

General support questions
Post Reply
grimmjow_sms
Posts: 10
Joined: 2018/02/03 18:07:00

Slow performance on Centos 7

Post by grimmjow_sms » 2018/02/03 18:25:18

Hi all..

Since quite a bit I noticed that centos 7 takes too much to load for a Linux system. I have a Dell Inspiron 14 and I only have Centos 7 installed. It was never that much fast since the installation of Centos, but nowadays it just gets more slow. Even after the system finally loads it keeps being slow, If i open a terminal, it takes some time before I get the prompt to be able to write. Firefox also has this issue, opening a chat window in FB or changing from one chat to another in whatsapp web, even changing from one tab to another takes some time. Let me show you all the details of my system. I hope someone can help me with this

The disk filesystem is like this:

Code: Select all

$ df -h
S.ficheros              Tamaño Usados  Disp Uso% Montado en
/dev/mapper/centos-root    50G   8.1G   42G  17% /
devtmpfs                  1.8G      0  1.8G   0% /dev
tmpfs                     1.9G    45M  1.8G   3% /dev/shm
tmpfs                     1.9G    17M  1.8G   1% /run
tmpfs                     1.9G      0  1.9G   0% /sys/fs/cgroup
/dev/sda2                1014M   396M  619M  40% /boot
/dev/sda1                 200M   9.8M  191M   5% /boot/efi
/dev/mapper/centos-home   411G    76G  336G  19% /home
tmpfs                     371M    48K  371M   1% /run/user/1000
This is what the system loads at start:

Code: Select all

@localhost ~]$ systemd-analyze blame
         13.265s plymouth-quit-wait.service
         11.597s NetworkManager-wait-online.service
         11.328s home.mount
          9.825s jenkins.service
          9.411s kdump.service
          8.001s lvm2-monitor.service
          7.601s mariadb.service
          7.364s dev-mapper-centos\x2droot.device
          7.018s systemd-udev-settle.service
          2.726s systemd-udevd.service
          2.046s rsyslog.service
          2.010s nginx.service
          1.960s lvm2-pvscan@8:3.service
          1.939s firewalld.service
          1.686s proc-fs-nfsd.mount
          1.516s NetworkManager.service
          1.383s network.service
          1.315s systemd-binfmt.service
          1.289s bluetooth.service
          1.110s chronyd.service
          1.038s systemd-tmpfiles-setup-dev.service
           863ms dev-mqueue.mount
           859ms sys-kernel-debug.mount
         13.265s plymouth-quit-wait.service
         11.597s NetworkManager-wait-online.service
         11.328s home.mount
          9.825s jenkins.service
          9.411s kdump.service
          8.001s lvm2-monitor.service
          7.601s mariadb.service
          7.364s dev-mapper-centos\x2droot.device
          7.018s systemd-udev-settle.service
          2.726s systemd-udevd.service
          2.046s rsyslog.service
          2.010s nginx.service
          1.960s lvm2-pvscan@8:3.service
          1.939s firewalld.service
          1.686s proc-fs-nfsd.mount
          1.516s NetworkManager.service
          1.383s network.service
          1.315s systemd-binfmt.service
          1.289s bluetooth.service
          1.110s chronyd.service
          1.038s systemd-tmpfiles-setup-dev.service
           863ms dev-mqueue.mount
           859ms sys-kernel-debug.mount
           854ms proc-sys-fs-binfmt_misc.mount
           849ms dev-hugepages.mount
           764ms udisks2.service
           753ms systemd-remount-fs.service
           710ms rtkit-daemon.service
           696ms rhel-readonly.service
           658ms boot.mount
           634ms systemd-tmpfiles-setup.service
           622ms systemd-sysctl.service
           591ms gssproxy.service
           547ms upower.service
I saw in another post that there might be an issue with some of the things that the system loads at the begging and that the user should deactivate, but I dont know which one is causing the issues, and I dont have any idea on what to change and where.

If there is another kind of detail that you want me to share, please let me know.


Thank you all for your time and assistance.

grimmjow_sms
Posts: 10
Joined: 2018/02/03 18:07:00

Re: Slow performance on Centos 7

Post by grimmjow_sms » 2018/03/13 00:04:13

So... with all the mess I did with my partitions. I had to start from zero, so I reinstalled Centos.
but now I increased the size of some partitions and it seems faster than before....

So I changed:
/boot to 2 gb (was 1 gb)
/boot/efi to 1 gb (was 200 mb)

I think this fixed that slow performance quite a bit.

User avatar
TrevorH
Forum Moderator
Posts: 23879
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Slow performance on Centos 7

Post by TrevorH » 2018/03/13 00:11:58

Changing the size of those barely used filesystems is extremely unlikely to make any difference to your system's speed. Neither need to be that large and were sized correctly before.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply