Date: Thu, 23 Jun 2022 14:56:06 -0700 From: John Baldwin <jhb@FreeBSD.org> To: arch@FreeBSD.org Cc: gallatin@FreeBSD.org Subject: Re: Time sharing for interrupt threads Message-ID: <d87a11dc-3dbe-6340-1d59-f27ad0636fcd@FreeBSD.org> In-Reply-To: <ac532f32-97b2-59a1-2cb9-25a083cf7329@FreeBSD.org> References: <ac532f32-97b2-59a1-2cb9-25a083cf7329@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/4/22 2:48 PM, John Baldwin wrote: > The changes to implement this can be found on the swi_refactor > branch here: https://github.com/freebsd/freebsd-src/compare/main...bsdjhb:swi_refactor I have extended this branch a bit further. It now supports time sharing on 4BSD as well (mostly just for completeness). I've also collapsed the ithread priorities down to just 4 effective values merging all hardware ithreads into a PI_HARDWARE and all SWIs to PI_SOFT. I think I might have moved softclock back to PI_SOFT. I also shuffled the other priority ranges around to move the now-unused priority values down to the user range so that CPU schedulers have a bit more precision/granularity for user processes. Drew did test this under a production loader and did not find any regressions. I would still appreciate some review on the idea though? I have not done any of the work to try to simplify interrupt handling in iflib. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d87a11dc-3dbe-6340-1d59-f27ad0636fcd>