[Seek Help] 系统启动时间长
Tofloor
poster avatar
135******76
deepin
2025-10-25 18:47
Author

各位大佬好

我安装的deepin25版本,系统启动时间较长,查询到是cn.org.linyaps.preloader.service服务耗时长

jx_lihuifu@deepin:~$ systemd-analyze blame --user
33.264s cn.org.linyaps.preloader.service
 5.764s dde-clipboard.service
 2.353s dde-session@x11.service
 2.187s dde-file-manager.service
  884ms plasma-kglobalaccel.service

后查询到/usr/lib/systemd/user/cn.org.linyaps.preloader.service文件中有个配置ExecStartPre=/user/bin/sleep 30s

这个是不是说在启动服务前需要休息30s,为什么要有这个配置,我通过管理员权限也无法修改这个文件,各位大佬知道怎么解决吗?

如何缩短启动时长

image.png

Reply Favorite View the author
All Replies
LiuYongzhang
deepin
2025-10-25 20:26
#1

查询启动时间用这个systemd-analyze critical-chain

image.png

这个服务是 如意玲珑 (Linyaps) 的预加载服务将其设置为延迟启动,避免在系统启动的关键阶段占用资源

主要用于:

  • 在应用启动前预加载资源
  • 提高应用启动速度
  • 优化用户体验
  • 相当于延时启动

想要修改关闭磐石

sudo deepin-immutable-writable enable

这里先要重新启动系统然后再修改

Reply View the author
wcs4221
deepin beta test group
2025-10-26 06:41
#2

说的实在。个人认为好的系统要好装好用,快而而适配应用为首。过多的功能及外观为附?

Reply View the author
zccrs
deepin
2025-10-27 10:18
#3

这个服务的30s是sleep自己,不是sleep系统,理论上不会拖累系统启动速度。

Reply View the author