Skip to content

interconnect: qcom: Add bandwidth limiter support for QLI targets#678

Open
MuraliKrishnaboina-16 wants to merge 1 commit into
qualcomm-linux:qcom-6.18.yfrom
MuraliKrishnaboina-16:qcom-6.18.y
Open

interconnect: qcom: Add bandwidth limiter support for QLI targets#678
MuraliKrishnaboina-16 wants to merge 1 commit into
qualcomm-linux:qcom-6.18.yfrom
MuraliKrishnaboina-16:qcom-6.18.y

Conversation

@MuraliKrishnaboina-16

Copy link
Copy Markdown

Introduce a sysfs interface to allow userspace-controlled bandwidth limiting for QLI targets.

The current PMU-based scaling using static DDR-CPU operating points is overly aggressive for certain workloads and results in power regressions. Provide a fine-grained mechanism to restrict bandwidth at the client level, enabling better control of interconnect usage.

This improves power efficiency by allowing targeted bandwidth throttling for specific clients and workloads.

List of all the interconnect clients are populated inside /sys/kernel/interconnect folder and each client's voting can be limited by setting the limit_ab, limit_ib and limit_commit sysfs options present inside the path folder.

Following would be the directory structure.

  • soc:qcom,dcvs:llcc:sp
    • chm_apps-qns_llcc --> path used by the client - limit_ab --> AB limit in KBps - limit_ib --> IB limit in KBps - limit_commit --> limits will be applied once commit is set

Introduce a sysfs interface to allow userspace-controlled bandwidth
limiting for QLI targets.

The current PMU-based scaling using static DDR-CPU operating points
is overly aggressive for certain workloads and results in power
regressions. Provide a fine-grained mechanism to restrict bandwidth
at the client level, enabling better control of interconnect usage.

This improves power efficiency by allowing targeted bandwidth
throttling for specific clients and workloads.

List of all the interconnect clients are populated inside
/sys/kernel/interconnect folder and each client's voting can be limited
by setting the limit_ab, limit_ib and limit_commit sysfs options
present inside the path folder.

Following would be the directory structure.
+ soc:qcom,dcvs:llcc:sp
    + chm_apps-qns_llcc	--> path used by the client
       - limit_ab	--> AB limit in KBps
       - limit_ib	--> IB limit in KBps
       - limit_commit	--> limits will be applied once commit is set

Signed-off-by: Raviteja Laggyshetty <rlaggysh@qti.qualcomm.com>
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant