Re: Painfully slow compilation (read: "make buildworld buildkernel") on not-so-weak system

From: Waitman Gobble <waitman_at_waitman.net>
Date: Sat, 08 Dec 2018 12:48:38 +0000
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, December 8, 2018 8:18 AM, Lev Serebryakov <lev_at_FreeBSD.org> wrote:

> Hello Lev,
>
> Saturday, December 8, 2018, 2:13:03 PM, you wrote:
>
> > Another strange thing I noticed: when system is in such state, "top -SH"
> > shows that sometimes very low-profile processes, like clock software
> > interrupt (!) could consume large amount of CPU for short periods time. When
> > system is idle there never will be "intr{swi4: clock (0)}" consuming 55% CPU
> > for one "frame" or sshd, or screen itself.
>
> Like this. This system doesn't have any significant network traffic now —
> only one ssh connection, which is used as console. And 62.3% for network
> card. WTF?!
>
> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
> 20128 root 101 0 104M 74M CPU1 1 0:31 100.00% cc
> 0 root -76 - 0 4608K - 2 53:25 62.23% kernel{if_config_tqg_0}
> 11 root -60 - 0 240K WAIT 0 25:45 24.89% intr{swi4: clock (0)}
> 9 root -8 - 0 160K tx->tx 0 7:38 24.88% zfskern{txg_thread_enter}
>
> 995 root 24 0 17M 7676K select 1 2:20 12.44% sendmail
> 13791 root 24 0 24M 15M select 0 0:04 12.44% make
>
>
> ---------------------------------------------------------------------------------------------------------
>
> Best regards,
> Lev mailto:lev_at_FreeBSD.org
>
> freebsd-hackers_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe_at_freebsd.org"

I had super slow build for r341270, but I thought it was because I accidentally left WITNESS option set.

I killed it after about 10 hours, booted to single user and rebuilt kernel there.

Waitman
Received on Sat Dec 08 2018 - 11:48:57 UTC

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