Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Apr 2021 05:22:40 +0000
From:      Poul-Henning Kamp <phk@phk.freebsd.dk>
To:        current@freebsd.org
Subject:   console getty uses 1.5% of CPU
Message-ID:  <69119.1617772960@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help
I have two 12.2-R systems where the serial console is attached to a termin=
al server.

When there are no TCP connections to the terminal server, getty soaks up 1=
.5% of the
CPU in the kernel (sleeping in "ttyin"), ktrace shows no system calls.

When a TCP connection is made to the terminal server, which raises the mod=
em-handshake
on the DE-9 connector, the CPU usage stops.

Anybody else seeing something like this ?

-- =

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence=
.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69119.1617772960>