oxidecomputer / oxidecomputer/hubris
`net` stack size seems awful big
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.6k
- Forks
- 239
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 23
Description
@lzrd just had to bump the stack size on the gimletlet/app-mgmt demo's net task to 3328 bytes. That's quite a bit larger than I would naively expect. This issue is a reminder to look into what data net is keeping on the stack, and see if we can move it into statics where it's more easily accounted for.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the net task in the gimletlet/app-mgmt demo and inspect which data it keeps on the stack. Done means identifying the stack usage and, where appropriate, moving data into statics so the task needs less stack and its memory use is easier to account for.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100