From nobody Fri Jun 24 14:02:57 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6C84C871B2A for ; Fri, 24 Jun 2022 14:02:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LTzNK1jpMz4jHP for ; Fri, 24 Jun 2022 14:02:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1CD1811530 for ; Fri, 24 Jun 2022 14:02:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25OE2vZv084019 for ; Fri, 24 Jun 2022 14:02:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25OE2vj7084018 for bugs@FreeBSD.org; Fri, 24 Jun 2022 14:02:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264867] kevent EVFILT_TIMER, timer expiration with twice the period Date: Fri, 24 Jun 2022 14:02:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: felice.tufo@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656079377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Fwtu1OqFLcoH+E237775PoQq6KVWhDgi7A9DcbAb6UQ=; b=cOrnIgsz/D1d65Cq1nIobIFzfSiw6iILna6OSc9Lnj4mP5B5X7naslOMiorV37MOL1UXeY 2Z3VrYx4IMmezXQhVO8xcU/KrnAjWFNl/dkhn4voXNIa9P11RfBtz02CgS68Bc5LhHGS37 3GthY+NfkdAGBtpmJ9tDQ1z7EUqFAjh+62czMwPB4mg0D61L5EZ6f79VzCE/tdy01yzpSd 30oEgctExjefq7/jZpFzlbmfrz3jEcrR01V49OmMHbX7nXsgiBtnhXiB1UHO9MQujt+C7I hmdBtfg5VbgXOle9Egrfe6DfpWXm5/gXyj+D0t/Gkp5zgv88T7XGQsV4/Fxjjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656079377; a=rsa-sha256; cv=none; b=bNaINkD74jJi514Jx7DmRzCCzfWdapPFDwFaJfWBW2aUIMGjDBTkw+IwMOqGyZ4H5vMBP0 jiIUWureP6CYBHmBut9ioD9PtVLs0evFItbMTL13Eeo+NiIY00CtSVPjx/O2QyTkSrFd0z Ee3BDueaUURqgbmsXPj/idHB6X4T8pFq573u3UTtJTgUIOjwTqxniz3usoPf77LxTAAaJy U0cO9f0rAMsyVCkf00ljOELIeBaZgZw6VF9Pc1egLdbV7IM5/Oxi51XjeFJiRhQBtxot52 IiE01Bq0BUg/Q/ubX7Zq/1s/4bBJHAhwGoom1MIFmsw28aRkUjNbEfAhGozVPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264867 --- Comment #2 from felice.tufo@gmail.com --- Hi Mark thanks for the answer. The output of the sysctl command is as follows: kern.eventtimer.choice: LAPIC(600) HPET(550) i8254(100) RTC(0) kern.eventtimer.et.i8254.quality: 100 kern.eventtimer.et.i8254.frequency: 1193182 kern.eventtimer.et.i8254.flags: 1 kern.eventtimer.et.RTC.quality: 0 kern.eventtimer.et.RTC.frequency: 32768 kern.eventtimer.et.RTC.flags: 17 kern.eventtimer.et.HPET.quality: 550 kern.eventtimer.et.HPET.frequency: 24000000 kern.eventtimer.et.HPET.flags: 7 kern.eventtimer.et.LAPIC.quality: 600 kern.eventtimer.et.LAPIC.frequency: 2903994335 kern.eventtimer.et.LAPIC.flags: 7 kern.eventtimer.periodic: 0 kern.eventtimer.timer: LAPIC kern.eventtimer.idletick: 0 kern.eventtimer.singlemul: 2 I did not try other systems because the HW cannot be changed (the applicati= on has to work on that industrial pc), but I could run some tests on other sys= tems just to see if it is reproducible also on other platforms. I'm sorry but a test of just few minutes is not enough, I usually let it run for hours; in one run the issue happened after nearly 1 day and half from t= he start. Also, I never tried 14.0-CURRENT, only 12.2 and 13.1. Thanks, Felice --=20 You are receiving this mail because: You are the assignee for the bug.=