From owner-freebsd-current@freebsd.org Mon Apr 5 09:26:02 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 D8F715B028D for ; Mon, 5 Apr 2021 09:26:02 +0000 (UTC) (envelope-from SRS0=IAa3V9=JC=codenetworks.net=sm@eigbox.net) Received: from bosmailout07.eigbox.net (bosmailout07.eigbox.net [66.96.190.7]) (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 4FDQJ92bsQz3kv0 for ; Mon, 5 Apr 2021 09:26:01 +0000 (UTC) (envelope-from SRS0=IAa3V9=JC=codenetworks.net=sm@eigbox.net) Received: from bosmailscan08.eigbox.net ([10.20.15.8]) by bosmailout07.eigbox.net with esmtp (Exim) id 1lTLUe-0000fP-Bx for freebsd-current@freebsd.org; Mon, 05 Apr 2021 05:26:00 -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:Cc:To:Subject: Reply-To: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=EWwvBXVLVUHzOU/0tpSCk9Jr6x5uDpY/rHrIC76GCog=; b=fnINgHYlM2gd4JyyKZgr8NEobP uYDWWnJ8838oVCXnrBTPuqcU2HM9PrS9DJEwKMYkQirCKi9okBxvnLV34c4QBGzDSR0xv6k55K5EU R5JDZ4M6gsE9HcKG2jiekTytofU8qzZLskNCcZFun8O2DvZM9DXFOHtvS7ftNxjsxQB/lrQWbvKLJ cPH5eVcR4KJv7U02Iz0WBC5khEkUBX/NHIwDY5HHZYpQmYaehWMOZORJc1Hf/JCWQdiLfGV/aMzOL VTCZ1PEn5CwY4UQKctrSMBlSumbhu8DcapjYlSAC+pmDZp+CXK61hNsYB3KV/UC5usm+fRfS+5OBO gersdCcw==; Received: from [10.115.3.33] (helo=bosimpout13) by bosmailscan08.eigbox.net with esmtp (Exim) id 1lTLUe-0007Uo-2x for freebsd-current@freebsd.org; Mon, 05 Apr 2021 05:26:00 -0400 Received: from bosauthsmtp11.yourhostingaccount.com ([10.20.18.11]) by bosimpout13 with id oxRw2400E0EKspE01xRzR3; Mon, 05 Apr 2021 05:26:00 -0400 X-Authority-Analysis: v=2.3 cv=RNUo47q+ c=1 sm=1 tr=0 a=anyYG9rjTBM1sAjEBQ8Cew==:117 a=Q8lLzpqWiUYMAFMncj8R3w==:17 a=IkcTkHD0fZMA:10 a=3YhXtTcJ-WEA:10 a=zW0gRWPTQUEA:10 a=6I5d2MoRAAAA:8 a=87I54Rs3YfPGtR-vx8wA:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 Received: from [5.159.171.182] (port=10328 helo=[192.168.4.100]) by bosauthsmtp11.eigbox.net with esmtpa (Exim) id 1lTLUa-0005qB-NN; Mon, 05 Apr 2021 05:25:56 -0400 Subject: Re: freebsd 13 ryzen micro stutter To: Alastair Hogge , Hans Petter Selasky Cc: freebsd-current@freebsd.org References: <20210323101146.18c9a969@bsd64.grem.de> <677da81d7af9781be6b46c7cba4efd05@riseup.net> <54768f44-c110-d58a-1e7b-61843cde754e@codenetworks.net> <9638abfe-fd9e-6855-b3c7-ee796d1c5ce5@codenetworks.net> <2a4dad60-f1b8-8d48-337a-d23893a84f04@selasky.org> From: Santiago Martinez Message-ID: Date: Sun, 4 Apr 2021 20:41:03 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: 4FDQJ92bsQz3kv0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=codenetworks.net header.s=dkim header.b=fnINgHYl; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=IAa3V9=JC=codenetworks.net=sm@eigbox.net designates 66.96.190.7 as permitted sender) smtp.mailfrom=SRS0=IAa3V9=JC=codenetworks.net=sm@eigbox.net X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.96.128.0/18]; DKIM_TRACE(0.00)[codenetworks.net:~]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[sm@codenetworks.net,SRS0=IAa3V9=JC=codenetworks.net=sm@eigbox.net]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.96.190.7: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=IAa3V9=JC=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)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[codenetworks.net: no valid DMARC record]; SPAMHAUS_ZRD(0.00)[66.96.190.7:from:127.0.2.255]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.96.190.7:from]; R_DKIM_PERMFAIL(0.00)[codenetworks.net:s=dkim]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.96.190.7: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: Mon, 05 Apr 2021 09:26:03 -0000 Hi Alastair and Hans,  I just realized that my email went out blank. i did some further testing with the mentioned patch and I still have stutter, less often but more pronounced. I went back an set "kern.sched.steal_thresh=1" and that completely clears it, and machine works more smoothly. Santi On 3/31/21 10:35 AM, Alastair Hogge wrote: > On 2021-03-28 16:09, Hans Petter Selasky wrote: >> On 3/27/21 11:54 AM, Santiago Martinez wrote: >>> Hi, i have the same output as @Nils B. If i run with steal =2 and dtrace the micro stutter doesn't happen but as soon as i stop the dtrace script it the stutters come back again. >>> >> Here is a patch which you can try. Not sure if it helps. >> https://reviews.freebsd.org/D29467 > Thanks Hans, this reduces jitter somewhat, but it still noticeable in > Quake2. I left kern.sched.steal_thresh at 1. > > To good health, > Alastair. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"