https://github.com/0xafz/samurai
Lightweight, Ultra-Low-Latency Kernel with Minimal Overhead
https://github.com/0xafz/samurai
Last synced: 3 months ago
JSON representation
Lightweight, Ultra-Low-Latency Kernel with Minimal Overhead
- Host: GitHub
- URL: https://github.com/0xafz/samurai
- Owner: 0xAFz
- License: gpl-3.0
- Created: 2025-03-08T19:08:35.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-09T23:10:50.000Z (3 months ago)
- Last Synced: 2025-03-09T23:26:02.891Z (3 months ago)
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Samurai
The ultimate Linux kernel optimized for low-latency workloads like Edge computing, VoIP, Gaming, and VPN. Featuring eBPF, XDP, and stripped-down overheads for maximum performance.
## Build Steps
1. Install dependencies:
```bash
sudo apt update && sudo apt install -y build-essential libncurses-dev bison flex libssl-dev libelf-dev bc dwarves pahole git
```
2. Clone the repo:
```bash
git clone https://github.com/0xAFz/samurai.git
cd samurai
```
3. Download kernel source (e.g., 6.13.x):
```bash
wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.13.6.tar.xz
tar -xvf linux-6.13.x.tar.xz
cd linux-6.13.x
```
4. Copy the config:
```bash
cp ../.config .
```
5. Build the kernel:
```bash
make -j$(nproc)
```
6. Install (optional):
```bash
sudo make modules_install
sudo make install
```## Debian Package Build Steps
1. Install packaging tools:
```bash
sudo apt install -y fakeroot kernel-package
```
2. Build the `.deb` package:
```bash
make -j$(nproc) deb-pkg
```
3. Find the output files (e.g., `linux-image-6.13.x_6.13.x-1_amd64.deb`) in the parent directory.## Contributions
Got ideas to make it faster? Fork the repo, tweak it, and send a PR. We welcome optimizations!