From nobody Wed Mar 22 10:17:51 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 4PhPYY5DKBz40PVD for ; Wed, 22 Mar 2023 10:17:53 +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 4PhPYY4cDkz4JLF for ; Wed, 22 Mar 2023 10:17:53 +0000 (UTC) (envelope-from mandree@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679480273; 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=XoVcIzKvL39SxpApt7xKNP5SxL8ZuafrEyJlsOtjlpM=; b=LeYmBwsACC5/WbwMnSIAsdFjE6i46MxZtTL54mrhRoJWDhBENBXOAEkGWpqhgXOw1qQ7Bd KaPpNggIzUIq6SCEkvkN8UzMrOo4omMIOTX6vbiLg0WXzmYdCAghpLMclDT0avwmPrff6v ahyQMj69B4QO9FfZmfy0IBa9dSDqcrCbrx1zvjc3SizqvRG0pEPbYyuA4VZpYmJBjZL/v/ QMIB9dX7Ve/RjSZtJcfOXJHtUEOQ6balyACjrVho8bcyzhKFwg2jUhbirCXvXdMOnNAA9T TPJe0+hPAm4enTJBnMlf6Lvt59GRspouX70CTPQn74+DcnOxwkktvDqSeIb+wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679480273; 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=XoVcIzKvL39SxpApt7xKNP5SxL8ZuafrEyJlsOtjlpM=; b=jQLhDgn2e1O5LGEVIVMkHAYM3pSksqePs9YjMjmEL0YIPqWCJLszUvIl0E3OM54V9cRXaL DGNSoOOOsCIwn2jyJe11Ch/PBS9DPpLUo6F1FCf1yu07rztCioMuxAPbHAmYlXUnOENLV/ kUjmveqjqGly10X4cJ7xulzZJWzH1XXPovhK//9R9cYutTv7647o0ZU/jhwq6md9cxDz0v G0FjQ4hvcsEw8cH7yjvirsbLyL/QP6c07h8KnsPtpKd077vZzJDhaFvfw+/ap1tHSnjbiX tnTScZp4iAA+XRiO2gZrWh5A72QqFiRY91J5oRwHYW3VfB/V60lCUd8peI9i6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679480273; a=rsa-sha256; cv=none; b=OFuayM70Sj+xukA/2IkDNuCaCvI881RecAY3DFHbXVPrROt0l+TglFypyDQAKZJM1mc1Bq nWc/8pVC3jEK5IsRQYL06S4xRF3+fgjwz80cCrPA3CVcZnhd5IjJHrA32RDM6btpPQ5xdR Lt/tGGfZu278Vx1cYpqufGJfzZZ1UUBO9UqVDF8LfZOEBFo0B9OVeWFV8qGL3/89b+4XkS MKm0kVLr7sQ79ZUySogFGngvxhJv4ShbC35DuO8fmLES8u62lk8vHlt2TtjsVdIsowHztM SdoGCVCSa5/cCNKUrs75GU//uCcSiZUUuuUJpCvCllmQfkBbSfN6bbWJY/A4uw== Received: from mandree.no-ip.org (p54a03c23.dip0.t-ipconnect.de [84.160.60.35]) (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 4PhPYY2mbwz1270 for ; Wed, 22 Mar 2023 10:17:53 +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 D798CDAF8B0 for ; Wed, 22 Mar 2023 11:17:51 +0100 (CET) Message-ID: <8173cc7e-e934-dd5c-312a-1dfa886941aa@FreeBSD.org> Date: Wed, 22 Mar 2023 11:17:51 +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 Subject: Re: Periodic rant about SCHED_ULE Content-Language: en-US To: freebsd-hackers@freebsd.org References: From: Matthias Andree Organization: FreeBSD.org In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N Am 21.03.23 um 23:52 schrieb George Mitchell: > Yes, you've all heard it before, but I've just reverified on FreeBSD > 13.1-RELEASE-p7 that SCHED_ULE gives terrible performance for "make > buildworld" in the presence of a totally compute-bound job (misc/dnetc > from ports) running at nice 20.  World builds in: > 15597 seconds with SCHED_4BSD without dnetc > 20477 seconds with SCHED_4BSD with dnetc > 16006 seconds with SCHED_ULE without dnetc > 50290 seconds with SCHED_ULE with dnetc. > When I ask why SCHED_ULE is the default scheduler, I have been told more > than once that there is some circumstance in which it gives superior > performance.  But no one seems to know what circumstance that is.  Guess > what!  I propose that SCHED_4BSD be the default scheduler.     -- George > Can you please also give figures how much CPU time has been allotted to dnetc in that respective situations? -- Matthias Andree