From nobody Thu Jan 22 21:48:01 2026 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 4dxvnk3SXQz6P8CZ for ; Thu, 22 Jan 2026 21:48:26 +0000 (UTC) (envelope-from bakul@iitbombay.org) Received: from mail-dy1-x132f.google.com (mail-dy1-x132f.google.com [IPv6:2607:f8b0:4864:20::132f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dxvnk1Wglz3RYT for ; Thu, 22 Jan 2026 21:48:21 +0000 (UTC) (envelope-from bakul@iitbombay.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-dy1-x132f.google.com with SMTP id 5a478bee46e88-2b6a868ad45so186577eec.0 for ; Thu, 22 Jan 2026 13:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay.org; s=google; t=1769118494; x=1769723294; darn=freebsd.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WBs9zH4ugeFTzMUk9Ve0MFMh40qIq3W5G1i6H5l7qPE=; b=Lcmk14sSTliqlpsh4tu/JLWhfyhBCrpWo94Qn76b6JQepG/saoT1YhZdwSmuU4RZnI yxfFND5gTRCo7aa55MP5kuTf/fk8UBLS7qJY42MBwovLuoaTHp/FtVynSN0Ltbek9mqu BsW4dZSBmrAtbmhR1S5PGSnWcAAK3EKmab2q0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769118494; x=1769723294; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WBs9zH4ugeFTzMUk9Ve0MFMh40qIq3W5G1i6H5l7qPE=; b=FL0fvAIeQFm4kq1oEYn1pqiwSRWzB/QVK3piNJKhe9L1gfaSYQ0RUG0P/jbJX84xeP FhggvOKSJXI1+uU9qWCeNH2YIFZVxNg+HX772G10FKpX10XewKrUMaf886iTM67a++ug tiykaQGFAMUV5HUOjV2yyjyFMnlZHAQb5eLolhgQAG9Owt0wAK+j9v5P8X8gnuyvGtCE aR1Od/E18m0qd2yL1A5vYOF28Yjh9RT96k01HB0umLopi25M9uxplxFfX+zelJnN1Mlm Y4aCa9ktYRFDO3bmDypbTwXyiWXoR4BLgvzZ8cWfeBqrzdu0qDsPak8C4//GwyuFyoH5 YkMA== X-Forwarded-Encrypted: i=1; AJvYcCX9SkHOwm+qBGiVgxUxUJ32cF5tvG/ashVVwNB86tXwMT2vFxYaDtNycyMhLucjqhpB7oIjVH7vYZPmYZQTcIk=@freebsd.org X-Gm-Message-State: AOJu0YxpRY0DC6BqjsdFrXA9BElj1SpNiipfFFfurVisDF7upkHEbF6R f4Tt5twSA4JC/mQSdP4ui8TjlXb7M4zZw2+2AHgR9s0gWK4182J8jLO/XntNAs9r1w== X-Gm-Gg: AZuq6aKI4qRv29j2JE+5CBLOgtHkynPiqOf65XNNt52p70swmeNz5+mKqvAGXYt0Pff jBW+p/QECgBKdArOPK5C4nX15H2378fDTbM2roHrnBbENqweDSgN97I9GxvaHfDK0/vO/l3FWjh ERlXmoEZo3O36hOSOwh8MUwIMdxENeSrlEpdB7FKq1gU3gcI1ZOrlJ5btFZ1IaTTnCO9lMsiHA1 JznhHz3pEYFXV+HLe/N1MnK62xy9tkXA5KqCe2PcBndaw4FEsJvH+cuQyZU0Wm16XRxddOqzRmX hzbi2Pl/tcMtGBXpf9rZhwB9+pjQ4pfjzmAE4fP+rIG2bV3LuSdQYU7sScX7C0mVrjk57wknoId KvSeQihJ6ZY2+j3cPnGwygBAZR1pbgBdwqat5vd06xsTRVTeCmwiSjA/B9r7UUtBKAXI7nENdIz qQUIjgz1f4D6ktyULem37MH7JEFgCgoWKYrRmzVRdGEMgyDcMkU8eKIqtOlcYq4xZWmC2S336Ed bDXoW7H4ag= X-Received: by 2002:a05:7022:23a5:b0:11e:3e9:3ea5 with SMTP id a92af1059eb24-1247dc13472mr172478c88.7.1769118493415; Thu, 22 Jan 2026 13:48:13 -0800 (PST) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1247d7abb74sm1450512c88.0.2026.01.22.13.48.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2026 13:48:12 -0800 (PST) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: Current ULE state and plans (was Re: HMP scheduling on FreeBSD) From: Bakul Shah In-Reply-To: <51B0y81tavN5h5V2jg3qW1c-5uWLZHCkEpsVp50w1yP6fJm5MkTPL720wC12TV1trwPvBLLKXnMo8XryFKXr8-WffhO9lp0faJUNmeJCehQ=@proton.me> Date: Thu, 22 Jan 2026 13:48:01 -0800 Cc: Olivier Certner , "Rodney W. Grimes" , George Mitchell , "freebsd-hackers@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <3EC1B8FD-BFAA-4023-A0F3-E16492B53091@iitbombay.org> References: <202601221909.60MJ9BD4075567@gndrsh.dnsmgr.net> <0DFA8FB5-09EB-472D-BDE2-E40440611F5B@iitbombay.org> <2613269.DBfJszHHAy@ravel> <51B0y81tavN5h5V2jg3qW1c-5uWLZHCkEpsVp50w1yP6fJm5MkTPL720wC12TV1trwPvBLLKXnMo8XryFKXr8-WffhO9lp0faJUNmeJCehQ=@proton.me> To: Minsoo Choo X-Mailer: Apple Mail (2.3864.300.41.1.7) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[freebsd]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dxvnk1Wglz3RYT > On Jan 22, 2026, at 12:59=E2=80=AFPM, Minsoo Choo = wrote: >=20 > On Thursday, January 22nd, 2026 at 3:44 PM, Olivier Certner = wrote: >=20 >>=20 >>=20 >> Hi, >>=20 >>> Is there a set of tests that people can run to measure >>> important characteristics of schedulers under various >>> conditions (# of cores, multi-cpu, amoutn of memory, >>> interactivity, network traffic, NFS etc.)? The same can also >>> help with testing scheduler changes to see their effect on >>> these characteristics. And can help with trying out new >>> scheduling disciplines. And may be such testing can inspire >>> peopel who want the 4BSD to improve it as well! No synthetic >>> tests will sufficiently test real world conditions but at >>> least they can provide a baseline. Better still may be they >>> can be run against Linux as well! >>=20 >>=20 >> Basically, any benchmarks with lots of threads, or very sensitive to = latency can do. You can, e.g., use database or networking benchmarks for = comparisons. And 'make buildworld', of course. >>=20 >>> Alternative question: what tests are currently used to test >>> ULE vs 4BSD schedulers and what can be done to improve them, >>> make them more comprehensive? >>=20 >>=20 >> I'm using 'late' from Jeff, which I have changed significantly. At = the moment, it's at https://github.com/OlCe2/late. The shell scripts = allowing to run synthetic scenarios are quite rough. I've started = documenting their purpose and use in some file that I haven't pushed to = the repo. Only the main executable has been polished enough = (self-documenting). I am supposed to import it into the base system at = some point(tm). >>=20 >> Thanks and regards. >>=20 >> -- >> Olivier Certner >=20 > If we want real-world scenarios, phoronix test suite would be great. Thanks, Olivier & Minsoo. I will look at the repo and look for the Phoronix tests. Eventually a comprehensive performance test suite would be great. The idea is to have specific repeatable tests for measuring characteristics of specific features as the code changes over time. Over time one should be able to graph how important characteristics are changing. For scheduling one can think of measuring latency, fairness, scalability, variability, realtime responsiveness etc. [Very very similar to what one might want to measure in networking scenarios. In fact there is a lot of similarity between OS & Networking issues!] Bakul=