libxl: error: libxl.c:5928:libxl_sched_credit_params_get: getting sched credit param:



  • Error: libxl: error: libxl.c:5928:libxl_sched_credit_params_get: getting sched credit param: Invalid argument

    This is not as scary as it looks. It mean the sched_credit option you used is not supported, the focus on the Invalid argument.

    # xl cpupool-list 
    Name               CPUs   Sched     Active   Domain count
    Pool-0               2    credit       y          1
    uat                  2   credit2       y          1
    
    # xl sched-credit -p uat -s
    libxl: error: libxl.c:5928:libxl_sched_credit_params_get: getting sched credit param: Invalid argument
    libxl_sched_credit_params_get failed.
    Cpupool uat: [sched params unavailable]
    

    From the cpupool list you can see the uat cpupool does not use sched_credit, it uses sched_credit2

    If you change the command to use the default Pool-0, it works because the parameters use are designed to be used with that cpu scheduler.

    # xl sched-credit -p Pool-0 -s
    Cpupool Pool-0: tslice=30ms ratelimit=1000us
    

Log in to reply
 

© Lightnetics 2024