Skip to content

Conversation

@wangchen61698
Copy link
Contributor

Note: Please adhere to Contributing Guidelines.

Summary

In scenarios where CPU utilization is high, txdrain_worker is not being executed in the LPWORK queue. Therefore, the implementation method of udp_writebuffer_signal is removed, and txdrain_sem is directly set

Impact

udp

Testing

It has passed self-testing in true machine(speaker equipment)

@github-actions github-actions bot added Area: Networking Effects networking subsystem Size: M The size of the change in this PR is medium labels Dec 22, 2025
Copy link
Contributor

@acassis acassis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wangchen61698 please provide a valid test in the mainline, it is good to know it is used in some device in the field, but that device is not using the HEAD of our current mainline, so please test it with mainline (ideally provide some valid test that other people can reproduce)

@jerpelea jerpelea changed the title udp:Resolve UDP exit delay due to high CPU usage net/udp: resolve UDP exit delay due to high CPU usage Dec 22, 2025
Copy link
Contributor

@jerpelea jerpelea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the commit title to:
net/udp: resolve UDP exit delay due to high CPU usage

In scenarios where CPU utilization is high, txdrain_worker is not being executed in the LPWORK queue. Therefore, the implementation method of udp_writebuffer_signal is removed, and txdrain_sem is directly set

Signed-off-by: wangchen <wangchen41@xiaomi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Networking Effects networking subsystem Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants