-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON API documentation rfc #71
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Piotr Debski <[email protected]>
771399a
to
84efa8c
Compare
- for each core in cache: | ||
- Core details | ||
```json | ||
[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to have all the information here? cache.get_list has lots of information from cache.info.get
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most likely limiting info in list caches to minimum is good way to go.
}, | ||
"Cleaning policy": "alru", | ||
"Promotion policy": "always", | ||
"Cache line size [KiB]": 4096, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4096 KiB is a lot for a cache line size ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed for 4096 B :)
|
||
```json | ||
{ | ||
"header": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be better to remove header group and put command at the top (at the same level as params)?
8291c7b
to
aa0210f
Compare
Co-authored-by: Daniel Madej <[email protected]> Signed-off-by: Piotr Debski <[email protected]>
Signed-off-by: Piotr Debski [email protected]