Skip to content

event_linux consumes significant system resources when a large number of nodes and groups are present. #2566

@Jimmy-Wen

Description

@Jimmy-Wen
  1. The current event_linux implementation requires each business node to call neu_event_new separately to create an epoll instance. If the system has dozens or hundreds of nodes, there will be a large number of epoll file descriptors (fd) in the system, which will obviously consume a lot of system resources.
  2. Currently, at least 3 timerfds are created for each group of every business node. If the system has dozens of nodes and hundreds of groups, hundreds of timerfds will appear. This, firstly, consumes the process's file descriptor resources, and secondly, the frequent kernel/user-mode switching of timerfds is quite CPU-intensive.

This issue was automatically translated from Chinese.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions