Lets you bind a thread to a given core, this can improve performance (this library works best on linux). Java-Thread-Affinity will try to use JNA to provide access to native thread-handling functions. JNA should be installed on your system to get the most from this library. Java-Thread-Affinity currently depends on JNA version 4.4.0, which in turn depends on a version of GLIBC >= 2.14. If your operating system is an old one, with a version of GLIBC released before 2011, this library will not be able to invoke native functions.

Features

  • OpenHFT Java Thread Affinity library
  • The library will read your /proc/cpuinfo if you have one or provide one and it will determine your CPU layout
  • The library looks for isolated CPUs determined by looking at the CPUs you are not running on by default
  • Java-Thread-Affinity requires that you first isolate some CPU’s
  • Once a CPU core is isolated, the Linux scheduler will not use the CPU core to run any user-space processes
  • The isolated CPUs will not participate in load balancing, and will not have tasks running on them unless explicitly assigned

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Thread Affinity

Thread Affinity Web Site

Other Useful Business Software
Paessler - Monitor Your Whole Network in Minutes Icon
Paessler - Monitor Your Whole Network in Minutes

Auto-discovery finds your devices and deploys pre-configured sensors instantly. No project plan required, just visibility from day one.

Waiting weeks for a monitoring rollout isn't an option when infrastructure doesn't stop running. PRTG's auto-discovery scans your network and suggests from over 200 pre-configured sensor types, so you're watching servers, applications and devices within minutes, not after a multi-week deployment. Enterprise-strength monitoring, without the enterprise complexity. Start your free trial today.
Start Free 30-Day Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Thread Affinity!

Additional Project Details

Programming Language

Java

Related Categories

Java Libraries

Registered

2023-08-17