Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Introduce a tool to display memory usage. #188

Merged
merged 1 commit into from
Dec 26, 2023
Merged

Conversation

xiaoyuxlu
Copy link
Contributor

@xiaoyuxlu xiaoyuxlu commented Dec 25, 2023

Fix #34 #155 #151

  1. minor fix
  2. add max heap usage info
  3. add a script to display memory usage.

@xiaoyuxlu
Copy link
Contributor Author

results on 60f7c4a

|                         |      Requester        |      Responder        |
|                         | stack     |  heap     | stack     |  heap     |
| ----------------------- |-----------|-----------|-----------|-----------|
| async + release         |     412250|     321231|     337994|     254263|
| tokio + release         |     412682|    1134431|     338346|    1067463|
|async + releas + w/o hash|     525530|     369919|     446234|     303143|
| sync + release          |     480802|      68655|     151722|      72647|
|sync + release + w/o hash|     611130|      68463|     247354|      72647|
| async + debug           |     412314|     321231|     333930|     254263|
| sync + debug            |     480834|      68655|     147610|      72647|

1. minor fix
2. add max heap usage info
3. add a script to display memory usage.

Signed-off-by: xiaoyuxlu <[email protected]>
@jyao1 jyao1 merged commit 3d3d79e into intel:main Dec 26, 2023
47 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spdmlib use a lot of stack. It may cause stack overflow in small stack environment.
2 participants