Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Assign time slice to task in MALI GPU

Hello,

I have a system with MALI G78 AE GPU which has 4 slices in 4 different partitions, each slice with 2 shader cores.

I would like to know if it is possible to assign a time slice for a task to have access to the GPU partition in the system, and if so, how this can be done?

Example: Task A and Task B execute in the same partition on the system, am I capable to assign 10ms to Task A and then 20ms to Task B and so on until the tasks are finished?

How the context switch is driven in the MALI GPU? Is it something configurable in its arbiter?

Thanks, Luca.

Parents
  • Hi Richard,

    Thanks for your reply on this case.

    I don't have any further questions, but if anyone is interested in modifying their default request_timeout value for the context switch on the GPU, this can be done dynamically through the following command:

    $ echo <new_value> | sudo tee sys/module/mali_arbiter/parameters/request_timeout

    <new value> should be in ms and sudo may not be necessary. Example: echo 10 | tee (...)

    Kind regards, Luca.

Reply
  • Hi Richard,

    Thanks for your reply on this case.

    I don't have any further questions, but if anyone is interested in modifying their default request_timeout value for the context switch on the GPU, this can be done dynamically through the following command:

    $ echo <new_value> | sudo tee sys/module/mali_arbiter/parameters/request_timeout

    <new value> should be in ms and sudo may not be necessary. Example: echo 10 | tee (...)

    Kind regards, Luca.

Children
No data