Re: console getty uses 1.5% of CPU

From: Slawa Olhovchenkov <slw_at_zxy.spb.ru>
Date: Wed, 7 Apr 2021 17:40:24 +0300
On Wed, Apr 07, 2021 at 02:33:57PM +0000, Poul-Henning Kamp wrote:

> > T.e. if all system eat 985 ticks of CPU each second and getty eat 15
> > ticks of CPU each second -- top show 1.5% for getty.
> 
> That may be, but getty should not wake up at all in this situation,
> it should be sleeping, waiting for modem-control signals.


May be some kernel-side ticks counted for getty.
You can try check this by dtrace, I mean.
Snoop scheduler activation and check process accounting.
Received on Wed Apr 07 2021 - 12:40:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC