# Task Scheduler Optimization active GPUs

Incorporating the concept of Quality of Service (QoS) parameters, the task allocation problem can be reformulated to optimize both computation time and resource allocation efficiency, introducing a multi-objective optimization problem:

Minimize: $$Z = \alpha \sum\_{j=1}^{m} \sum\_{i=1}^{n} X\_{ij} \cdot T\_{ij} + \beta \sum\_{i=1}^{n} (1 - U\_i)$$

Subject to:

$$
\sum\_{j=1}^{m} X\_{ij} \cdot D\_j \leq C\_i, \ \forall i
$$

$$
\sum\_{i=1}^{n} X\_{ij} = 1, \ \forall j
$$

$$
U\_i = \frac{\sum\_{j=1}^{m} X\_{ij} \cdot D\_j}{C\_i}, \ \forall i
$$

Where:

* &#x20;$$U\_i$$represents the utilization rate of node $$i$$,
* $$\alpha$$ and $$\beta$$ are coefficients balancing the importance between minimizing computation time and maximizing resource utilization.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blendr-network.gitbook.io/blendr-network-technical-plan/blendrs-decentralized-architecture/task-scheduler-optimization-active-gpus.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
