• 社区首页
  • 版块
[改进建议] load average 值是不是偏高?
桌面家庭版211次浏览 ·8个回复
电梯直达到第
东八泰
uos^2
发表于2023-06-19 01:19
楼主

家庭版V22版本(内核 5.10.0),load average 1分钟值怎么几乎都是大于3,我实体机,虚拟机安装了4,5台都是这样,我自己以前从 V21在线升级到V22的版本就不会这种情况;正常空闲情况下,load average应该都会比较小,低于3应该都是很常见;虚拟机安装时我有把内核版本升级到坛里有人分享的6.3.6,load average就会小于 3;不知道是不是跟内核版本有关系;我实体机因为怕驱动适配不兼容,就不想单独升级内核;我也不是纠结于load average,就是怕是不是哪里有不正常的损耗,导致系统做了无用功;

回复收藏只看作者
所有回复
𝓜𝓻.⠀𝓦𝓪𝓲
版主
发表于2023-06-19 16:31
沙发

Are you talking about the “Load average” shown on System Monitor?

────────────────────────────────────────────

           

────────────────────────────────────────────

回复只看作者
东八泰
uos^2
发表于2023-06-20 04:00
板凳
𝓜𝓻.⠀𝓦𝓪𝓲

Are you talking about the “Load average” shown on System Monitor?

────────────────────────────────────────────

           

────────────────────────────────────────────

不是,是命令行 top;

回复只看作者
𝓜𝓻.⠀𝓦𝓪𝓲
版主
发表于2023-06-20 04:55
地板
load average 1分钟值怎么几乎都是大于3

My “load average” is always greater than 3.

 

top - 12:55:07 up  1:07,  1 user,  load average: 4.31, 4.34, 4.26
Tasks: 224 total,   2 running, 222 sleeping,   0 stopped,   0 zombie
回复只看作者
东八泰
uos^2
发表于2023-06-20 08:37
4楼
𝓜𝓻.⠀𝓦𝓪𝓲
load average 1分钟值怎么几乎都是大于3

My “load average” is always greater than 3.

 

top - 12:55:07 up  1:07,  1 user,  load average: 4.31, 4.34, 4.26
Tasks: 224 total,   2 running, 222 sleeping,   0 stopped,   0 zombie

要是内核升级,比如 6.3.6,这个值会少于3的,我有测试过;安装过DeepinV23 Beta版本,同样的配置,空闲时这个值会低于3;我个人判断这种情况是不正常的。这个原因比较复杂,可能是内核,也可能是UOS专有的一些进程或安全工具造成的。我当初从早期版本升级为V22版本(内核也是 5.10.0),空闲时 load average 就比较低;后来用最新镜像重新安装的就出现load average偏高的这种情况;

回复只看作者
𝓜𝓻.⠀𝓦𝓪𝓲
版主
发表于2023-06-20 10:43
5楼

I left UOS idle for a while and got the following results:

────────────────────────────────────────────

────────────────────────────────────────────

回复只看作者
东八泰
uos^2
发表于2023-06-20 11:40
6楼
𝓜𝓻.⠀𝓦𝓪𝓲

I left UOS idle for a while and got the following results:

────────────────────────────────────────────

────────────────────────────────────────────

升级内核(6.1.11-amd64-desktop-hwe);(DeepinV23 Beta 使用的内核);

回复只看作者
𝓜𝓻.⠀𝓦𝓪𝓲
版主
发表于2023-06-20 14:49
7楼

I saw the “load average” fall below 3 for the first time.

────────────────────────────────────────────

────────────────────────────────────────────

 

The CPU usage was low when UOS was idle.

────────────────────────────────────────────

────────────────────────────────────────────

 

Matthew_Wai@My-PC:~$ uname -a
Linux My-PC 5.10.0-amd64-desktop #20.00.52.02-release SMP Wed Jun 8 17:30:51 CST 2022 x86_64 GNU/Linux
Matthew_Wai@My-PC:~$ 
回复只看作者
东八泰
uos^2
发表于2023-06-21 01:02
8楼
𝓜𝓻.⠀𝓦𝓪𝓲

I saw the “load average” fall below 3 for the first time.

────────────────────────────────────────────

────────────────────────────────────────────

 

The CPU usage was low when UOS was idle.

────────────────────────────────────────────

────────────────────────────────────────────

 

Matthew_Wai@My-PC:~$ uname -a
Linux My-PC 5.10.0-amd64-desktop #20.00.52.02-release SMP Wed Jun 8 17:30:51 CST 2022 x86_64 GNU/Linux
Matthew_Wai@My-PC:~$ 

load average 与 CPU 使用率 计算方法是不一样的;

回复只看作者

光荣榜

  • 周榜
  • 月榜
  • 总榜