From owner-freebsd-current@freebsd.org Tue Mar 23 11:09:25 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D24A5AABC7 for ; Tue, 23 Mar 2021 11:09:25 +0000 (UTC) (envelope-from SRS0=azZgrK=IV=codenetworks.net=sm@eigbox.net) Received: from bosmailout09.eigbox.net (bosmailout09.eigbox.net [66.96.189.9]) (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 4F4TCS4pGDz4hZS for ; Tue, 23 Mar 2021 11:09:24 +0000 (UTC) (envelope-from SRS0=azZgrK=IV=codenetworks.net=sm@eigbox.net) Received: from bosmailscan04.eigbox.net ([10.20.15.4]) by bosmailout09.eigbox.net with esmtp (Exim) id 1lOeuZ-0004Zz-Lz for freebsd-current@freebsd.org; Tue, 23 Mar 2021 07:09:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codenetworks.net; s=dkim; h=Sender:Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Reply-To: Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KM0wCvEubhhsua/DWjLaR2r1vo89MLRXMkdJoGdxC8Q=; b=o/jSbbMvDzmbTEUhnnnZgKK6LQ z18CtV0G86y8wC+jjkvCSr4wpYBZxlIV85ULX7CRj19Tu/A1afAcxPwUoq9BZMaK7a2ro5ZMK01gR 9fEqTUSjVrvF5GhLI2m+wZ07NLrIo/uWLuMJkI4cRC8WWiiL3MmwjHUEIywqSIui6TsWEo1S6jQKm K4jmrZnICgpUq37SakNwmDjOxhyf4SvrI8zqzHzwio46jDX6e6UzHklvT0PM2HCFdy0FySEjnmMY3 /GbBsYUArkpvw6ABf9jfKkDsexrlK8J2sKiEtol6Qqj06Hz03n+97fnIzN1Q47UcIVE3OvOC94Jyj VgzOsdBg==; Received: from [10.115.3.33] (helo=bosimpout13) by bosmailscan04.eigbox.net with esmtp (Exim) id 1lOeuY-0008QA-Ur for freebsd-current@freebsd.org; Tue, 23 Mar 2021 07:09:22 -0400 Received: from bosauthsmtp15.yourhostingaccount.com ([10.20.18.15]) by bosimpout13 with id jn9K2400F0KWaAJ01n9NnR; Tue, 23 Mar 2021 07:09:22 -0400 X-Authority-Analysis: v=2.3 cv=RNUo47q+ c=1 sm=1 tr=0 a=6thTdk0GfRoQwv0zj4iWMg==:117 a=Q8lLzpqWiUYMAFMncj8R3w==:17 a=IkcTkHD0fZMA:10 a=dESyimp9J3IA:10 a=zW0gRWPTQUEA:10 a=UbFPy3XDELYMroiKigQA:9 a=QEXdDO2ut3YA:10 Received: from [5.159.171.182] (port=49981 helo=[192.168.4.100]) by bosauthsmtp15.eigbox.net with esmtpa (Exim) id 1lOeuV-00029L-Op for freebsd-current@freebsd.org; Tue, 23 Mar 2021 07:09:19 -0400 Subject: Re: freebsd 13 ryzen micro stutter To: freebsd-current@freebsd.org References: <20210323101146.18c9a969@bsd64.grem.de> From: Santiago Martinez Message-ID: Date: Tue, 23 Mar 2021 11:09:17 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EN-UserInfo: d3bdfab0736480cedf04ed92aaea2ef5:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: sm@codenetworks.net Sender: Santiago Martinez X-EN-OrigIP: 5.159.171.182 X-EN-OrigHost: unknown X-Rspamd-Queue-Id: 4F4TCS4pGDz4hZS X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=codenetworks.net header.s=dkim header.b=o/jSbbMv; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=azZgrK=IV=codenetworks.net=sm@eigbox.net designates 66.96.189.9 as permitted sender) smtp.mailfrom=SRS0=azZgrK=IV=codenetworks.net=sm@eigbox.net X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.96.128.0/18]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[codenetworks.net:~]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[sm@codenetworks.net,SRS0=azZgrK=IV=codenetworks.net=sm@eigbox.net]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.96.189.9:from]; ASN(0.00)[asn:29873, ipnet:66.96.128.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[sm@codenetworks.net,SRS0=azZgrK=IV=codenetworks.net=sm@eigbox.net]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[codenetworks.net: no valid DMARC record]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.96.189.9:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[66.96.189.9:from]; R_DKIM_PERMFAIL(0.00)[codenetworks.net:s=dkim]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.96.189.9:from]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 11:09:25 -0000 This also work great on my ryzen7, still don't understand why... The difference is quite noticeable, no more micro stutter, that i was used to it ( i have tried changing most parameter on sched but not the steal). Can somebody with understanding on ULE explain (in human language) why this make such a difference even when the cpu are without any load... Thanks in advance. Santi On 3/23/21 9:34 AM, myfreeweb wrote: > sysctl kern.sched.steal_thresh=1