New repo for linux-hardened with gcc optimizations
Final update
Done: DNSSEC + TLS 1.3 + HTTPS (HSTS) + HTTP/2 + IPv6 + anycast CDN
Update: I decided to just do it anyway since it doesn't take too long to compile with distcc. I'll post a link here soon.
I've made a repo for linux-hardened using graysky's kernel gcc patch (so there would be linux-hardened-skylake, linux-hardened-zen, etc. analogous to how repo-ck works). If people are interested, I can compile for all 17 architectures that the patch supports and make the repo public. Also, I'll support delta packages, package signatures, database signatures, HTTPS, HTTP/2, TLS 1.3, IPv6, and have it on a geographically distributed CDN. Ain't nobody got time for slow kernel updates.
Edited 13 Jul 2017. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 31 · 100% up
- Kind
- Text
- ID
- 6my296
17 comments
And who are you? Asking, cause using third party repos is possibly a security threat, so it would be nice to know who is this from.
That's a valid question. I made a private repo for some Arch machines at work and figured that it may be helpful if I made it public. You don't really have a reason to trust anything I say.
If you want to get the benefits of linux-hardened with the CPU optimizations without my involvement, I would recommend taking the kernel GCC patch and linux-hardened directly. Patching is very straightforward and compilation should take less than 15 minutes on an average machine.
Second idea, the CPU optimizations are helpful for some workloads and not for others. If the repo-ck optimized builds don't provide any benefits for your use case(s), then your best bet is to stick with the generic linux-hardened. The repo-ck developer is an Arch Trusted User, so maybe it's a good idea to try his builds out first before wasting your time compiling linux-hardened.
Wouldn't it make more sense to make
linux-hardened-graysky-somearchAUR packages? :)This sounds interesting.
What does the Skylake version have over the base hardened kernel?
CPU optimisations, I'm not sure of what new instructions were added with sky lake but for example a recent Xeon generation added 512-bit mathematical instructions/registers, you can only use them if you have a supported CPU otherwise you have to use a lot of instructions to do the same thing which is slower, that's what the various build versions offer
Where exactly does that matter in the kernel? Most stuff that can be vectorized already is, in form of instruction-specific modules.
This
Corresponding - march and mtune i'd guess
Link for the lazy?
Will reply to you with the link when it's ready sir.
Thank you :)
Oooh me too :)