Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2020 22:17:36 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Wojciech Puchar <wojtek@puchar.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: displaying total CPU usage
Message-ID:  <1b80bb1c-60ca-0b14-403f-a8e1a9d16f0b@grosbein.net>
In-Reply-To: <alpine.BSF.2.20.2010251453160.79464@puchar.net>
References:  <alpine.BSF.2.20.2010231301550.3469@puchar.net> <20201023112030.GF1427@albert.catwhisker.org> <20201023114557.GX2643@kib.kiev.ua> <alpine.BSF.2.20.2010240957330.29620@puchar.net> <2eb77b40-99a5-c4cf-3df4-ceead23ad218@grosbein.net> <alpine.BSF.2.20.2010251453160.79464@puchar.net>

next in thread | previous in thread | raw e-mail | index | archive | help
25.10.2020 20:53, Wojciech Puchar wrote:
>>>>
>>>> `vmstat 1' readily provides the measurements.
>>
>> Please note that for multi-core CPU averaging might yield misleading results
>> indicating lots of available/under-loaded CPU power when one of cores it already 100% bound.
> not in a case of mostly userland load without any pinning.

In that case, too. Absense of pinning for CPU-hungry single-threaded process does not allow it
to utilize power of multiple cores and you still may get 50% load for 2-core system
but no free CPU cycles for such process.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b80bb1c-60ca-0b14-403f-a8e1a9d16f0b>