You are not logged in.

#1 2017-02-04 10:00:20

lazyboy
Member
Registered: 2017-01-24
Posts: 9

Intel Clear Linux kernel optimizations

Hi everybody. I've just the impressing benchmark at Phoronix, that Clear Linux is around 20% faster in phpbench (than Ubuntu).

So I'm curious in using the kernel of Clear Linux in ArchLinux. Does anyone know the exact Kconfig options? Isn't Intel forced to disclose it's sources?

Ok, it's here: https://github.com/clearlinux-pkgs/linux

May you please create a PKGBUILD?

Last edited by lazyboy (2017-02-06 10:47:21)

Offline

#2 2017-02-04 13:45:17

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Intel Clear Linux kernel optimizations

AFAIK, the performance impovements in clear linux has nothing to do with the kernel. Most of the benefits you can see in e.g. phoronix benchmarks are result of AutoFDO and other compiler optimizations.

If clear linux has a kernel patch you think would be of benefit for you, you can easily patch the kernel yourself, e.g. https://wiki.archlinux.org/index.php/Patching_in_ABS
The clear linux kernel .config is also available from the same link you provided.

Offline

#3 2017-02-04 16:22:28

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Intel Clear Linux kernel optimizations

Moving thread to PKGBUILD requests.

Offline

#4 2017-02-06 10:48:20

lazyboy
Member
Registered: 2017-01-24
Posts: 9

Re: Intel Clear Linux kernel optimizations

I've used the kernel .config with Archs PKGBUILD, but the build process failed.

Offline

#5 2017-02-06 11:04:01

a821
Member
Registered: 2012-10-31
Posts: 381

Re: Intel Clear Linux kernel optimizations

lazyboy wrote:

I've used the kernel .config with Archs PKGBUILD, but the build process failed.

that's not helpful... logs?

Offline

#6 2018-02-03 22:25:19

b0b2
Member
Registered: 2011-10-31
Posts: 51

Re: Intel Clear Linux kernel optimizations

Hi,
I'd really like to get those optimizations as well.

ooo wrote:

AFAIK, the performance impovements in clear linux has nothing to do with the kernel. Most of the benefits you can see in e.g. phoronix benchmarks are result of AutoFDO and other compiler optimizations.

If clear linux has a kernel patch you think would be of benefit for you, you can easily patch the kernel yourself, e.g. https://wiki.archlinux.org/index.php/Patching_in_ABS
The clear linux kernel .config is also available from the same link you provided.

There's also kernel pgo. Idk how much it contributes.

Here are some more benchmarks:
https://www.phoronix.com/scan.php?page= … beta&num=1
https://www.phoronix.com/scan.php?page= … lear&num=1
https://www.phoronix.com/scan.php?page= … ctre&num=2
https://www.phoronix.com/scan.php?page= … 0way&num=5

Offline

#7 2018-02-03 23:34:14

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Intel Clear Linux kernel optimizations

I also believe that the speed advantage of clear linux is not only due to the kernel, they do patch and optimize many areas of the system, I'm not saying that tweaking some kernel configuration options will not provide some speed improvement, but you are not going to get the same speed improvement if you don't touch anything else.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#8 2018-02-04 00:25:55

b0b2
Member
Registered: 2011-10-31
Posts: 51

Re: Intel Clear Linux kernel optimizations

R00KIE wrote:

I also believe that the speed advantage of clear linux is not only due to the kernel, they do patch and optimize many areas of the system, I'm not saying that tweaking some kernel configuration options will not provide some speed improvement, but you are not going to get the same speed improvement if you don't touch anything else.

You're most probably correct here:
embed.php?i=1801134-FO-CLEARBUNT00&sha=839d43b&p=2
https://www.phoronix.com/scan.php?page= … eaks&num=2

Offline

#9 2018-02-04 01:12:12

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Intel Clear Linux kernel optimizations

IIUC these optimizations basically achieve the same goal as rebuilding everything with -march=native.

Except that you can build once and distribute it to all distro users.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#10 2018-02-04 01:22:03

b0b2
Member
Registered: 2011-10-31
Posts: 51

Re: Intel Clear Linux kernel optimizations

Eschwartz wrote:

IIUC these optimizations basically achieve the same goal as rebuilding everything with -march=native.

Except that you can build once and distribute it to all distro users.

That would mean that pretty much every gentoo installation should perform about as well as clearlinux did, which I can't believe.

Offline

#11 2018-02-06 17:52:40

eglumegad
Member
Registered: 2016-11-11
Posts: 1

Re: Intel Clear Linux kernel optimizations

I'm glad I found this thread, I read the Phoronix article about performance on Ryzen and Threadripper, and Clear Linux performed very impressively, even though it's not running on an Intel chip. Of course it has a lot of optimizations that just target x86_64, not just Intel specific stuff.

I've been wanting to play around with using some of their optimizations in my Arch install since I'm running Ryzen. I was playing around with CPU mining Monero just for the hell of it, and noticed that my hashrate was an entire half of that on Windows. It's possible this is because I compiled xmr-stak with some questionable flags and am on mostly default everything otherwise, but nonetheless I'm curious what sort of performance gains I can get from copying Clear Linux. I'll probably just play around with it some time this week if I can get some free time away from coursework.

b0b2 wrote:
Eschwartz wrote:

IIUC these optimizations basically achieve the same goal as rebuilding everything with -march=native.

Except that you can build once and distribute it to all distro users.

That would mean that pretty much every gentoo installation should perform about as well as clearlinux did, which I can't believe.

Yeah, I agree. I'm pretty sure Clear Linux is more tuned than Gentoo. That would be interesting to try to implement some of Clear's ideas into a Gentoo install, though.

Offline

Board footer

Powered by FluxBB