console getty uses 1.5% of CPU

Slawa Olhovchenkov slw at
Wed Apr 7 14:40:30 UTC 2021

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.

More information about the freebsd-current mailing list