Fix SI and Decimal unit usage

SI: For 1000, it is kB, MB, GB
IEC: For 1024, it is KiB, MiB, GiB

JEDEC: For 1024, it is KB, MB (conflicts with SI, of course)

Ultimately, what we decided is for RAM use IEC and for Disk use SI.
This is what docker does and also suggested here -
https://stackoverflow.com/questions/8632269/displaying-file-size-1000b-1kb-or-1024b-1kb
This commit is contained in:
Girish Ramakrishnan
2022-10-13 21:48:03 +02:00
parent da1653cc77
commit db1056112c
11 changed files with 36 additions and 22 deletions

View File

@@ -92,4 +92,4 @@
</div>
</div>
</div>
</div>