distribution icon indicating copy to clipboard operation
distribution copied to clipboard

Is Alder Lake going to get additional optimizations in Clear Linux?

Open romulasry opened this issue 3 years ago • 15 comments

The question many would like to know.

romulasry avatar Nov 06 '21 03:11 romulasry

The AVX2 ("haswell¨) optimisations do apply to it. I don't think the GCC cost model has changed for ADL. The biggest gain for it will be a hybrid-aware CPU scheduler and Clear Linux will get that when the Linux kernel gets it; there's nothing the team needs to do in that front, at least initially. We'll continue to monitor the performance on ADL to see what else we can do, any tunings we'll learn, but our team is focusing more on the Xeons at this moment (especially Ice Lake Server).

Do we need to keep the task open?

thiagomacieira avatar Nov 08 '21 16:11 thiagomacieira

we are looking at various scheduler tunings shortly. ... but as Thiago said, server is the main focus

On Mon, Nov 8, 2021 at 8:21 AM Thiago Macieira @.***> wrote:

The AVX2 ("haswell¨) optimisations do apply to it. I don't think the GCC cost model has changed for ADL. The biggest gain for it will be a hybrid-aware CPU scheduler and Clear Linux will get that when the Linux kernel gets it; there's nothing the team needs to do in that front, at least initially. We'll continue to monitor the performance on ADL to see what else we can do, any tunings we'll learn, but our team is focusing more on the Xeons at this moment (especially Ice Lake Server).

Do we need to keep the task open?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/2470#issuecomment-963321677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FKA5BUW3JZPVMHIYTDUK72G7ANCNFSM5HPDBXGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

fenrus75 avatar Nov 08 '21 17:11 fenrus75

There are some hybrid-related changes to intel pstate driver in the Linux kernel (https://github.com/torvalds/linux/commits/master/drivers/cpufreq/intel_pstate.c). I think we can expect some scheduler-specific hybrid changes very soon...

insilications avatar Nov 10 '21 03:11 insilications

Intel Updates Alder Lake Tuning For GCC, Reaffirms No Official AVX-512 https://www.phoronix.com/scan.php?page=news_item&px=Intel-Alder-Lake-Tuning-GCC

Alder Lake is such a big win for Intel, but I will skip this one ($). Satisfied with my Comet Lake.

insilications avatar Nov 10 '21 14:11 insilications

Windows 11 Better Than Linux Right Now For Intel Alder Lake Performance

Microsoft Windows 11 Pro was tested first with all updates and latest drivers as of 8 November. The Linux distributions tested for broad exposure included:

Clear Linux 35250 - Intel's own Linux distribution for showing the performance potential as normally the most well optimized Linux distribution for x86_64 hardware thanks to various patches, aggressive defaults from compiler flags to governor, and more.

Fedora Workstation 35 - The new Fedora 35 release with all stable updates.

Ubuntu 21.10 - The recent Ubuntu 21.10 release.

Ubuntu 21.10 + Linux 5.15 - As another run of Ubuntu 21.10 was moving from the stock Linux 5.13 kernel up to Linux 5.15.0 stable while keeping the rest of the software stack the same. Namely to show Ubuntu users with Alder Lake whether it makes any sense moving past the default kernel and what the latest stable kernel performance looks like...

Ubuntu 21.10 + Linux 5.16 Git - Plus a run of Ubuntu 21.10 when using Linux 5.16 Git as of 11 November for the very latest upstream kernel code... Intel hasn't posted any Thread Director patches for Linux yet or other Alder Lake optimizations, which are now too late for Linux 5.16. But this run is basically to show the very latest bleeding-edge kernel code. In the process it ended up uncovering a Linux 5.16 performance regression...

https://www.phoronix.com/scan.php?page=article&item=alderlake-windows-linux&num=1

romulasry avatar Nov 13 '21 06:11 romulasry

Linux 5.16's New Cluster Scheduling Is Causing Regression, Further Hurting Alder Lake https://www.phoronix.com/scan.php?page=article&item=linux-516-regress&num=1

romulasry avatar Nov 15 '21 00:11 romulasry

Linux & Mesa Driver Comparison For Intel Core i5 12600K / UHD Graphics 770 https://www.phoronix.com/scan.php?page=article&item=12600k-mesa-linux&num=1

romulasry avatar Nov 19 '21 00:11 romulasry

if you have an ADL, todays CL kernel and mesa update should be quite nice ;)

On Thu, Nov 18, 2021 at 4:34 PM romulasry @.***> wrote:

Linux & Mesa Driver Comparison For Intel Core i5 12600K / UHD Graphics 770 https://www.phoronix.com/scan.php?page=article&item=12600k-mesa-linux&num=1

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/2470#issuecomment-973577855, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FM7ESN45LPNDF3OPHDUMWLTFANCNFSM5HPDBXGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

fenrus75 avatar Nov 19 '21 00:11 fenrus75

Linux 5.17 To Finally Enable Variable Rate Refresh For Intel Ice Lake https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.17-Intel-Gen11-VRR

romulasry avatar Dec 02 '21 05:12 romulasry

I'm getting a Kernel_Panic if i don't disable the E-Cores on my 12900K. Is the team aware of that?

Yahfz avatar Jan 01 '22 06:01 Yahfz

Are there ways to generate an installer ISO with a recent kernel that will actually be able to install from scratch on Alder Lake? I cannot bootstrap my Alder Lake/z690 PC with the current v35000 ISO. Most of the peripherals don't work, that includes the network and the graphics unfortunately.

jwbee avatar Jan 08 '22 21:01 jwbee

Please open separate issues if you're seeing crashes in the kernel or in applications. This issue here is about optimisations.

thiagomacieira avatar Jan 11 '22 21:01 thiagomacieira

Im a bit confused about the state of Linux and Thread Director.

I came here to understand if Clear linux will compile in HFI and IPC Classes in its default kernel build.

Im a bit confused, but I believe that stock Linux isnt directly using Thread Director for AL/RPL/MTL. Is this correct? If so, is there a benefit for me to move to Clear to utilize the new scheduling preference of "low power island -> ecores -> pcores"?

Im trying to optimize for battery life on a laptop, and considering Clear, since I dont believe Fedora (what i use now) will enable relevant config flags.

ldelossa avatar Sep 28 '23 13:09 ldelossa

We have the most recent (e.g. state of the art) optimizations for P/E core tuning.

HFI and IPC classes are only a very small part of this picture, and are almost a footnote in what is needed for Linux to perform well on these platforms though.

On Thu, Sep 28, 2023 at 6:37 AM Louis DeLosSantos @.***> wrote:

Im a bit confused about the state of Linux and Thread Director.

I came here to understand if Clear linux will compile in HFI and IPC Classes in its default kernel build.

Im a bit confused, but I believe that stock Linux isnt directly using Thread Director for AL/RPL/MTL. Is this correct? If so, is there a benefit for me to move to Clear to utilize the new scheduling preference of "low power island -> ecores -> pcores"?

Im trying to optimize for battery life on a laptop, and considering Clear, since I dont believe Fedora (what i use now) will enable relevant config flags.

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/2470#issuecomment-1739208280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FM7JGGNUI2UHXYSSKTX4V4S3ANCNFSM5HPDBXGQ . You are receiving this because you commented.Message ID: @.***>

fenrus75 avatar Sep 28 '23 13:09 fenrus75

Ah I see, This is probably not the best place to open that discussion up further, but I am rather curious about the other changes necessary. If you don't mind me asking, where is the best place to follow along and inquire about this Kernel related work?

ldelossa avatar Sep 28 '23 15:09 ldelossa