runtime/comms: Faster RPC alloc #107

Merged
sb10q merged 1 commits from pca006132/artiq-zynq:master into master 2020-09-03 20:01:52 +08:00

We do busy polling for some time before doing await, for small
allocations we could avoid the context switching and reduce the latency.

This is an attempt to improve the performance problem stated in https://github.com/m-labs/artiq/issues/1324.

The time taken for the make_data call drops from 0.023068s to 0.009652. >50% performance improvement in this case.

We do busy polling for some time before doing await, for small allocations we could avoid the context switching and reduce the latency. This is an attempt to improve the performance problem stated in https://github.com/m-labs/artiq/issues/1324. The time taken for the make_data call drops from 0.023068s to 0.009652. >50% performance improvement in this case.
sb10q closed this pull request 2020-09-03 20:01:52 +08:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#107
There is no content yet.