RFR(S) 8186770: NMT: Report metadata information in NMT summary
Zhengyu Gu
zgu at redhat.com
Tue Aug 29 16:31:14 UTC 2017
>> *committed* belongs to *reserved*
>> *used* is part of *capacity*
>>
>> but free chunks and available do not relate to each other.
> Ok, I can see where you are coming from now. However, while you are
> right that used is part of capacity you can also consider it true that
> free_chunks, available and waste belong to/are part of capacity. Those
> four figures constitute four different components of the total capacity.
> Perhaps something like this might make that clearer?
>
> ( Metadata: )
> ( reserved=22528KB, committed=21504KB)
> ( capacity=21327KB, used=20654KB)
> ( free chunks=113KB)
> ( available=0KB)
> ( waste = 560KB = 2.6%)
Okay, I see what you mean. But in this case, capacity = committed.
I wonder if it is cleaner that just reports free, used and waste, e.g.
( Metadata: )
( reserved=22528KB, committed=21504KB)
( used=20654KB)
( free=786KBKB)
( waste=64KB =0.30%)
where free = (capacity - used) + free_chunks + available
waste = committed - capacity - free_chunks - available
total = committed
Thanks,
-Zhengyu
>
> regards,
>
>
> Andrew Dinn
> -----------
> Senior Principal Software Engineer
> Red Hat UK Ltd
> Registered in England and Wales under Company Registration No. 03798903
> Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander
>
More information about the hotspot-runtime-dev
mailing list