Slow updates and shutdown delay

Hi
I just installed manjaro kde
Now I got some issues:
1- very slow shut down time(almost 7 minutes). I include all the images of my shutting down below
2- too slow update download speed (only with wifi, not when I hotspot my 4g network)
But the main one is number 1
It really annoys me
Thank you all in advance

20200403_025834

20200403_030112

20200403_030410

20200403_030555

First take a look at this so you can provide better info:

How to provide good information in your posts

The updates thing is probably mirrors.

https://wiki.manjaro.org/index.php?title=Pacman-mirrors#Use

oh right
this is the output of iinxi -Fxxxza --no-host

System:
  Kernel: 5.4.23-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.1 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=96a0b878-81c6-4185-a7dc-35203f8f78f0 rw quiet apparmor=1 
  security=apparmor resume=UUID=9455bd93-79ea-45ef-86ab-3398c5e8844e 
  udev.log_priority=3 
  Desktop: KDE Plasma 5.17.5 tk: Qt 5.14.1 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: LENOVO product: 81DE v: Lenovo ideapad 330-15IKB 
  serial: <filter> Chassis: type: 10 v: Lenovo ideapad 330-15IKB 
  serial: <filter> 
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <filter> UEFI: LENOVO 
  v: 8TCN53WW date: 05/17/2019 
Battery:
  ID-1: BAT0 charge: 12.9 Wh condition: 26.1/30.0 Wh (87%) volts: 7.5/7.6 
  model: LGC L17L2PF1 type: Li-poly serial: <filter> status: Discharging 
CPU:
  Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP 
  arch: Kaby Lake family: 6 model-id: 8E (142) stepping: A (10) 
  microcode: CA L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 32012 
  Speed: 800 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, 
  SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:5917 
  Device-2: NVIDIA GP108M [GeForce MX150] vendor: Lenovo driver: nouveau 
  v: kernel bus ID: 01:00.0 chip ID: 10de:1d10 
  Display: x11 server: X.Org 1.20.7 driver: intel,nouveau 
  unloaded: modesetting alternate: fbdev,nv,vesa compositor: kwin_x11 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) 
  v: 4.6 Mesa 19.3.4 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9d71 
  Sound Server: ALSA v: k5.4.23-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 3000 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: Lenovo driver: ath10k_pci v: kernel port: 3000 bus ID: 03:00.0 
  chip ID: 168c:0042 
  IF: wlp3s0 state: up mac: <filter> 
  Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-7:3 
  chip ID: 0cf3:e500 
Drives:
  Local Storage: total: 1.82 TiB used: 8.63 GiB (0.5%) 
  ID-1: /dev/sda vendor: Seagate model: ST2000LM007-1R8174 size: 1.82 TiB 
  block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: LDM2 scheme: GPT 
Partition:
  ID-1: / raw size: 1.80 TiB size: 1.77 TiB (98.38%) 
  used: 8.63 GiB (0.5%) fs: ext4 dev: /dev/sda2 
  ID-2: swap-1 size: 17.11 GiB used: 0 KiB (0.0%) fs: swap 
  swappiness: 60 (default) cache pressure: 100 (default) dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 210 Uptime: 21m Memory: 15.55 GiB used: 1.45 GiB (9.3%) 
  Init: systemd v: 242 Compilers: gcc: 9.2.1 Shell: bash v: 5.0.16 
  running in: konsole inxi: 3.0.37

The output of $ sudo dmesg was too long I can't copy it
So was the output of $ sudo journalctl

Doesn't look like you're up to date
sudo pacman -Syyu

It was getting stuck on sddm on shutdown so look for that.
sudo journalctl | grep sddm

Update first.

Yes you're right
I'm downloading the updates now
but it's too slow
20kib/s

Check your internet connection and update mirror list
sudo pacman-mirrors -f5 && sudo pacman -Syyu

If that is not your normal internet speed and you have not experienced not such a slow connection when you were surfing, you might wanna retry after rebuilding your mirror config.
You can rebuild the mirrors with
sudo pacman-mirrors --geoip to use your country for geolocation or with
sudo pacman-mirrors --continent to use your continent for it.
The you could try again.

Thank you
I ran it but nothing happened
It's still around 20kib/s

Thank you
Isn't there something like main server?

edit: I'm using my 4g network, so it's not normal :sweat_smile:

Mirrors all over the world.

You might have to sleep on it. Can't really do much until you're up to date. And the update might just fix the problem if you're lucky.

If you're using a mobile hotspot you could try USB tethering instead, or vice-versa.

I disconnect and reconnect my network and re run your command
Now it's ok
1 or 2mib/s :slight_smile:
So I'm waiting until the update is done
by the way, sorry for my English I'm not native

1 Like

Eventually the update completed
Now I should restart?
Or do something else to check if my issues are still there or not?

You should do a restart.
Because currently you are still running the old versions.
Then if the issue persists we will try to diagnose further. If it doesn't persist..... all is well?

1 Like

Thank you so much:)
Ok I do a restart and reach you out if the issue persists

Unfortunately it still exists
first of all, it passed that A stop job is running for Simple Desktop Display Manager faster than before
But it took the same time on the others
and finally I get a really WEIRD error
I get this:

VideoCapture_20200403-044540

The weird part is that I get this error everytime I restart/power on my laptop
For a more detailed explanation:
1- I turn on the laptop
2- I got this error
3- Laptop will be turned off
4- Laptop will be turned on automatically
5- No error anymore!!!!!

Ok i have to admit I'm really confused now

edit: I googled it and found out it was an issue in BIOS. So i guess it's ok now
But the very slow shutting down time exists

The issue is that using -f5 will just ping 5 mirrors at random .. they might all be slow or far etc.
Please see the wiki page I linked in the first response.
To for example scan and sort all mirrors globally (and do the required sync and update)

sudo pacman-mirrors -f && sudo pacman -Syyu
2 Likes

Forum kindly sponsored by