From nobody Thu Jan 22 20:44:23 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 4dxtMy3V2Yz6P3Yp for ; Thu, 22 Jan 2026 20:44:30 +0000 (UTC) (envelope-from olce@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dxtMy2QnBz3Js2; Thu, 22 Jan 2026 20:44:30 +0000 (UTC) (envelope-from olce@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769114670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5p2kxBA3En5N0JREMZBANXDjrBmEh5zeTfs/a63QwRo=; b=dsMPHJA31sQPCksHak7siCfSzTQhAEgVlpPvEJNP5MglviL2XB0zadEzQnYqNY8nDcLjSK yohyWo1ecdJAI1tTRj9J/uNLICunQkEx6lLYN1+Tz8Cuc9zG20Hs1YHSAwsQcsyqH5BwVh /Z5FMqX056HMJ9btHvWIZO8kbUtpcs1+CvgxGFjYACVGYtec5wsA8JwvWtN+1S0rMM4g/D p+0vP09PgooaV6HtPXejlhQXtWYcP9kRKYZ4nLXHvKq593wF8vSY25y8TxeHZdP9didpOM uChVRawPhAxBjAIKmyVcGjpIBIazAx+/vR2w8lHmDTxM0TWmZLP5PdhQkCqh2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769114670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5p2kxBA3En5N0JREMZBANXDjrBmEh5zeTfs/a63QwRo=; b=mFJqbNws6OR3gF+A6AEyYjeIVlYHm52RzbMHPeMy7bcI80a9crgLPquHvHgd++bARTw1on eMoEQbDlVSXFJT0OkUXhc6+MqLg5HpeDiYGjxJjs22L2NRQEAMO5EQRKHmeHtG2+O4HfSl GEemfOQojaYsPl05wWQ9DC9qVVoVcX1dJ2zkpMHw6jRM7rXsIRYjxhjohvBDoJaLlTy50e OCpCxYErcEzKsjdmsGFfdbAfuFFkRvqk0Ph81hHWKdMfd3gMXz58eHMhl9HNiYspZ0KsBo 9fW0yFwhvdK9Aou2Qlqa6qeM04QziZHK2ZlujltXoVsIdYyQB4HA373QEcWdMg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769114670; a=rsa-sha256; cv=none; b=PwKI3Vi18uVP33KOQJvgl/Vi9GQ4Vu3DD3l3z7zZz/hwqfdLWQncMgTkCYRCXC8MrBHWlk IKDiPf8VaoOPH7fWLRfNNgq6zjccuZmhArko+bdBMUXyISzwIj5rKrzpjFjjGv6j20bXvj Aoyr+Wb8QFleX5JdBmdLV0dXB6GiEOdUbk6FAPzpu7NvQacavxEu21/jvxghh1PS1Kuc3R lZ9SNQGqetSbnD9tGlnrrGDE1sqtuUVqNMYhUEdmXdQmpVjRsF4WIBYMFN7ehg95z/JtWa L/pSQTdYx7bKhxcBrvgWgJ8Gd1BrwzxPKm/s29Csg6mxfM5/pf34zGNvTT6LlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ravel.localnet (aclermont-ferrand-653-1-222-123.w90-14.abo.wanadoo.fr [90.14.66.123]) (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: olce/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4dxtMx4qQcz18D2; Thu, 22 Jan 2026 20:44:29 +0000 (UTC) (envelope-from olce@freebsd.org) From: Olivier Certner To: Bakul Shah Cc: "Rodney W. Grimes" , George Mitchell , "freebsd-hackers@freebsd.org" Subject: Re: Current ULE state and plans (was Re: HMP scheduling on FreeBSD) Date: Thu, 22 Jan 2026 21:44:23 +0100 Message-ID: <2613269.DBfJszHHAy@ravel> In-Reply-To: <0DFA8FB5-09EB-472D-BDE2-E40440611F5B@iitbombay.org> References: <202601221909.60MJ9BD4075567@gndrsh.dnsmgr.net> <0DFA8FB5-09EB-472D-BDE2-E40440611F5B@iitbombay.org> 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 Content-Type: multipart/signed; boundary="nextPart1800845.GcYWc9ijTQ"; micalg="pgp-sha384"; protocol="application/pgp-signature" --nextPart1800845.GcYWc9ijTQ Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Olivier Certner To: Bakul Shah Date: Thu, 22 Jan 2026 21:44:23 +0100 Message-ID: <2613269.DBfJszHHAy@ravel> In-Reply-To: <0DFA8FB5-09EB-472D-BDE2-E40440611F5B@iitbombay.org> MIME-Version: 1.0 Hi, > 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! 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. > 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? 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). Thanks and regards. -- Olivier Certner --nextPart1800845.GcYWc9ijTQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCQAdFiEEmNCxHjkosai0LYIujKEwQJceJicFAmlyjCcACgkQjKEwQJce JidiRBAAsUvoDuO0wIOBfEdIFO6pWROh9prtaNWyK3NRee1raFcqOLxG7r0LxDDX MHwBfrsUWj4kUPzKy2UA3dHlR7dv3GZ8JVxmbkvYSPxs3ZkjDqkJu6bg3K4WQZjM Ij7DTeeFCrIWiUQIWRowpQjRhSEY3l2Lz4/KYp0b10xV/3oFn8pAuBiIO8xf4AIG +vciptWYIKDWCroY6rGN0feP/TV/eD4H/xf8/ZbsfUplevGgdPrEGdnEckVYuuYl heOwNmQgu2/sIyeGxLWeZwmOVCRbSYr4zpaNdyBJEK0hBGB+oQyO7AO7gaa8yBfb AzgB5oKgS9iz1rc+KOP7Cwf+/YGo0AQqaJl5zPiNRUGp705wuvv0zirNyZIxc5dN lm4V5Dr5SDtS2ee1ZELo69RxIx3cnsjXbZSP4irgFsxqCUQ4y3LCVuQMy+n6hgpR fOJcCqb6HN6eBupBzB2pmuvPBv+yzOhEWik7m7mes4OcfPAxvSEO/kHZsF1RJ/Pw 9a8VKU1WVSY6y74ncv8hoUFqO3SNluJBLYb2Al6EIBzsNjKvcbEYU0ABj4VaHToo PfdpApe0+p7kDeu37tw5ux2ZlZwkTHflQ2JfhmU6M+Kz6Bne2hPyf4jOtB7wMGRA x6I2GcdY63XwShYJvgUbPe5+dWJ2ZCMMEIsWb218lvIddyq6Tj8= =faYi -----END PGP SIGNATURE----- --nextPart1800845.GcYWc9ijTQ--