All Projects → tytydraco → Ktweak

tytydraco / Ktweak

Licence: gpl-3.0
A no-nonsense kernel tweak script for Linux and Android systems, backed by evidence.

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Ktweak

Bsodsurvivor
This project aims to facilitate debugging a kernel driver in windows by adding support for a code change on the fly without reboot/unload, and more!
Stars: ✭ 122 (-16.44%)
Mutual labels:  kernel
Djy Oneplus6 Or Oneplus6t Nethunter Andrax Kernel
DJY Nethunter And Andrax Kernel Oneplus6-Oneplus6T
Stars: ✭ 132 (-9.59%)
Mutual labels:  kernel
Hodlr
A fast, accurate direct solver and determinant computation for dense linear systems
Stars: ✭ 140 (-4.11%)
Mutual labels:  kernel
Af ktls
Linux Kernel TLS/DTLS Module
Stars: ✭ 124 (-15.07%)
Mutual labels:  kernel
Build
Armbian Linux build framework
Stars: ✭ 1,827 (+1151.37%)
Mutual labels:  kernel
Os One
一个自制的树莓派操作系统
Stars: ✭ 132 (-9.59%)
Mutual labels:  kernel
Inspector
The Inspector tool is a privilege escalation helper (PoC), easy to deployed on web server, this tool can list process running with root, check kernel version, check history file, get possible exploit ...
Stars: ✭ 119 (-18.49%)
Mutual labels:  kernel
Kernel comment
中文注释说明内核源码
Stars: ✭ 145 (-0.68%)
Mutual labels:  kernel
Blizzard Jailbreak
An Open-Source iOS 11.0 -> 11.4.1 (soon iOS 13) Jailbreak, made for teaching purposes.
Stars: ✭ 130 (-10.96%)
Mutual labels:  kernel
Ds4vita
Stars: ✭ 135 (-7.53%)
Mutual labels:  kernel
Proton Clang
Proton Clang toolchains builds in the form of a continuously updating Git repository. Clone with --depth=1.
Stars: ✭ 126 (-13.7%)
Mutual labels:  kernel
Spylon Kernel
Jupyter kernel for scala and spark
Stars: ✭ 129 (-11.64%)
Mutual labels:  kernel
Symstore
The history of Windows Internals via symbols.
Stars: ✭ 133 (-8.9%)
Mutual labels:  kernel
Releases
dahliaOS ISO releases
Stars: ✭ 125 (-14.38%)
Mutual labels:  kernel
Neu Os
Based on linux0.11, break it down, then reassemble (For NEU Lab use)
Stars: ✭ 143 (-2.05%)
Mutual labels:  kernel
Uc Os2
µC/OS-II is a preemptive, highly portable, and scalable real-time kernels. Designed for ease of use on a huge number of CPU architectures.
Stars: ✭ 120 (-17.81%)
Mutual labels:  kernel
M5p01 muprokaron
A tiny real-time kernel focusing on formal reliability and simplicity.
Stars: ✭ 132 (-9.59%)
Mutual labels:  kernel
Gvisor
Application Kernel for Containers
Stars: ✭ 12,012 (+8127.4%)
Mutual labels:  kernel
Cfb
Canadian Furious Beaver is a tool for hijacking IRPs handler in Windows drivers, and facilitating the process of analyzing Windows drivers for vulnerabilities
Stars: ✭ 146 (+0%)
Mutual labels:  kernel
Knetstat
Simple kernel module to inspect socket options
Stars: ✭ 134 (-8.22%)
Mutual labels:  kernel

KTweak

A no-nonsense kernel tweak script for Linux and Android systems, backed by evidence.

Another "kernel optimizer"?

No. Well, yes. However, a "kernel optimizer" is a poor way to put it. KTweak performs kernel adjustments based on facts and evidence, unlike other optimizers with poorly written or heavily obfuscated code.

  • NFS Injector uses closed source, compiled binaries with various typos in the README. It also provides a "pro" version that costs money.
  • MAGNETAR also uses closed source, compiled binaries. I'd love to say more about this, but I can't even find out what the module even does.
  • FDE.AI also uses closed source, compiled binaries with a paid variant.
  • LKT sets random nonsensical build.props that don't even exist.
  • ZeetaTweaks is a clone of KTweak with the values changed. As of the V11 zip, it disables essential system services, deletes files permanently from /data/data, kills perfd (which is the userspace boosting daemon), disables SELinux, disables fsync, and various other detrimental changes.

What's different about KTweak?

Unlike other "kernel optimizers", KTweak is:

  • Entirely open source with no compiled components
  • Concise, at less than 200 lines long
  • Backed by benchmarks and evidence
  • Designed by an experienced kernel developer
  • Non-intrusive and completely systemless

Benchmarks

The following benchmarks were performed on a OnePlus 7 Pro running the stock kernel provided by the OEM on Android 10. KTweak sacrifices throughput for latency, since latency correlates to UI / UX smoothness. This explains the slight regression with the scheduler throughput.

Scheduler latency via schbench (lower is better)

  • Stock: 50.0th: 4052 75.0th: 14288 90.0th: 26848 95.0th: 32960 *99.0th: 45120 99.5th: 49856 99.9th: 59200 min=0, max=73600

  • KTweak: 50.0th: 1054 75.0th: 1790 90.0th: 2628 95.0th: 3836 *99.0th: 8880 99.5th: 11472 99.9th: 18080 min=0, max=32781

Synthmark Latencymark (lower is better)

  • Stock: 10 / 12
  • KTweak: 4 / 4

Scheduler throughput via perf bench sched messaging (lower is better)

  • Stock: 0.331 seconds
  • KTweak: 0.808 seconds

Scheduler throughput via perf bench sched pipe (lower is better)

  • Stock: 16.159 seconds
  • KTweak: 18.599 seconds

The Tweaks

Head over to the script itself to learn what everything does. It is documented in the comments.

Contact

You can find me on telegram at @tytydraco. Feel free to email me at [email protected].

Join the releases channel at @ktweak, or the discussion channel at @ktweak_discussion.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].