[Freezing/Lagging] 终端卡顿,访问共享文件夹卡顿,比如输入sudo会卡好长时间
Tofloor
poster avatar
stone2020
deepin
2022-08-04 17:57
Author

sudo 卡顿时间太长,能不能优化一下。另外桌面也是很卡顿,比如我通过samb 访问其他共享文件夹,文件内容很大,很多,350GB 左右,导致卡顿,不得不重启才能恢复。一个任务卡死不应该影响我桌面其他程序吧,但是现在非常影响。

Reply Favorite View the author
All Replies
babyfengfjx
Super Moderator
CQA
2022-08-04 18:00
#1

可以输出一下配置信息,终端执行如下命令提供截图:sudo apt install inxi -y && inxi -F

Reply View the author
deepin-superuser
deepin
2022-08-04 18:01
#2

https://bbs.deepin.org/post/235656?postId=1325554

Reply View the author
stone2020
deepin
2022-08-04 18:01
#3

另外文件系统卡顿,比如弹出大容量U盘,SD卡等,会导致文件系统无法工作,卡很长时间。

Reply View the author
stone2020
deepin
2022-08-04 18:03
#4
babyfengfjx

可以输出一下配置信息,终端执行如下命令提供截图:sudo apt install inxi -y && inxi -F

image.png

Reply View the author
stone2020
deepin
2022-08-04 18:05
#5
stone2020

image.png

不是每次都会输入sudo 卡,某段时间卡,某段又不卡,而且时间随机

Reply View the author
云的眼泪
deepin
2022-08-04 20:25
#6

像这种配置较高的电脑,最好使用高版本内核

你的电脑内核还是5.10.101,升级到5.15以上试试 。

Reply View the author
公子独白
deepin
2022-08-04 22:07
#7

sudo慢是因为没有在/etc/hosts文件中添加hostname,自己把hostname加进去就好

截图_选择区域_20220804140726.png

Reply View the author
stone2020
deepin
2022-08-18 17:19
#8
云的眼泪

像这种配置较高的电脑,最好使用高版本内核

你的电脑内核还是5.10.101,升级到5.15以上试试 。

咋升级呀

Reply View the author
云的眼泪
deepin
2022-08-18 17:27
#9
stone2020

咋升级呀

linux5.15内核安装:sudo apt install linux-image-deepin-stable-amd64 linux-headers-deepin-stable-amd64

linux5.17内核安装:sudo apt install linux-image-deepin-experiment-amd64 linux-headers-deepin-experiment-amd64

升级内核可能导致不兼容而无法启动,如果出现这个情况,在启动菜单中选择高级,选择低版本内核启动。

Reply View the author
stone2020
deepin
2022-08-18 17:29
#10
云的眼泪

linux5.15内核安装:sudo apt install linux-image-deepin-stable-amd64 linux-headers-deepin-stable-amd64

linux5.17内核安装:sudo apt install linux-image-deepin-experiment-amd64 linux-headers-deepin-experiment-amd64

升级内核可能导致不兼容而无法启动,如果出现这个情况,在启动菜单中选择高级,选择低版本内核启动。

好的我先试试,但是感觉跟网络或者桌面相关操作时,deepin明显卡顿,导致好多操作不成功

Reply View the author
stone2020
deepin
2022-09-01 16:59
#11
公子独白

sudo慢是因为没有在/etc/hosts文件中添加hostname,自己把hostname加进去就好

截图_选择区域_20220804140726.png

添加完这个确实 sudo 的执行速度明显快了。

Reply View the author