Skip to content

Reene444/adaptive-cpu-pinning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adaptive CPU Pinning Framework for Java

Java Spring Boot License Maven Central

Adaptive CPU affinity framework for Java with business-aware isolation, virtual thread support, and chaos engineering integration.

Features

  • Adaptive CPU binding based on workload, QPS, latency, and GC pressure
  • Business-aware isolation with Spring Boot annotations
  • Virtual thread support (Java 21+)
  • Chaos engineering integration

Installation

<dependency>
    <groupId>com.reene4444</groupId>
    <artifactId>adaptive-cpu-pinning</artifactId>
    <version>1.0.0</version>
</dependency>

Quick Start

cpu:
  pinning:
    enabled: true
@AffinityPool("my-service", cpus = {0,1,2,3})
@Service
public class MyService {
    @AdaptiveAffinity(workloadType = WorkloadType.CPU_INTENSIVE)
    public void process() {
        // Automatically pinned to optimal CPUs
    }
}

Performance & Requirements

30-50% latency reduction, 20-40% throughput improvement. CPU pin overhead: ~5μs. Benchmarks

Java 17+, Spring Boot 3.2+ (optional), Linux (primary). Apache License 2.0

About

Adaptive CPU pinning SDK for Java - CPU affinity management

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages