From nobody Thu Jun 30 09:10:34 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 4541A872360 for ; Thu, 30 Jun 2022 09:10:35 +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 4LYXcC0VhNz3rQk for ; Thu, 30 Jun 2022 09:10:35 +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 E5856234DE for ; Thu, 30 Jun 2022 09:10:34 +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 25U9AYpc025999 for ; Thu, 30 Jun 2022 09:10:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25U9AYdH025998 for bugs@FreeBSD.org; Thu, 30 Jun 2022 09:10:34 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: Thu, 30 Jun 2022 09:10:34 +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=1656580235; 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=lAj/K4d+gP8cVx0HoEV2da/6nGdMK99BdoIyVDYvOUI=; b=rJlpMr5BO5XS60+GtFQqQ6O6mA+C4rCtt+6pzWFT7IUmmcZeckokUU2opS7XYAQfIFyYMn shjFF7SqVEE1xIpOydvNlUcjZ4fy2VoJ3QYL1CCrePN8XVg7LNk7KzEPZBcK6njSkbZfG7 CGnDKJX7mRgxAYHAVfBCI38lC2ZcEhH2AaED9qYqOoBW8qK9bXPjbG6VGlzTL/y2CB+/VP r6ZJV4lDifzjN4yvDd1+7NwYSkZlDG+x1/s83F2XPz61j+1fa2dl2M22MgRsqfb0wAoZHA 1yTVN4aqfjMeRVuYXe5jnNP5Cs84H7pK8mun6sLVxW2bKBVIh+3xgFgLA1VlVw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656580235; a=rsa-sha256; cv=none; b=ycl6FrZmpOkoPvJ6c7/RASpHX3pSWNNP7RmOcE2Z6mhyL5FEnT6ON/pkrQQn+UHnfiSefe wwuFg5OnnP2UZaydVeifVHdRk21tk3/RlUxsglS4m2HOUNkBZM/PvZay+tlQ/3rCrvBshO c7SJHY+7JoI0ASfErqaEzvB+nsZx6OiwibA0UIUasb0z2235CY9KVw0tdKf/r9jXzK2BEo tBSerGqucgs3wwpQa4H7uUm/G85j/ztdYNvqMp9srVUgaHAmDSj786dA++l1pA1g/BB1Nr 8sdSQq7U9eCAL9WVnN9dhhAcqy6Jdc7uVwj8CYPr39I3G5JG8/zyfEKhwcFJ7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264867 --- Comment #7 from felice.tufo@gmail.com --- Hi Mark, unfortunately I have to share the system with other engineers, so = I'll try to run the test with the cpuset command as soon as possibile (hopefully during the weekend). In the meantime I can add some info: - I didn't specify the target cpu when arming a callout, nor when using kev= ent - the original problem fired on a multithreaded program, but only one of the threads was calling kevent(), the others were receiving data on sockets. The program run at priority 0, but not pinned to any cpu. I somehow suspected t= hat multithreading could fire the problem more frequently, so I wrote the multithreaded test program I attached to this bug report, but the original problem fired while a single thread was calling kevent with a 50ms period. --=20 You are receiving this mail because: You are the assignee for the bug.=