Bandwidth control method, and storage medium
AssigneeXg Tech Pte. Ltd.
InventorJianfeng YU
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure relate to the technical field of integrated circuits, and provide a bandwidth control method and system, an electronic device, a vehicle, and a storage medium. The method includes: obtaining a usage state of a cache queue used for caching of access stream of multiple operating systems to a second hardware unit; determining a throttling parameter for each of the operating systems based on the usage state of the cache queue; and controlling, based on the throttling parameter of each of the operating systems, bandwidth for each of the operating systems for accessing the second hardware unit.
Claims20
A bandwidth control method, comprising:
- determining a state value indicating a usage state of a cache queue, wherein the cache queue is used for caching of access stream, to a second hardware unit, of multiple operating systems running on a first hardware unit;
- determining, based on the state value and a plurality of throttling parameters preset for each of the operating systems, bandwidth thresholds, as target bandwidth thresholds, respectively corresponding to the operating systems running on the first hardware unit, wherein each of the throttling parameters includes one of the bandwidth thresholds;
- and
- controlling respectively, based on the target bandwidth thresholds respectively corresponding to the operating systems, bandwidths for the operating systems running on the first hardware unit for accessing the second hardware unit.
A non-transitory computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, causes the processor to implementing a bandwidth control method, comprising:
- determining a state value indicating a usage state of a cache queue, wherein the cache queue is used for caching of access stream, to a second hardware unit, of multiple operating systems running on a first hardware unit;
- determining, based on the state value and a plurality of throttling parameters preset for each of the operating systems, bandwidth thresholds, as target bandwidth thresholds, respectively corresponding to the operating systems running on the first hardware unit, wherein each of the throttling parameters includes one of the bandwidth thresholds;
- and
- controlling respectively, based on the target bandwidth thresholds respectively corresponding to the operating systems, bandwidths for the operating systems running on the first hardware unit for accessing the second hardware unit.
Dependencies are inferred from the claim text.