Wrong resource usage in UI
Organization Name: EnjoyMusic Technology
Short summary about the issue/question:
Even there is only one running job with config 4 CPU core, 8 GB memory, it will result in half usage in UI. The worker has 36 vCore and 128 GB memory.
Brief what process you are following:
How to reproduce it:
OpenPAI Environment:
- OpenPAI version: v1.0.0
- Cloud provider or hardware configuration:
- OS (e.g. from /etc/os-release):
- Kernel (e.g.
uname -a): - Hardware (e.g. core number, memory size, storage size, GPU type etc.):
- Others:
Anything else we need to know:
@k1ngcyk seems the job use 1 GPU, and your bed only has 2 GPUs. The resource usage is max(usedGpu/totalGPU, usedMem/totolMem, usedCPU/Total/CPU). So it shows 50%
I assume your job requests 1 GPU. PAI using HiveD scheduler by default, and HiveD only schedules cells by which all resource dimensions proportionally increased or decreased. See more in https://github.com/microsoft/hivedscheduler/blob/master/doc/user-manual.md#config-quickstart
So in your VC setup, 1 GPU corresponding to 1 cell, i.e. (1GPU, 17CPU, 63G Mem). So (1GPU, 17CPU, 63G Mem) resource is allocated instead of just (1GPU, 4CPU, 8G Mem). And, if your job requests 2 GPU, you will requested 2 cells, i.e. 2 * (1GPU, 17CPU, 63G Mem) will be allocated.
We will refine below WebUI or Job Submission Page (user can only specify cells or skus instead of resources in each dimensions) to make it eaiser to understand,.
relate to https://github.com/microsoft/pai/issues/4601. Will use sku to improve the clarity of error message.
related to https://github.com/microsoft/pai/issues/3273.
relate to https://github.com/microsoft/pai/issues/3966
@fanyangCS @abuccts - is this a bug? has it been fixed by related issues mentioned above? if not, may we plan it in Aug release? thanks.
@fanyangCS @abuccts - is this a bug? has it been fixed by related issues mentioned above? if not, may we plan it in Aug release? thanks.
Yes. it is planed in Aug release.
