facebook / facebook/folly

IO threads are used in a imbalance

Open
#1,427 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

In my program, I use 16 eventbases, chosen by Round-robin.
During its working, i find that IOThread usage is very imbalance: 16 IO threads, some CPU usage reach to 98%+(1 threads exactly), while other only use 20%~, which caused a long tail latency.
Here my question is why IO threads are so imbalance?
![IO threads](https://user-images.githubusercontent.com/24487651/90462794-0700c600-e13c-11ea-9f85-3477f53920c3.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.