From nobody Wed Nov 23 13:13:27 2022 X-Original-To: freebsd-current@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 4NHM5D1fJMz4hMjY for ; Wed, 23 Nov 2022 13:13:36 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smarthost1.sentex.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NHM5C6P9Yz4X6R for ; Wed, 23 Nov 2022 13:13:35 +0000 (UTC) (envelope-from mike@sentex.net) Authentication-Results: mx1.freebsd.org; none Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.16.1/8.16.1) with ESMTPS id 2ANDDSxX067449 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 23 Nov 2022 08:13:28 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4:c0b6:89d8:b838:d5de] ([IPv6:2607:f3e0:0:4:c0b6:89d8:b838:d5de]) by pyroxene2a.sentex.ca (8.16.1/8.15.2) with ESMTPS id 2ANDDRUV036646 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Wed, 23 Nov 2022 08:13:28 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <1513f368-bdec-7c93-7c58-c23c5f594f01@sentex.net> Date: Wed, 23 Nov 2022 08:13:27 -0500 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: ULE realtime scheduler advice needed Content-Language: en-US To: Tomoaki AOKI , Hans Petter Selasky Cc: FreeBSD Current References: <7ad10a5e-29d6-aaef-25cf-407d65f056cc@selasky.org> <8d8c4b03-323a-8e4d-44fd-e47749d2fd85@sentex.net> <1a404155-4ca9-4e88-4c40-5407c2ae52a9@selasky.org> <20221123070014.71f5cc4f1d86cb4d4c0f6bf6@dec.sakura.ne.jp> From: mike tancsa In-Reply-To: <20221123070014.71f5cc4f1d86cb4d4c0f6bf6@dec.sakura.ne.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 64.7.153.18 X-Rspamd-Queue-Id: 4NHM5C6P9Yz4X6R X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 11/22/2022 5:00 PM, Tomoaki AOKI wrote: > A long shot, but I am curious if by chance you have hwpstate_intel for >>> your cpu frequency driver. If so, does setting >>> dev.hwpstate_intel.0.epp=0 make any difference ? >>> >> Yes, I have four of those, set to 50 by default. Let me try. >> >> --HPS > FYI: I habitally run below manually (as root) when I'm on AC powerline. > > sysctl -aN | fgrep dev.hwpstate | fgrep epp | while read OID ; do ; \ > sysctl ${OID}=0 ; done It was a bit of a POLA the first time I encountered this driver going from 12 to RELENG_13. Same hardware behaved rather differently as its a different power profile default than what I expected and for my use case (firewall and router) it was causing dropped packets     ---Mike