Get the latest tech news

Bun: cgroup-aware AvailableParallelism / HardwareConcurrency on Linux


Routes navigator.hardwareConcurrency, os.availableParallelism(), and bun.getThreadCount() through WTF::numberOfProcessorCores(), which is now min(sysconf(_SC_NPROCESSORS_ONLN), sched_getaffinity co...

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Linux

Linux

Photo of Bun

Bun

Photo of cgroup

cgroup

Related news:

News photo

Snapdragon X2's Adreno X2-85 GPU Sees Driver Improvements For Linux 7.1

News photo

AMD P-State Driver Introducing New Features With Linux 7.1

News photo

Foxing aspires to be an eBPF-powered replication engine for Linux filesystems