From nobody Tue Jul 13 22:20:52 2021 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 2C7028D714E for ; Tue, 13 Jul 2021 22:21:06 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.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 (2048 bits) client-digest SHA256) (Client CN "m5p.com", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GPZpn5y1sz3sl4 for ; Tue, 13 Jul 2021 22:21:05 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:470:1f07:15ff::26] (court.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:26]) (authenticated bits=0) by mailhost.m5p.com (8.16.1/8.15.2) with ESMTPSA id 16DMKqdA066373 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 13 Jul 2021 18:20:58 -0400 (EDT) (envelope-from george+freebsd@m5p.com) Subject: Re: Periodic rant about SCHED_ULE To: Zaphod Beeblebrox , Rozhuk Ivan Cc: FreeBSD Hackers References: <13445948-7804-20b4-4ae6-aaac14d11e87@m5p.com> <20210708101907.0be3a3c2@rimwks.local> From: George Mitchell Message-ID: Date: Tue, 13 Jul 2021 18:20:52 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kobr9a1G5Mm6vul0Sz53ayfbYRoGMMn0x" X-Spam-Status: No, score=0.2 required=10.0 tests=HELO_MISC_IP,HELO_NO_DOMAIN, NICE_REPLY_A autolearn=no autolearn_force=no version=3.4.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on mattapan.m5p.com X-Rspamd-Queue-Id: 4GPZpn5y1sz3sl4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[freebsd] X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kobr9a1G5Mm6vul0Sz53ayfbYRoGMMn0x Content-Type: multipart/mixed; boundary="qGXtyaLbbgYipT1gunzCMHidfWmuhMJuW"; protected-headers="v1" From: George Mitchell To: Zaphod Beeblebrox , Rozhuk Ivan Cc: FreeBSD Hackers Message-ID: Subject: Re: Periodic rant about SCHED_ULE References: <13445948-7804-20b4-4ae6-aaac14d11e87@m5p.com> <20210708101907.0be3a3c2@rimwks.local> In-Reply-To: --qGXtyaLbbgYipT1gunzCMHidfWmuhMJuW Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 7/13/21 6:09 PM, Zaphod Beeblebrox wrote: > [...] > TBH, I think SCHED_ULE is a failure and the only reason more people don= 't > think so is that processors are now largely too fast for people to care= =2E > [...] I won't call it a failure, but I will call it the wrong default for the GENERIC build. And you're certainly right about why people don't care. -- George >=20 > I know we don't have guiding principles for nice, but I would toss out = the > +/- five rule for it --- that any process more than 5 nice levels lower= > from a cpu-busy process shouldn't preempt the higher process. I realiz= e we > have rtprio, but it's a pain to use. Anyways, don't let this last comm= ent > distract. > [...] --qGXtyaLbbgYipT1gunzCMHidfWmuhMJuW-- --kobr9a1G5Mm6vul0Sz53ayfbYRoGMMn0x Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAmDuEcQFAwAAAAAACgkQwRES3m+p4flr AA//eb8tBRLXTr0SsEUByrSAPN36x/Ifv3QYbH+cMYaZYmaZfaHNEi82Z/e57l2pnzbcH9MhyzHM tOWcSvaPPw+P9Hnt5+jyRNeMk/Q0ISsbYGlJ96QGY4uxZLi89qZKmkBzod1aAo2AeHtJl75csvht rfyoymA8WXWt5G8khFs+25VzKLySJ9JAtnrD2VQMtM9C2HIqyDNzUEGpveJQvIjgAABiywJNfKI4 ZZm7bFNQOe0QHkZY19pArEryT2endavRLdmWG9rugi9CvBUc7BhoVkTyjon9Gz+QrtagOAHFQbZr JNcn9MTAkeMRxTVlG1MRZ+B0IgqjN2YJQxKiIHyrYGSYUMKL90VtwrwOwZo4EA1vkvaR+aA3sDFR yGZ2vFoY/RwpHL+hP13NVjkim2PMlhFXo9x1bQAquXI1Q0DHv4q9zVKZ6uuLMQU/aDB3qB+JCUSl kguApvPeS5HmCP78EG0yOTpyzF9HPFF2V5RKS8EtQj1/E2gCNkbd1FCPjq24Fg2gfetuf4/7Nue4 cHjEfwkypcoxSpgUDo/UI6Ax282WiWiybhHYuK3A+iOUnXjyKLo0Bm6VyBfX9JQ6wKjJyRi0ZO7g dUGQhyGHDmvRQq+UzAq/tzpBI9CGFvrSwAkbXxo3TIOhDDegN4uzGloIWiu7bRlIta4cVWr4QJrA jwM= =JKgX -----END PGP SIGNATURE----- --kobr9a1G5Mm6vul0Sz53ayfbYRoGMMn0x--