[CNCF LFX Proposal] HAMi: Reduce HAMi-core Initialization Lock Contention
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 816
- Avg merge
- 12h 32m
- Merged PRs (30d)
- 8
Description
### CNCF Project
HAMi
### Term
2026 Term 3 (Sep-Nov)
### Program Name
Reduce HAMi-core Initialization Lock Contention
### Program Description
## Description
Improve HAMi-core startup performance when hundreds of processes initialize CUDA concurrently and compete for the shared unified lock. The work should follow the maintainer discussion in the upstream issue and preserve correctness while reducing initialization latency and contention.
## Expected outcomes
- A reproducible benchmark for concurrent HAMi-core initialization.
- A maintainer-approved locking design based on the approaches accepted in the upstream discussion.
- An implementation with concurrency and regression tests.
- Before-and-after measurements of startup latency, throughput, and relevant resource usage.
- Documentation of the design, compatibility considerations, and operational impact.
- The implementation submitted for HAMi maintainer review.
### Technologies
C/C++, Linux, CUDA, NVML, HAMi-core
### Skills same as Technologies?
- [ ] Yes, the required skills are the same as the technologies listed above.
### Required/Desirable Skills
Linux concurrency, performance profiling, benchmarking, synchronization design, testing
### Mentors
Mengxuan Li | @archlitchi | mengxuan.li@dynamia.ai | limengxuan
Shouren Yang | @shouren | yangshouren@gmail.com | shouren
### Upstream Issue URL
https://github.com/Project-HAMi/HAMi/issues/1662
### Application Prerequisites
- [x] Resume
- [x] Cover Letter
- [ ] School Enrollment Verification
- [ ] Participation Permission from school or employer
- [ ] Coding Challenge
- [ ] Custom Prerequisite (fill in details below)
### Coding Challenge URL
_No response_
### Custom Prerequisite Name
_No response_
### Custom Prerequisite Description
_No response_
### Custom Prerequisite — File Upload
- [ ] Yes — completion of this task requires the mentee to submit a file.
---
**LFX program:** [CNCF - HAMi: Reduce HAMi-core Initialization Lock Contention (2026 Term 3)](https://mentorship.lfx.linuxfoundation.org/project/ce2ebae3-6936-409d-a9d7-c98b109ec814)
Contributor guide
Research direction
Start by reading the upstream issue at https://github.com/Project-HAMi/HAMi/issues/1662 and the maintainer discussion it references. Then identify the HAMi-core initialization path and establish the reproducible concurrent benchmark described here; done means a maintainer-approved locking design, implementation, concurrency and regression tests, before-and-after measurements, and documented compatibility and operational impact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp, linux
- Domain
- operating-systems, performance, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100