boot during long time

HiFor me long time, boot timesystemd-analyze

Startup finished in 17.763s (firmware) + 3.768s (loader) + 6.707s (kernel) + 16.503s (initrd) + 2min 7.064s (userspace) = 2min 51.806s graphical.target reached after 2min 7.054s in userspace

systemd-analyze blame

systemd-analyze  blame    1min 43.454s mlocate.service    1min 30.057s nmb.service         26.777s mandb.service         14.702s firewalld.service         13.898s lvm2-monitor.service         13.328s dracut-initqueue.service         12.626s apparmor.service         11.762s systemd-cryptsetup@cr_ata\x2dST1000LM024_HN\x2dM101MBB_S31LJ9EDC04>          9.282s upower.service          8.095s ModemManager.service          6.832s btrfsmaintenance-refresh.service          5.922s udisks2.service          5.237s initrd-switch-root.service          5.073s systemd-rfkill.service          4.669s nscd.service          4.657s avahi-daemon.service          4.616s kbdsettings.service          4.586s logrotate.service          4.570s sound-extra.service          4.570s display-manager.service          4.447s postfix.service          3.736s plymouth-quit-wait.service          3.612s systemd-udevd.service          3.489s lvm2-pvscan@254:0.service          3.140s systemd-journal-flush.service          2.530s wpa_supplicant.service

how to disable “mlocate.service”?how to optimizer “nmb.service”?how to optimizer time boot and disable unnecessary services?Thanks

I doubt that those services are a particular problem.

You can use the services manager (from Yast) to disable services (or set them to manual start instead of automatic start). But use caution – try to avoid disabling essential services.

Thank you
can i disable nbm service?
If I disable the nmb service, Having trouble when booting?

I see it is Samba related. So if you use Samba…

I don’t think that would affect booting – unless you are automatically mounting a samba share.