fixstars / fixstars/lightning-kit
doca udp frame builder performance improvement
- Dominant language
- C++
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
#Purpose
Based on 7de28d5663556a789b1366660e2bd53b250f69b1 I measured the performance of docagpunetio.
Current server structure
```
|doca flow| ---------> |frame builder|
frame builder structure
|receive_tcp|<--semaphore-->|makeframe|<--semaphore-->|notify frame built|
```
#Environment
Environment is the same as https://github.com/fixstars/lightning-kit/issues/10
#Result
The difference with https://github.com/fixstars/lightning-kit/issues/10 is that we cannot set chunk size because udp doesn't check ack. Hence, we just show maximum performance. The trend looks the same as https://github.com/fixstars/lightning-kit/issues/10
env | process | session/process | Gbps/session
-- | -- | -- | --
1 | 1 | 1 | 43
2 | 2 | 1 | 18
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing commit 7de28d5663556a789b1366660e2bd53b250f69b1 and the frame-builder flow described with receive_tcp, makeframe, semaphores, and frame notification. Reproduce the environment from issue #10 and compare the reported UDP measurements. Done requires a clearly defined performance improvement, but this issue does not specify the implementation target or success threshold.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- networking, performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100