News: 0001624438

  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)

Intel Posts Fourth Version Of Cache Aware Scheduling For Linux

([Intel] 35 Minutes Ago Linux Cache Aware Scheduling)


Just over one year ago [1]Intel Linux engineers began working on cache-aware load balancing for Linux or more commonly referred to as [2]Cache Aware Scheduling . The functionality for helping modern Intel Xeon and AMD EPYC processors especially hasn't yet been upstreamed to the Linux kernel but yesterday the fourth version of these patches were posted for review.

Cache Aware Scheduling aims to enhance the Linux performance for modern CPUs with multiple cache domains. The scheduler tries to help ensure that tasks sharing data are colocated to the same last level cache (LLC) domain for ensuring better cache locality and reducing cache misses/bouncing.

The new "v4" patches of Cache Aware Scheduling introduce new code to limit the CPU scanning depth with the preferred NUMA node for placement when NUMA balancing is enabled. There are also changes around the the load imbalance at low-load, improving the LLC ID management, and other changes. Fundamentally though the cache aware scheduling load balancing logic is the same with the new v4 patch series.

Intel's own performance benchmarks shown with the patch cover letter indicate nice performance gains for Intel Xeon and AMD EPYC. My own testing of prior versions of these patches have also been very positive: [3]Linux's Proposed Cache Aware Scheduling Benchmarks Show Big Potential On AMD EPYC Turin and [4]Cache Aware Scheduling Raises Performance For Intel Xeon 6 Granite Rapids .

Those interested can find the new Cache Aware Scheduling v4 patches on the [5]kernel mailing list . Hopefully this Cache Aware Scheduling functionality will manage to make it into the mainline Linux kernel this year.



[1] https://www.phoronix.com/news/Linux-Cache-Aware-Load-Balance

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

[3] https://www.phoronix.com/review/cache-aware-scheduling-amd-turin

[4] https://www.phoronix.com/review/intel-xeon-6-cache-sched

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



Extract from Official Sweepstakes Rules:

NO PURCHASE REQUIRED TO CLAIM YOUR PRIZE

To claim your prize without purchase, do the following: (a) Carefully
cut out your computer-printed name and address from upper right hand
corner of the Prize Claim Form. (b) Affix computer-printed name and
address -- with glue or cellophane tape (no staples or paper clips) --
to a 3x5 inch index card. (c) Also cut out the "No" paragraph (lower
left hand corner of Prize Claim Form) and affix it to the 3x5 card
below your address label. (d) Then print on your 3x5 card, above your
computer-printed name and address the words "CARTER & VAN PEEL
SWEEPSTAKES" (Use all capital letters.) (e) Finally place 3x5 card
(without bending) into a plain envelope [NOTE: do NOT use the
Official Prize Claim and CVP Perfume Reply Envelope or you may be
disqualified], and mail to: CVP, Box 1320, Westbury, NY 11595. Print
this address correctly. Comply with above instructions carefully and
completely or you may be disqualified from receiving your prize.