High cpu usage by many select() syscalls
Bug #1876918 reported by
Tobias Karnat
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
arpon (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Please consider the following patch to switch from select() with 1 ms timeout to epoll_wait() without timeout.
# syscount-bpfcc -i 1
Tracing syscalls, printing top 10... Ctrl+C to quit
[14:48:24]
SYSCALL COUNT
select 1497
With applied patch the used system time is greatly reduced.
To post a comment you must log in.
The attachment "arpon-epoll.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]