[MDEV-27158] Humanize the number of bytes in InnoDB messages Created: 2021-12-03 Updated: 2023-07-05 Resolved: 2022-01-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Fix Version/s: | 10.8.1 |
| Type: | Task | Priority: | Minor |
| Reporter: | Daniel Black | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
For axel for https://github.com/MariaDB/server/pull/1956#issuecomment-984543127 While we are at it: can we have some diagnostics on buffer pool allocation please? And also use some more meaningful units for the different sizes. Instead of this:
I would like to see:
Buffer pool size and chunk size could use MB and fall back to KB in case they are very small. Page size can be given in KB. |
| Comments |
| Comment by Marko Mäkelä [ 2021-12-03 ] | |||||
|
Please see my comment in MDEV-25652. I don’t think that we should abuse decimal multiplier names like k, M, G, T (10³, 10⁶, 10⁹, 10¹²) for binary ones (2¹⁰, 2²⁰, 2³⁰, 2⁴⁰). RAM is usually measured in powers of 1024 (2¹⁰) octets or bits. We should use units like KiB, MiB, GiB, TiB. | |||||
| Comment by Daniel Black [ 2021-12-03 ] | |||||
| Comment by Roel Van de Paar [ 2021-12-19 ] | |||||
|
This seems only partially implemented (page size missing)?
| |||||
| Comment by Roel Van de Paar [ 2021-12-20 ] | |||||
|
danblack Could you please add an MTR test that does a buffer pool resize and also check the output of the same, i.e. potentially that output may be updated as well? Vice versa, we could also add unit size here to align with buffer pool resize output?) Ref | |||||
| Comment by Matthias Leich [ 2022-01-14 ] | |||||
|
|