summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
403bb45)
Definition of [KMGTP] and [KMGTP]i for kb_base=1000 are opposite.
It instead describes how it works when kb_base=1024 which is default.
This was originally spotted by Mikhail Terekhov in the mailing list
(in a related thread about a week ago, and the patch hasn't been sent).
http://www.spinics.net/lists/fio/msg06151.html
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
prefixes. To specify power-of-10 decimal values defined in the
International System of Units (SI):
prefixes. To specify power-of-10 decimal values defined in the
International System of Units (SI):
- * *Ki* -- means kilo (K) or 1000
- * *Mi* -- means mega (M) or 1000**2
- * *Gi* -- means giga (G) or 1000**3
- * *Ti* -- means tera (T) or 1000**4
- * *Pi* -- means peta (P) or 1000**5
+ * *K* -- means kilo (K) or 1000
+ * *M* -- means mega (M) or 1000**2
+ * *G* -- means giga (G) or 1000**3
+ * *T* -- means tera (T) or 1000**4
+ * *P* -- means peta (P) or 1000**5
To specify power-of-2 binary values defined in IEC 80000-13:
To specify power-of-2 binary values defined in IEC 80000-13:
- * *K* -- means kibi (Ki) or 1024
- * *M* -- means mebi (Mi) or 1024**2
- * *G* -- means gibi (Gi) or 1024**3
- * *T* -- means tebi (Ti) or 1024**4
- * *P* -- means pebi (Pi) or 1024**5
+ * *Ki* -- means kibi (Ki) or 1024
+ * *Mi* -- means mebi (Mi) or 1024**2
+ * *Gi* -- means gibi (Gi) or 1024**3
+ * *Ti* -- means tebi (Ti) or 1024**4
+ * *Pi* -- means pebi (Pi) or 1024**5
With :option:`kb_base`\=1024 (the default), the unit prefixes are opposite
from those specified in the SI and IEC 80000-13 standards to provide
With :option:`kb_base`\=1024 (the default), the unit prefixes are opposite
from those specified in the SI and IEC 80000-13 standards to provide
-Ki means kilo (K) or 1000
+K means kilo (K) or 1000
-Mi means mega (M) or 1000**2
+M means mega (M) or 1000**2
-Gi means giga (G) or 1000**3
+G means giga (G) or 1000**3
-Ti means tera (T) or 1000**4
+T means tera (T) or 1000**4
-Pi means peta (P) or 1000**5
+P means peta (P) or 1000**5
-K means kibi (Ki) or 1024
+Ki means kibi (Ki) or 1024
-M means mebi (Mi) or 1024**2
+Mi means mebi (Mi) or 1024**2
-G means gibi (Gi) or 1024**3
+Gi means gibi (Gi) or 1024**3
-T means tebi (Ti) or 1024**4
+Ti means tebi (Ti) or 1024**4
-P means pebi (Pi) or 1024**5
+Pi means pebi (Pi) or 1024**5