Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
As discussed in Slack, I will make below changes of resources presentation in YuniKorn UI.
- Chang memory unit to binary-based. For example: 'kB', 'MB', 'GB', 'TB', 'PB’→’Ki’, ‘Mi’, ‘Gi’, ‘Ti’, ‘Pi’
- Align CPU unit with K8S, remove ‘k’ from CPU unit and use ‘m’ to present millicpu. For example: 1000 → 1000m, 10k → 10
- Change the fixed digit number from 1 to 2
Record the motivations here:
- Regarding Memory unit, the primary motivation is that most resource monitoring systems are using binary-based. For instance, in the K8S Dashboard, the node capacity is displayed as 30.98Gi, while in the YuniKorn UI, it shows as 33.3 GB. Without a calculator, comparing these values becomes challenging.
- Regarding CPU unit, the motivation is to align with K8S
- Regarding the fixed digit number change. Consider this scenario, if I sumitted a job with 1000Mi memory, the current UI show 1.0 GB memory allocated. However, the true value is 1.048576 GB. Change to 2 fixed digits is more accuracy.
Attached the proposed result after changing.
Attachments
Attachments
Issue Links
- links to