Releases: shift/aethalloc
Releases · shift/aethalloc
v0.2.3
AethAlloc v0.2.3
Performance-optimized memory allocator for network workloads.
Changes
- Add comprehensive BENCHMARK.md with full methodology
- Add
bulk_initoptimization for magazine caching - Fix clippy warning (unsafe
bulk_init) - Update benchmark results vs glibc, jemalloc, mimalloc, tcmalloc
Performance Highlights (vs competitors)
| Benchmark | AethAlloc | Result |
|---|---|---|
| Multithread Churn | 19.4M ops/s | #1 |
| Tail Latency P99 | 106ns | Tied #1 |
| Fragmentation RSS | 17 MB | #1 (1.8x better) |
| Packet Churn | 252K ops/s | Within 10% |
| Producer-Consumer | 447K ops/s | Within 3% |
Installation
# Build with Nix
nix build github:anomalyco/aethalloc/v0.2.3
# Or with Cargo
cargo build --release -p aethalloc-abiUsage
LD_PRELOAD=./result/lib/libaethalloc.so ./your-programv0.2.0 - Production Ready
Bug Fixes
- Critical: PageHeader.num_pages changed from u16 to u32 to support allocations >256MB
- Added missing posix_memalign C ABI export (was causing heap corruption)
New Features
- Stress test suite: tail latency, massive allocations, corruption tests
- GitHub Actions CI with full benchmark suite
- Weekly scheduled benchmark runs
Performance
| Benchmark | glibc | AethAlloc | Ratio |
|---|---|---|---|
| Packet Churn | 266K ops/s | 275K ops/s | +3% |
| KV Store | 328K ops/s | 365K ops/s | +11% |
| Producer-Consumer | 550K ops/s | 615K ops/s | +12% |
| Fragmentation RSS | 220 MB | 24 MB | 9x better |
| Tail Latency P99 | 103ns | 116ns | comparable |
| Massive Alloc | 5/5 PASS | 5/5 PASS | PASS |