LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-05-2021, 04:24 PM   #1
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 398

Rep: Reputation: 87
Benchmarks of kernel options to improve performance?


So there exists an improved version of the afl fuzzer....

https://github.com/AFLplusplus/AFLplusplus

...somewhere in that readme page is...

> Improve kernel performance: modify /etc/default/grub, set

GRUB_CMDLINE_LINUX_DEFAULT="ibpb=off ibrs=off kpti=off l1tf=off mds=off mitigations=off no_stf_barrier noibpb noibrs nopcid nopti nospec_store_bypass_disable nospectre_v1 nospectre_v2 pcid=off pti=off spec_store_bypass_disable=off spectre_v2=off stf_barrier=off";

then update-grub and reboot (warning: makes the system more insecure)


Anyone aware of any benchmarks on the effects of these on doing something like a large compilation and link?

Last edited by cyent; 09-05-2021 at 04:26 PM. Reason: formatting
 
Old 09-07-2021, 10:51 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by cyent View Post
Anyone aware of any benchmarks on the effects of these on doing something like a large compilation and link?
Sorry, no.
You could start reading up on what they do at least, here: https://www.kernel.org/doc/html/late...arameters.html
 
Old 09-08-2021, 03:49 AM   #3
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,832
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by cyent View Post
Anyone aware of any benchmarks on the effects of these on doing something like a large compilation and link?
You have to look in the kernel documentation. Some of those security features specifically mentions 5% or 7% performance penalty on doing X or Y. Easiest way is to look at the particular help entries in "make menuconfig".
 
  


Reply

Tags
benchmark, boot options, kernel



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux 2.6.38 could improve kernel performance by 50 percent, thanks to new RCU lookup. LXer Syndicated Linux News 0 01-19-2011 10:20 PM
LXer: Linux kernel performance is as good as ever, benchmarks show LXer Syndicated Linux News 0 11-06-2010 08:31 AM
LXer: Wine vs Native - 3D Performance Benchmarks LXer Syndicated Linux News 0 08-05-2010 08:00 AM
LXer: EXT4, Btrfs, NILFS2 Performance Benchmarks LXer Syndicated Linux News 0 06-29-2009 02:50 AM
LXer: Howto: Performance Benchmarks a Web server LXer Syndicated Linux News 0 06-09-2006 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration