From owner-freebsd-stable@freebsd.org Mon Nov 26 13:14:07 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56C1911351BE for ; Mon, 26 Nov 2018 13:14:07 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from umail2.aei.mpg.de (umail2.aei.mpg.de [194.94.224.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 466EE73021 for ; Mon, 26 Nov 2018 13:14:06 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from mailgate.aei.mpg.de (mailgate.aei.mpg.de [194.94.224.5]) by umail2.aei.mpg.de (Postfix) with ESMTP id 3B80E27A7179 for ; Mon, 26 Nov 2018 14:14:04 +0100 (CET) Received: from mailgate.aei.mpg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 2DBF0406ADE for ; Mon, 26 Nov 2018 14:14:04 +0100 (CET) Received: from intranet.aei.uni-hannover.de (ahin1.aei.uni-hannover.de [130.75.117.40]) by mailgate.aei.mpg.de (Postfix) with ESMTP id D75A2406ADB for ; Mon, 26 Nov 2018 14:14:03 +0100 (CET) Received: from arc.aei.uni-hannover.de ([130.75.117.1]) by intranet.aei.uni-hannover.de (IBM Domino Release 9.0.1FP8) with ESMTP id 2018112614140324-353525 ; Mon, 26 Nov 2018 14:14:03 +0100 Date: Mon, 26 Nov 2018 14:14:03 +0100 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: freebsd-stable@freebsd.org Subject: Re: high cpu irq load and slow boot after update from 10.4 to 11.2 Message-Id: <20181126141403.71ff15eb77e55b5e9ce4f79b@aei.mpg.de> In-Reply-To: <007b9007-6abb-15cf-45df-45b3da814e5d@grosbein.net> References: <20181126094648.510fc7f7b773bfdac546d037@aei.mpg.de> <007b9007-6abb-15cf-45df-45b3da814e5d@grosbein.net> Organization: Max Planck Gesellschaft X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on intranet/aei-hannover(Release 9.0.1FP8|February 23, 2017) at 26/11/2018 14:14:03, Serialize by Router on intranet/aei-hannover(Release 9.0.1FP8|February 23, 2017) at 26/11/2018 14:14:03, Serialize complete at 26/11/2018 14:14:03 X-TNEFEvaluated: 1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-PMX-Version: 6.0.2.2308539, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2018.11.26.130616 X-PerlMx-Spam: Gauge=X, Probability=10%, Report=' URI_HOSTNAME_CONTAINS_EQUALS 0.4, HTML_00_01 0.05, HTML_00_10 0.05, MIME_LOWER_CASE 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1800_1899 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, NO_URI_HTTPS 0, REFERENCES 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_SUBJ_PREDICATE 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_WWW 0, __URI_NS ' X-Rspamd-Queue-Id: 466EE73021 X-Spamd-Result: default: False [-2.58 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; DMARC_NA(0.00)[mpg.de]; RCVD_IN_DNSWL_MED(-0.20)[8.224.94.194.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[cached: mailgate2.aei.mpg.de]; NEURAL_HAM_SHORT(-0.81)[-0.814,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:680, ipnet:194.94.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.97)[ipnet: 194.94.0.0/15(-4.71), asn: 680(-0.11), country: DE(-0.01)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2018 13:14:07 -0000 On Mon, 26 Nov 2018 19:34:43 +0700 Eugene Grosbein wrote about Re: high cpu irq load and slow boot after update from 10.4 to 11.2: > > Any ideas? > Maybe this box has some clocking problems incompatible with tickless > kernel. Is there anything I could look out for in dmesg or similar to spot the root cause for this behaviour? The CPUs are Xeon E5606 on a Supermicro X8DTU mainboard. > Try get back to old periodic ticking with sysctl > kern.eventtimer.periodic=1 instead of now default 0. I'll try that as soon as I spot the issue again. > Of, if you are curious, run ntpd if it is not already running, wait > about an hour then look to its /var/db/ntpd.drift file to see if system > clock is good or not. ntpd is always running. Right now it looks ok to me (but the issue is not there, either). root@storage:~ # cat /var/db/ntpd.drift -1.366 > Perhaps, you can get better behaviour changing default value > of kern.timecounter.hardware to another one from kern.timecounter.choice; > same with kern.eventtimer.timer and kern.eventtimer.choice Would that work while I see the issue (i.e., should it make the issue go away then), or should this be set on (re)boot? Which settings would be recommended to try? This is what I have now: --- root@storage:~ # sysctl kern.timecounter.hardware kern.timecounter.hardware: TSC root@storage:~ # sysctl kern.timecounter.choice kern.timecounter.choice: ACPI-safe(850) HPET(950) i8254(0) TSC(1000) dummy(-1000000) root@storage:~ # sysctl kern.eventtimer.timer kern.eventtimer.timer: LAPIC root@storage:~ # sysctl kern.eventtimer.choice kern.eventtimer.choice: LAPIC(600) HPET(350) HPET1(340) HPET2(340) HPET3(340) i8254(100) RTC(0) --- Thanks for your input. cu Gerrit