Home
last modified time | relevance | path

Searched refs:max_budget (Results 1 – 5 of 5) sorted by relevance

/linux/tools/sched_ext/
H A Dscx_flatcg.bpf.c252 u64 delta, cvtime, max_budget; in cgrp_cap_budget() local
267 max_budget = (cgrp_slice_ns * nr_cpus * cgc->hweight) / in cgrp_cap_budget()
269 if (time_before(cvtime, cvtime_now - max_budget)) in cgrp_cap_budget()
270 cvtime = cvtime_now - max_budget; in cgrp_cap_budget()
/linux/Documentation/block/
H A Dbfq-iosched.rst304 max_budget. The other performance-related parameters have been
473 max_budget section in 3. What are BFQ's tunables and how to properly configure BFQ?
484 The default value is 0, which enables auto-tuning: BFQ sets max_budget
489 reached a higher throughput by setting max_budget explicitly, i.e., by
490 setting max_budget to a higher value than 0. In particular, they have
491 set max_budget to higher values than those to which BFQ would have set
493 just increase the value of timeout_sync, leaving max_budget equal to 0.
/linux/block/
H A Dbfq-iosched.c1084 max_t(unsigned long, bfqq->max_budget, in bfq_updated_next_req()
1620 bfqq->max_budget); in bfq_bfqq_update_budg_for_activation()
1640 entity->budget = max_t(unsigned long, bfqq->max_budget, in bfq_bfqq_update_budg_for_activation()
3404 * In autotuning mode, max_budget is dynamically recomputed as the
3426 bfq_log(bfqd, "new max_budget = %d", bfqd->bfq_max_budget); in update_thr_responsiveness_params()
3968 budget = bfqq->max_budget; in __bfq_bfqq_recalc_budget()
4093 bfqq->max_budget = budget; in __bfq_bfqq_recalc_budget()
4097 bfqq->max_budget = min(bfqq->max_budget, bfqd->bfq_max_budget); in __bfq_bfqq_recalc_budget()
4111 bfqq->entity.budget = max_t(unsigned long, bfqq->max_budget, in __bfq_bfqq_recalc_budget()
[all...]
H A Dbfq-iosched.h294 int max_budget; member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_xsk.c900 u32 max_budget = MAX_TX_BUDGET_DEFAULT; in kick_tx_with_check()
909 /* By default, xsk should consume exact @max_budget descs at one in kick_tx()
912 * the number of descs to be sent is larger than @max_budget, or in kick_tx()
916 if (ready_to_send > max_budget && delta != max_budget) in kick_tx()
887 u32 max_budget = MAX_TX_BUDGET_DEFAULT; kick_tx_with_check() local