Re: Expensive memory.stat + cpu.stat reads

From: Ivan Babrou
Date: Fri Jul 14 2023 - 20:14:37 EST


On Mon, Jul 10, 2023 at 4:21 PM Ivan Babrou <ivan@xxxxxxxxxxxxxx> wrote:
> The fast one is v6.1.37 and the slow one is v6.1.25. I'm not sure if
> the kernel version makes a difference or if it's a matter of uptime /
> traffic profile. The data is from two different locations. The fast
> location has gone through an expansion, which meant a full reboot with
> a kernel upgrade, so maybe that affected things:
>
> * https://i.imgur.com/x8uyMaF.png
>
> Let me try to reboot the slow location and see if there's any lasting
> improvement.

There is no correlation with the kernel version, v6.1.38 is slow too:

completed: 23.09s [manual / cpu-stat + mem-stat]
completed: 0.30s [manual / mem-stat]
completed: 0.64s [manual / cpu-stat]