-
公开(公告)号:US20210119943A1
公开(公告)日:2021-04-22
申请号:US17134976
申请日:2020-12-28
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yongping ZHANG , Bailing LI , Xiongwei ZHANG
IPC: H04L12/861 , H04L12/863
Abstract: This application provides a buffer allocation method and a device. The method includes determining, by a device, a first output rate of a first queue on the device and a second output rate of a second queue on the device. The method also includes separately allocating, by the device, a first buffer to the first queue and a second buffer to the second queue based on a ratio of the first output rate to the second output rate. The device separately allocates a buffer to each of queues based on a ratio of output rates of the queues, so that a ratio of output traffic of the queues meets an expected scheduling ratio.
-
公开(公告)号:US20250007853A1
公开(公告)日:2025-01-02
申请号:US18883872
申请日:2024-09-12
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Zhou ZHANG , Xiongwei ZHANG
Abstract: The present disclosure relates to queue scheduling methods and apparatuses. In one example queue scheduling method, a queue scheduling apparatus determines first bandwidth, where the first bandwidth indicates a rate at which a packet on an outbound interface is dequeued. The queue scheduling apparatus determines a first scheduling parameter based on the first bandwidth and a first scheduling frequency, where the first scheduling frequency indicates a maximum quantity of scheduling times per unit of time, and the first scheduling parameter indicates a length of a packet scheduled each time. The queue scheduling apparatus schedules, based on the first scheduling parameter, to dequeue the packet on the outbound interface.
-