Home
last modified time | relevance | path

Searched full:cost (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/linux/net/netfilter/
H A Dxt_limit.c34 `credit_cap'. The `peak rate' becomes the cost of passing the
35 test, `cost'.
39 discarded. Every time the match passes, you lose `cost' credits;
72 if ((READ_ONCE(priv->credit) < r->cost) && (READ_ONCE(priv->prev) == jiffies)) in limit_mt()
83 if (new_credit >= r->cost) { in limit_mt()
85 new_credit -= r->cost; in limit_mt()
128 if (r->cost == 0) { in limit_mt_check()
130 r->cost = user2credits(r->avg); in limit_mt_check()
150 u_int32_t credit_cap, cost; member
166 .cost in limit_mt_compat_from_user()
[all...]
H A Dxt_hashlimit.c102 u_int64_t cost; member
447 `credit_cap'. The `peak rate' becomes the cost of passing the
448 test, `cost'.
452 discarded. Every time the match passes, you lose `cost' credits;
600 dh->rateinfo.cost = user2credits_byte(hinfo->cfg.avg); in rateinfo_init()
605 dh->rateinfo.cost = user2credits(hinfo->cfg.avg, revision); in rateinfo_init()
718 tmp = tmp * dh->rateinfo.cost; in hashlimit_byte_cost()
739 u64 cost; in hashlimit_mt_common() local
766 cost = (cfg->mode & XT_HASHLIMIT_BYTES) ? skb->len : 1; in hashlimit_mt_common()
767 dh->rateinfo.current_rate += cost; in hashlimit_mt_common()
[all...]
/linux/block/
H A Dblk-iocost.c3 * IO cost model based controller.
10 * observable cost metric. This is distinguished from CPU and memory where
22 * While there is no cost metric we can trivially observe, it isn't a
23 * complete mystery. For example, on a rotational device, seek cost
30 * 1. IO Cost Model
32 * IO cost model estimates the cost of an IO given its basic parameters and
33 * history (e.g. the end sector of the last IO). The cost is measured in
34 * device time. If a given IO is estimated to cost 10ms, the device should
37 * Currently, there's only one builtin cost mode
712 cost_to_abs_cost(u64 cost,u32 hw_inuse) cost_to_abs_cost() argument
718 iocg_commit_bio(struct ioc_gq * iocg,struct bio * bio,u64 abs_cost,u64 cost) iocg_commit_bio() argument
1453 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); iocg_wake_fn() local
2474 u64 cost, new_inuse; adjust_inuse_and_calc_cost() local
2534 u64 cost = 0; calc_vtime_cost_builtin() local
2574 u64 cost; calc_vtime_cost() local
2599 u64 cost; calc_size_vtime_cost() local
2616 iocg_handle_over_budget(struct rq_qos * rqos,struct ioc_gq * iocg,struct bio * bio,struct ioc_now * now,struct iocg_wait * wait,bool use_debt,bool ioc_locked,u64 abs_cost,u64 cost) iocg_handle_over_budget() argument
2694 u64 abs_cost, cost, vtime; ioc_rqos_throttle() local
2782 u64 vtime, abs_cost, cost; ioc_rqos_merge() local
[all...]
/linux/kernel/power/
H A Denergy_model.c76 DEFINE_EM_DBG_SHOW(cost, cost);
105 debugfs_create_file("cost", 0444, d, &em_dbg[i], in em_debug_create_ps()
263 /* Compute the cost of each performance state. */ in em_compute_costs()
265 unsigned long power_res, cost; in em_compute_costs()
268 ret = cb->get_cost(dev, table[i].frequency, &cost); in em_compute_costs()
269 if (ret || !cost || cost > EM_MAX_POWER) { in em_compute_costs()
270 dev_err(dev, "EM: invalid cost %lu %d\n", in em_compute_costs()
271 cost, re in em_compute_costs()
266 unsigned long power_res, cost; em_compute_costs() local
[all...]
/linux/lib/zstd/compress/
H A Dzstd_compress_sequences.c68 * Returns the cost in bytes of encoding the normalized count header.
82 * Returns the cost in bits of encoding the distribution described by count
87 unsigned cost = 0; in ZSTD_entropyCost() local
96 cost += count[s] * kInverseProbabilityLog256[norm]; in ZSTD_entropyCost()
98 return cost >> 8; in ZSTD_entropyCost()
102 * Returns the cost in bits of encoding the distribution in count using ctable.
111 size_t cost = 0; in ZSTD_fseBitCost() local
130 cost += (size_t)count[s] * bitCost; in ZSTD_fseBitCost()
132 return cost >> kAccuracyLog; in ZSTD_fseBitCost()
136 * Returns the cost in bits of encoding the distribution in count using the
[all …]
/linux/net/bridge/netfilter/
H A Debt_limit.c46 if (info->credit >= info->cost) { in ebt_limit_mt()
48 info->credit -= info->cost; in ebt_limit_mt()
85 info->cost = user2credits(info->avg); in ebt_limit_mt_check()
98 compat_uint_t credit, credit_cap, cost; member
/linux/Documentation/netlink/specs/
H A Ddev-energymodel.yaml25 equal power cost.
110 name: cost
113 The cost coefficient associated with this level, used during energy
/linux/Documentation/scheduler/
H A Dsched-energy.rst83 Model (EM) framework. The EM of a platform is composed of a power cost table
161 The CPU capacity and power cost associated with each OPP is listed in
262 increase the cost of the tasks already running there. If the waking task is
263 placed on a big CPU, its own execution cost might be higher than if it was
266 consumed by CPUs, the extra cost of running that one task on a big core can be
267 smaller than the cost of raising the OPP on the little CPUs for all the other
271 for all platforms, without knowing the cost of running at different OPPs on all
346 energy. So, your platform must provide power cost tables to the EM framework in
/linux/drivers/iio/health/
H A DKconfig19 heart rate monitor and low-cost pulse oximeter.
32 heart rate monitor and low-cost pulse oximeter.
/linux/tools/perf/pmu-events/arch/x86/graniterapids/
H A Dpipeline.json119 "BriefDescription": "All mispredicted branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
123 "PublicDescription": "All mispredicted branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. Available PDIST counters: 0",
137 "BriefDescription": "Mispredicted conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
141 "PublicDescription": "Mispredicted conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. Available PDIST counters: 0",
155 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
159 "PublicDescription": "Mispredicted non-taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. Available PDIST counters: 0",
176 "BriefDescription": "Mispredicted taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
180 "PublicDescription": "Mispredicted taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. Available PDIST counters: 0",
206 "BriefDescription": "Mispredicted indirect CALL retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
210 "PublicDescription": "Mispredicted indirect CALL retired. This precise event may be used to get the misprediction cost vi
[all...]
/linux/Documentation/arch/x86/
H A Dpti.rst66 this protection comes at a cost:
77 2. Runtime Cost
85 to work under PTI. This doesn't have a direct runtime cost but it can
100 deferred until the exit to userspace, minimizing the cost.
/linux/tools/perf/pmu-events/arch/x86/rocketlake/
H A Drkl-metrics.json135 "BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code footprint programs (i-side cache; TLB and BTB misses)",
143 "BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA",
148 "PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA. Examples include function calls; loops and alignments. (A lower bound)"
151 "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation",
157 "PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Covers Core Bound when High ILP as well as when long-latency execution units are busy. Related metrics: "
160 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks",
166 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks. Related metrics: tma_fb_full, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full, tma_uc_bound"
169 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks",
175 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks. Related metrics: tma_l3_hit_latency, tma_mem_latency"
178 "BriefDescription": "Total pipeline cost o
[all...]
/linux/tools/perf/pmu-events/arch/x86/icelake/
H A Dicl-metrics.json135 "BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code footprint programs (i-side cache; TLB and BTB misses)",
143 "BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA",
148 "PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA. Examples include function calls; loops and alignments. (A lower bound)"
151 "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation",
157 "PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Covers Core Bound when High ILP as well as when long-latency execution units are busy. Related metrics: "
160 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks",
166 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks. Related metrics: tma_fb_full, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full, tma_uc_bound"
169 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks",
175 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks. Related metrics: tma_l3_hit_latency, tma_mem_latency"
178 "BriefDescription": "Total pipeline cost o
[all...]
/linux/tools/perf/pmu-events/arch/x86/skylake/
H A Dskl-metrics.json120 "BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code footprint programs (i-side cache; TLB and BTB misses)",
128 "BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA",
133 "PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA. Examples include function calls; loops and alignments. (A lower bound)"
136 "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation",
142 "PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Covers Core Bound when High ILP as well as when long-latency execution units are busy. Related metrics: "
145 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks",
151 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks. Related metrics: tma_fb_full, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full, tma_uc_bound"
154 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks",
160 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks. Related metrics: tma_l3_hit_latency, tma_mem_latency"
163 "BriefDescription": "Total pipeline cost o
[all...]
/linux/tools/perf/pmu-events/arch/x86/tigerlake/
H A Dtgl-metrics.json135 "BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code footprint programs (i-side cache; TLB and BTB misses)",
143 "BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA",
148 "PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA. Examples include function calls; loops and alignments. (A lower bound)"
151 "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation",
157 "PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Covers Core Bound when High ILP as well as when long-latency execution units are busy. Related metrics: "
160 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks",
166 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks. Related metrics: tma_fb_full, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full, tma_uc_bound"
169 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks",
175 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks. Related metrics: tma_l3_hit_latency, tma_mem_latency"
178 "BriefDescription": "Total pipeline cost o
[all...]
/linux/Documentation/virt/
H A Dguest-halt-polling.rst13 cost of handling the IPI) when performing a wakeup.
15 2) The VM-exit cost can be avoided.
/linux/Documentation/mm/
H A Dovercommit-accounting.rst57 | SHARED or READ-only - 0 cost (the file is the map not swap)
62 | PRIVATE READ-only - 0 cost (but of little use)
H A Dmultigen_lru.rst62 2. The cost of evicting the former channel is higher due to the TLB
103 ``folio->flags`` and therefore has a negligible cost. A feedback loop
187 can incur the highest CPU cost in the reclaim path.
207 is false positive, the cost is an additional scan of a range of PTEs,
/linux/lib/
H A DKconfig.kfence14 to have negligible cost to permit enabling it in production
24 enable KASAN due to its cost, consider using KFENCE.
/linux/Documentation/fb/
H A Ddeferred_io.rst17 - app continues writing to that page with no additional cost. this is
26 writes to occur at minimum cost. Then after some time when hopefully things
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/
H A Dclx-metrics.json359 "BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code footprint programs (i-side cache; TLB and BTB misses)",
367 "BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA",
372 "PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA. Examples include function calls; loops and alignments. (A lower bound)"
375 "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation",
381 "PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Covers Core Bound when High ILP as well as when long-latency execution units are busy. Related metrics: "
384 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks",
390 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks. Related metrics: tma_fb_full, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full, tma_uc_bound"
393 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks",
399 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks. Related metrics: tma_l3_hit_latency, tma_mem_latency"
402 "BriefDescription": "Total pipeline cost o
[all...]
/linux/tools/perf/pmu-events/arch/x86/skylakex/
H A Dskx-metrics.json341 "BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code footprint programs (i-side cache; TLB and BTB misses)",
349 "BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA",
354 "PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA. Examples include function calls; loops and alignments. (A lower bound)"
357 "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation",
363 "PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Covers Core Bound when High ILP as well as when long-latency execution units are busy. Related metrics: "
366 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks",
372 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks. Related metrics: tma_fb_full, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full, tma_uc_bound"
375 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks",
381 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks. Related metrics: tma_l3_hit_latency, tma_mem_latency"
384 "BriefDescription": "Total pipeline cost o
[all...]
/linux/tools/perf/pmu-events/arch/x86/icelakex/
H A Dicx-metrics.json411 "BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code footprint programs (i-side cache; TLB and BTB misses)",
419 "BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA",
424 "PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA. Examples include function calls; loops and alignments. (A lower bound)"
427 "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation",
433 "PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Covers Core Bound when High ILP as well as when long-latency execution units are busy. Related metrics: "
436 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks",
442 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks. Related metrics: tma_fb_full, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full, tma_uc_bound"
445 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks",
451 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks. Related metrics: tma_l3_hit_latency, tma_mem_latency"
454 "BriefDescription": "Total pipeline cost o
[all...]
/linux/tools/perf/pmu-events/arch/x86/pantherlake/
H A Dpipeline.json561 "BriefDescription": "All mispredicted branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.ALL_BRANCHES_COST]",
565 "PublicDescription": "All mispredicted branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.ALL_BRANCHES_COST] Available PDIST counters: 0,1",
634 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_NTAKEN_COST]",
638 "PublicDescription": "Mispredicted non-taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_NTAKEN_COST] Available PDIST counters: 0,1",
685 "BriefDescription": "number of branch instructions retired that were mispredicted and taken backward. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_TAKEN_BWD_COST]",
689 "PublicDescription": "number of branch instructions retired that were mispredicted and taken backward. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_TAKEN_BWD_COST] Available PDIST counters: 0,1",
727 "BriefDescription": "number of branch instructions retired that were mispredicted and taken forward. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_TAKEN_FWD_COST]",
731 "PublicDescription": "number of branch instructions retired that were mispredicted and taken forward. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_TAKEN_FWD_COST] Available PDIST counters: 0,1",
737 "BriefDescription": "Mispredicted taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_TAKEN_COST]",
741 "PublicDescription": "Mispredicted taken conditional branch instructions retired. This precise event may be used to get the misprediction cost vi
[all...]
/linux/tools/perf/util/
H A Dlevenshtein.c16 * are kept in memory (if swaps had the same or higher cost as one deletion
29 * All the big loop does is determine the partial minimum-cost paths.

12345678910>>...16