Bug #3515
qos-云盘上传速率经常低于1000kbps
0%
Description
测试步骤:
1.Telnet登陆网关;
2.启用QoS功能
dbus-send --system --type=method_call --print-reply --dest=com.ctc.igd1 /com/ctc/igd1/Network/QoS com.ctc.igd1.Properties.Set string:"com.ctc.igd1.QoS" string:"Enable" variant:boolean:true
3.设定QoS机制为承诺速率
gdbus call -y -d com.ctc.igd1 -o /com/ctc/igd1/Network/QoS -m com.ctc.igd1.Properties.SetMulti com.ctc.igd1.QoS "{'Plan':<'car'>,'Mode':<'OTHER'>}"
4.使能优先级1
gdbus call -y -d com.ctc.igd1 -o /com/ctc/igd1/Network/QoS/PriorityQueue/1 -m com.ctc.igd1.Properties.SetMulti com.ctc.igd1.QoSPriorityQueue "{'Enable':<true>,'Priority':<uint32 1>,'Weight':<uint32 0>,'Car':<int32 1000>}"
5.添加分类规则
gdbus call -y -d com.ctc.igd1 -o /com/ctc/igd1/Network/QoS/Classification -m com.ctc.igd1.ObjectManager.AddObject
gdbus call -y -d com.ctc.igd1 -o /com/ctc/igd1/Network/QoS/Classification/1 -m com.ctc.igd1.Properties.SetMulti com.ctc.igd1.QoSClassification "{'ClassQueue':<uint32 1>}"
gdbus call -y -d com.ctc.igd1 -o /com/ctc/igd1/Network/QoS/Classification -m com.ctc.igd1.ObjectManager.AddObject
gdbus call -y -d com.ctc.igd1 -o /com/ctc/igd1/Network/QoS/Classification/2 -m com.ctc.igd1.Properties.SetMulti com.ctc.igd1.QoSClassification "{'ClassQueue':<uint32 1>}"
6.添加类型规则,Max,Min为协议端口, 开启对80及443端口设置承诺速率.
gdbus call -y -d com.ctc.igd1 -o /com/ctc/igd1/Network/QoS/Classification/1/Type -m com.ctc.igd1.ObjectManager.AddObject
gdbus call -y -d com.ctc.igd1 -o /com/ctc/igd1/Network/QoS/Classification/1/Type/1 -m com.ctc.igd1.Properties.SetMulti com.ctc.igd1.QoSClassificationType "{'Type':<'DPORT'>,'Max':<'80'>,'Min':<'80'>,'ProtocolList':<'TCP'>}"
gdbus call -y -d com.ctc.igd1 -o /com/ctc/igd1/Network/QoS/Classification/2/Type -m com.ctc.igd1.ObjectManager.AddObject
gdbus call -y -d com.ctc.igd1 -o /com/ctc/igd1/Network/QoS/Classification/2/Type/1 -m com.ctc.igd1.Properties.SetMulti com.ctc.igd1.QoSClassificationType "{'Type':<'DPORT'>,'Max':<'443'>,'Min':<'443'>,'ProtocolList':<'TCP'>}"
7.使能Qos规则
dbus-send --system --type=method_call --print-reply --dest=com.ctc.igd1 /com/ctc/igd1/Network/QoS com.ctc.igd1.Properties.Set string:"com.ctc.igd1.QoS" string:"Enable" variant:boolean:true
生成一个新的5G大文件,PC上传此大文件到天翼云盘或者百度盘,查看上传速率
【预期结果】
1.所有gdbus命令执行成功;
2.步骤8:上传速率应该不低于1000kbps;
实际结果:
上传速率应该经常低于1000kbps
History
#4 Updated by 天驰 王 about 23 hours ago
- Status changed from Resolved to Closed
xgpon与10gepon 环境都在1.2MB/s以上,超过1000kbps