News: 0001657628

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

New Cache Aware Scheduling Fixes Out For Testing

([Linux Kernel] 4 Hours Ago Cache Aware Scheduling)


Since being merged back during the Linux 7.2 cycle, the [1]Cache Aware Scheduling code continues seeing more fixes as users test out this scheduling enhancement on different processors and system configurations.

Following [2]last week's Cache Aware Scheduling fix for Intel hybrid CPUs , more material is available for testing this week for enhancing the code. As a reminder, Cache Aware Scheduling is the Linux kernel feature for grouping related tasks together on CPU cores that share the same last level cache (LLC). Cache Aware Scheduling can lead to better cache locality and lower latency by avoiding the costs of potential cache bouncing.

These new fixes deal with tasks potentially being stranded from the outside or yanked away from their preferred last level cache. There is also a use-after-free fix too for the scheduling code.

Intel engineer Tim Chen who has been leading the charge on Cache Aware Scheduling for the Linux kernel sent out [3]this patch series collecting those recent fixes.

Not addressed by this patch series, but there are also known issues with Cache Aware Scheduling interfering with Intel Turbo Boost Max Technology (ITMT). That work isn't addressed by these patches but hopefully some new improvements there will surface soon.



[1] https://www.phoronix.com/search/Cache+Aware+Scheduling

[2] https://www.phoronix.com/news/Linux-7.3-rc2-Scheduler-Fixes

[3] https://lore.kernel.org/lkml/cover.1789061845.git.tim.c.chen@linux.intel.com/



I used to live in a house by the freeway. When I went anywhere, I had
to be going 65 MPH by the end of my driveway.

I replaced the headlights in my car with strobe lights. Now it looks
like I'm the only one moving.

I was pulled over for speeding today. The officer said, "Don't you know
the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
to be out that long."

I put a new engine in my car, but didn't take the old one out. Now
my car goes 500 miles an hour.
-- Steven Wright