ZTS7 动态算法中心 ZTS7 Dynamic Algorithm Hub

Linux Kernel → ZTS Module → Runtime Hot-Swap

将 Linux 内核算法移植为可加载的 .zts 模块。热替换 TCP 拥塞控制、驱动、文件系统,无需重新编译或重启内核。 Port Linux kernel algorithms as loadable .zts modules. Hot-swap TCP congestion control, drivers, filesystems without recompiling or rebooting the kernel.

// 架构流程 // ARCHITECTURE

Linux 内核源码 or 其他驱动代码 Linux Kernel or other code ZTS 适配层 ZTS Adapt GCC -nostdlib -fPIC .zts 模块 ZratroOS 运行时 ZratroOS Runtime 热替换生效 Hot-Swap

// 核心特性 // FEATURES

🔄

热更新 Hot Update

替换算法无需重启 Replace without reboot

🛡️

自愈内核 Self-Healing

故障检测、隔离、回滚 Detect, isolate, rollback

🐧

Linux 移植 Linux Porting

编译 Linux 代码为 .zts Compile Linux to .zts

即插即用 Plug & Play

运行时动态加载模块 Runtime dynamic loading

// 可用模块 // AVAILABLE MODULES

就绪 READY

TCP CUBIC

linux/net/ipv4/tcp_cubic.c

CUBIC 拥塞控制。用三次函数增长窗口替代 TCP Reno,适用于高速网络。 CUBIC congestion control. Replaces TCP Reno with cubic window growth for high-speed networks.

下载 .zts 模块 → Download .zts →
就绪 READY

TCP BBR

linux/net/ipv4/tcp_bbr.c

BBR v2 拥塞控制。基于模型的带宽延迟积优化,实现最佳吞吐量与低延迟。 BBR v2 congestion control. Model-based bandwidth-delay product for optimal throughput with low latency.

下载 .zts 模块 → Download .zts →
就绪 READY

virtio-blk

linux/drivers/block/virtio_blk.c

Virtio 块驱动。修复 QEMU 和云环境中的 I/O 超时,支持 scatter-gather 和重试。 Virtio block driver. Fixes I/O timeout in QEMU and cloud, with scatter-gather and retry support.

下载 .zts 模块 → Download .zts →
就绪 READY

统一驱动包 All Drivers

virtio_blk + virtio_net + AHCI + NVMe + e1000 + WiFi + USB

包含所有设备驱动:virtio-blk/net、AHCI SATA、NVMe、e1000、RTL8188EU WiFi、XHCI USB 3.0。一个模块覆盖所有硬件。 All device drivers: virtio-blk/net, AHCI SATA, NVMe, e1000, RTL8188EU WiFi, XHCI USB 3.0. One module for all hardware.

下载 .zts 模块 → Download .zts →
计划中 PLANNED

FAT32 VFAT

linux/fs/fat/namei_vfat.c

长文件名支持。修复 FAT32 文件系统的路径解析和 mkdir 问题。 Long filename support. Fixes path resolution and mkdir in FAT32.

计划中 PLANNED

CFS 调度器 CFS Scheduler

linux/kernel/sched/fair.c

完全公平调度器。红黑树优先级增强的任务调度。 Completely Fair Scheduler. Red-black tree priority scheduling.

计划中 PLANNED

VFS 页缓存 VFS Page Cache

linux/mm/filemap.c

页缓存和预读。显著提升文件系统读写性能。 Page cache and readahead. Significantly improves FS performance.

📢

版本同步提示 Version Sync Notice

当 Linux 内核版本更新时,我们会抓紧更新 ZTS 适配层和模块。更多插件敬请期待! When the Linux kernel version is updated, we will promptly update the ZTS adaptation layer and modules. More plugins coming soon!

// 使用方法 // HOW TO USE

# 1. 下载 .zts 模块 # 1. Download a .zts module
wget modules/0x00000001.zts

# 2. 复制到 ZratroOS 模块目录 # 2. Copy to ZratroOS module directory
cp 0x00000001.zts /zrr64/zts/p.zts6/

# 3. 运行时加载 (无需重启) # 3. Load at runtime (no reboot)
zts_load tcp_cubic

# 4. 验证已加载模块 # 4. Verify loaded modules
zts_list
# 从 Linux 源码自建模块 # Build your own module from Linux source
cd SYSTEM/lib/lints
gcc -nostdlib -fPIC -shared -O2 -I include \
    -o my_module.zts modules/network/my_algo.c
./tools/zts_header_tool --name my_algo --priority 0x1 --category NETWORK --inject my_module.zts