Slow performance and boot

Hi, I am running Manjaro XFCE, For me it's slow as hell. Boot is slow as hell and after i get login screen and enter my password i have to wait 30 seconds with frozen screen (seeing default login screen without login window) then it goes grey for a few secs then i can see my desktop and also it takes a while to show the desktop icons,plank,conky. Also when i launch steam for example it's taking ages. When i launch firefox for first time on a certain session also it takes about 5-6 secs in fact runing all programs as first time is a session takes too long(including thuner,firefox,steam and etc)

         17.933s updatedb.service
          7.860s ModemManager.service
          5.915s udisks2.service
          5.036s dev-sda3.device
          4.782s polkit.service
          4.134s accounts-daemon.service
          3.815s upower.service
          2.256s systemd-logind.service
          2.246s grub-boot-indeterminate.service
          2.224s NetworkManager.service
          1.697s systemd-journal-flush.service
          1.304s systemd-tmpfiles-setup-dev.service
          1.269s systemd-vconsole-setup.service
          1.217s boot-efi.mount
          1.207s systemd-udevd.service
          1.101s systemd-fsck@dev-disk-by\x2duuid-90BB\x2d5F80.service
          1.003s tlp.service
           824ms systemd-rfkill.service
           715ms systemd-fsck@dev-disk-by\x2duuid-d13364f7\x2de6d1\x2d485c\x2db>
           665ms systemd-modules-load.service
           592ms systemd-tmpfiles-clean.service
           477ms lightdm.service
           406ms plymouth-start.service
           359ms systemd-binfmt.service
           352ms wpa_supplicant.service
           327ms systemd-journald.service
           291ms systemd-random-seed.service
           289ms systemd-backlight@backlight:intel_backlight.service
           287ms org.cups.cupsd.service
           276ms dev-disk-by\x2duuid-53234b64\x2df4a3\x2d4779\x2d954c\x2d58af21>
           221ms user@1000.service
           220ms systemd-tmpfiles-setup.service
           219ms run-media-mohammad-d13364f7\x2de6d1\x2d485c\x2dbc5d\x2dfc70b39>
           199ms sys-kernel-debug.mount
           186ms systemd-udev-trigger.service
           177ms systemd-sysctl.service
           138ms plymouth-quit-wait.service
           133ms plymouth-quit.service
           123ms kmod-static-nodes.service
           120ms haveged.service
            98ms dev-hugepages.mount
            89ms plymouth-read-write.service
            85ms systemd-update-utmp.service
            64ms rtkit-daemon.service
            63ms tmp.mount
            53ms systemd-user-sessions.service
            49ms user-runtime-dir@1000.service
            34ms sys-kernel-config.mount
            24ms systemd-remount-fs.service
            13ms sys-fs-fuse-connections.mount
             9ms dev-mqueue.mount
             1ms proc-sys-fs-binfmt_misc.mount

and

Startup finished in 6.666s (firmware) + 2.146s (loader) + 3.650s (kernel) + 21.036s (userspace) = 33.499s 
graphical.target reached after 19.715s in userspace

System:
  Host: mohammad-pc Kernel: 4.19.42-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.3.0 Desktop: Xfce 4.13.3git-dc69f6 tk: Gtk 3.24.8 
  info: xfce4-panel, plank wm: xfwm4 dm: LightDM 1.28.0 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: ASUSTeK product: P2540UV v: 1.0 serial: <filter> 
  Mobo: ASUSTeK model: P2540UV v: 1.0 serial: <filter> UEFI: ASUSTeK 
  v: P2540UV.302 date: 11/28/2016 
Battery:
  ID-1: BAT0 charge: 48.8 Wh condition: 62.5/72.4 Wh (86%) volts: 10.8/10.8 
  model: ASUSTeK ASUS Battery type: Li-ion serial: <filter> 
  status: Discharging cycles: 341 
CPU:
  Topology: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP 
  arch: Kaby Lake rev: 9 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 23240 
  Speed: 2900 MHz min/max: 400/3500 MHz Core speeds (MHz): 1: 2900 2: 2907 
  3: 2900 4: 2900 
Graphics:
  Device-1: Intel HD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:5916 
  Device-2: NVIDIA GM108M [GeForce 920MX] driver: N/A bus ID: 01:00.0 
  chip ID: 10de:134f 
  Display: x11 server: X.Org 1.20.4 driver: intel resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) 
  v: 4.5 Mesa 19.0.4 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9d71 
  Sound Server: ALSA v: k4.19.42-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8168 v: 8.047.01-NAPI port: d000 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: enp2s0 state: down mac: <filter> 
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter 
  vendor: AzureWave driver: ath10k_pci v: kernel port: d000 bus ID: 03:00.0 
  chip ID: 168c:0042 
  IF: wlp3s0 state: up mac: <filter> 
  IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter> 
  IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 639.61 GiB (68.7%) 
  ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS541010A7E630 
  size: 931.51 GiB speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> 
  rev: A4H0 scheme: GPT 
Partition:
  ID-1: / size: 28.71 GiB used: 20.67 GiB (72.0%) fs: ext4 dev: /dev/sda3 
  ID-2: swap-1 size: 3.91 GiB used: 15.6 MiB (0.4%) fs: swap dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 200 Uptime: 9h 52m Memory: 11.61 GiB used: 1.75 GiB (15.0%) 
  Init: systemd v: 242 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.7 
  running in: xfce4-terminal inxi: 3.0.34 

Did this just start?

How long have you had the system installed?

Have you tested other kernels?

This is system service for updating your mlocate database. It will take some time the first time it runs.

Be patient.

If it's running on every boot then you have another issue (e.g. you're not letting it complete).

This isn't a very quick disk so an intensive indexing service will slow down IO for other processes.

2 Likes

yes i have tried other kernels, it wouldn't any different

1 Like

what should i do?

What do you mean?

If you want to be able to use locate then you don't do anything. You can reschedule the service to run at a time your PC is powered on so it doesn't trigger every boot.

Another option would be to disable the service and update your mlocate database manually.

Otherwise, you can remove mlocate and the service won't run again.

Have you checked your CPU and Ram Usage?

1 Like

how about slow runing applications such as firefox and steam?

If updatedb is still running then your disk will still be heavily used. You may also have other applications running in the background.

To check what's actively using your disk, install iotop and run it with sudo iotop.

I check it in conky, it wouldn't increase too much

I disabled updatedb

any thread about firefox and steam?

Perhaps this is a language issue. Unfortunately that statement is not helpful.

Have you installed iotop and htop to view you disk, ram, and cpu utilization statistics. We need to know what is using your system resources.

I am sorry about my poor english
yes i have check that. cpu and ram utilization statistics is not much

Yo, hi.

Have you checked this article :
https://wiki.archlinux.org/index.php/Improving_performance ?

Which kernel do you use ?

You said you switched kernels, so which versions have you tested ?
Have you checked the grub conf ?
How much RAM do you have ? If it is more than 4 GB you can use it to improve the performance as well.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by Bytemark