[ https://issues.apache.org/jira/browse/YUNIKORN-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wilfred Spiegelenburg resolved YUNIKORN-2140. --------------------------------------------- Fix Version/s: 1.5.0 Resolution: Fixed Changes committed all resource have now units when displayed thank you [~Yu-Lin Chen] > Improve presentation of resource units in YuniKorn UI > ----------------------------------------------------- > > Key: YUNIKORN-2140 > URL: https://issues.apache.org/jira/browse/YUNIKORN-2140 > Project: Apache YuniKorn > Issue Type: Improvement > Components: webapp > Reporter: Yu-Lin Chen > Assignee: Yu-Lin Chen > Priority: Minor > Labels: pull-request-available > Fix For: 1.5.0 > > Attachments: YuniKorn UI Units.png, YuniKorn UI unit (CPU v2).png > > > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org For additional commands, e-mail: dev-h...@yunikorn.apache.org