From nobody Wed Mar 22 18:31:57 2023 X-Original-To: freebsd-hackers@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 4PhcWh2NhSz418cj for ; Wed, 22 Mar 2023 18:32:00 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PhcWh1vD5z40wp for ; Wed, 22 Mar 2023 18:32:00 +0000 (UTC) (envelope-from mandree@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679509920; 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=lbCCU79BU15m0Y+BGVwjs7gMbn9LWtFQHHhWadk1HNk=; b=T249iH9DMqhWNHcxkKIHyQoQmSDrA4KCtvy5n1cvJDZpgWGHX/IJknsgoQoQYU31gBRBvi +wzkoUKIATG2U2+nLufgGSdt/PVX84Nz/pRp3s2K9tz3H1vzsFM3ot54uM7Q0M7qxJ36ha tSYiR6av4Y57ulrBq26qHHWg1sbG/naj3EG6Hb/vrXIs6o2QCFaQ/GgJbALNRUw7tO9T97 S4YJFRYhyns9SVg3oNl7fq2BlZ8Rc6yFl9/w3l55wQePy3re0Ds9hIC5iqeadrCXF8CVT6 w02nTU62iL9Q7j9TrUBBcAWJEFp/04asJ0mFPLVl9HzoXjW1vnypiSRZqvzAMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679509920; 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=lbCCU79BU15m0Y+BGVwjs7gMbn9LWtFQHHhWadk1HNk=; b=ApEgUWBnwh1DR6U7XUbg9P1YqyJcbWmknj1fj2g+cxZP7RvDZ206KR+oP3sT+O+v2VEbhv gpKG2VAuw7YnKdQeVFj0PwsP8wsxfqgLpq1M3S2C+MRO9p2YZGYKbmQEBE44PQpI/ruXll SKdGtco5z2QqX0iV40to9CnwBFQ6gI5YkmbybZHXHXaBkDYNPb0kbdTeidcZcnWgg9vXRM VU4AmfSrWi5XB+QCEZEMe2iYEc89vZ2cYWwv0Ev7AEU5SmBNHmNTg1Ldi+D9JgF7YccQAa 7mij0jAMviudidgOu/x/RyTG+IoImgVuWMzY9bpiwbj48OT0NzUoOeaaYK5IUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679509920; a=rsa-sha256; cv=none; b=DwadY+XKJ6VGh/BeAT4BSjWFP0A/lqfYXXTtbWJ5bYhKGvA+fH+7oooY5KWTe60i842bev o1hE5ICeI+2DnQ3pyKkxYTIUR/+Pvp5Um9TceIOjW333Jcbcsjsbqx387sKsrSQ7UZiJjV gRs619u/854fAJeTJlDwA5UGRYmoAlDRbiaS+vnnelP12rq25YkkfaGX3IDpEPihFied9D kXnSWTKO+qwQ1ZC0RiaCnr5dN5nCBQ8Y3Qu2ma9PqJBHiP4f5aH3PWX0X1twx5TppDF5ww OdwxF4gr4LuEXOy6J6/sdVlP/2i6v+/4/EUD+M3yOv7gdgbnmjMm6Ol9XxF4TQ== Received: from mandree.no-ip.org (p200300d02712be00de65dff1a874e1cc.dip0.t-ipconnect.de [IPv6:2003:d0:2712:be00:de65:dff1:a874:e1cc]) (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) (Authenticated sender: mandree/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PhcWh0DMWz1Bpg for ; Wed, 22 Mar 2023 18:32:00 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from [127.0.0.1] (localhost [127.0.0.1]) by ryzen.an3e.de (Postfix) with ESMTP id 8C204DB08A0 for ; Wed, 22 Mar 2023 19:31:57 +0100 (CET) Message-ID: Date: Wed, 22 Mar 2023 19:31:57 +0100 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: en-US To: freebsd-hackers@freebsd.org References: <8173cc7e-e934-dd5c-312a-1dfa886941aa@FreeBSD.org> <8cfdb951-9b1f-ecd3-2291-7a528e1b042c@m5p.com> From: Matthias Andree Subject: Re: Periodic rant about SCHED_ULE Organization: FreeBSD.org In-Reply-To: <8cfdb951-9b1f-ecd3-2291-7a528e1b042c@m5p.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N Am 22.03.23 um 15:41 schrieb George Mitchell: > On 3/22/23 06:17, Matthias Andree wrote: >> Am 21.03.23 um 23:52 schrieb George Mitchell: >>> Yes, you've all heard it before [... blah blah blah ...] >> >> Can you please also give figures how much CPU time has been allotted >> to dnetc in that respective situations? >> > I let the scheduler do the time allocation.  The result is that dnetc > gobbles whatever time remains available when higher priority processes > (i.e. every other process on the system) have nothing to do.  With > SCHED_4BSD the resulting idle time is 0 (as reported by top).  I did > not take note of the idle time when I was doing the SCHED_ULE run. You are not answering my question. I asked how much time did dnetc use in the time where you were doing your test compile. The next question is then where you get the idea that a scheduler must interpret 20 as "only if idle". Linux has scheduling classes with "idle" and "best-effort" priority classes, for one. Yes, there are reports that FreeBSD is not responsive by default - but this may make it get overall better throughput at the expense of responsiveness, because it might be doing fewer context switches. So just complaining about a longer buildworld without seeing how much dnetc did in the same wallclock time period is useless. Periodic rant's don't fix this lack of information. -- Matthias Andree FreeBSD ports committer