Wednesday, June 30, 2021

Re: Source of the spin

On Wed, Jun 30, 2021 at 4:15 AM Stuart Henderson <stu@spacehopper.org> wrote:
>
> On 2021-06-29, Sven F. <sven.falempin@gmail.com> wrote:
> > Dear readers,
> >
> > I probably did something silly again,
> > Could you help with a bit of knowledge around performance ?
> > My openbsd CPU (6.8) is spinning a lot :
> >
> > 0.0%Int 53.1%Spn 25.8%Sys 19.6%Usr 1.4%Idle
> >
> > * Is this bad ?
> > * What kind of basic operation ( like basic shell scripting ) could do that ? ?
> >
> > Thank you,
> >
>
> This means the kernel is spending a lot of time waiting for other CPUs
> to exit locked sections.
>
> First things first, try 6.9, the malloc cache implementation changed
> and that may help.
>
>

Thank you,

Can I use ktrace to check where the lock comes from ( can't really put
6.9 easily to test ) ?
Will try to get 6.9 anyway, but it would be either to know what i need to test.


--
--
---------------------------------------------------------------------------------------------------------------------
Knowing is not enough; we must apply. Willing is not enough; we must do

No comments:

Post a Comment