How to set peak rate for max burst feature
I have enable max burst in my docsis configure file and enable "cable ds-max-burst" on my CMTS
but I do not know how to set peak rate for each subscriber
right now,subscriber can burst to unlimited speeds and my my network is very congestion -,.-
Could you please make me know that ?
Well, here's an example
You might sell a plan with a 1Mbps download speed. In that case you set
max-rate 1024000
You dont want them to be able to download any faster than this, but you do want to make web surfing feel more zippy. In this case you can use max-burst and optionally peak-rate to allow the user to temporarily burst above their standard download speed.
To allow the first 2Mb of a download to come in at 4Mbps, you would use these settings :
max-burst 2048000
peak-rate 4096000
After the 2Mb has come down, the download speed will revert to 1Mbps.
When people are just browsing, they click / read, click / read, this gives the token bucket time to replenish between clicks - which results in the browsing speed actually feeling like 4Mbps. However if they start a file download, only the first bit of the file will come down fast and then will quickly revert to their 1Mbps max-rate. So its a good trade-off, your customers will be happier and it doesnt really cost you much bandwidth.
Note: if you set peak-rate 0, then the first 2Mb will come down at full line speed, before reverting to 1Mbps
I'm trying to do the same with the upstream, with UBR10K, I use GenericTLV TlvCode 27 TlvLength 4 TlvValue 0x00A4CCCD instead peak-rate because the compiler but when I apply I get 5.7 Mbps in upstream even changing parameters... if I set 0 to peak then I get 20-30 Mbps.
It looks somthing like this for 10 Mbps:
UsServiceFlow
{
UsServiceFlowRef 1;
QosParamSetType 7;
MaxRateSustained 7200222;
MaxTrafficBurst 16200500;
GenericTLV TlvCode 27 TlvLength 4 TlvValue 0x00A4CCCD;
SchedulingType 2;
}
DsServiceFlow
{
DsServiceFlowRef 2;
QosParamSetType 7;
MaxRateSustained 108172200;
MaxTrafficBurst 79115060;
}
UsServiceFlow
{
UsServiceFlowRef 3;
QosParamSetType 7;
TrafficPriority 4;
SchedulingType 2;
}
DsServiceFlow
{
DsServiceFlowRef 4;
TrafficPriority 4;
QosParamSetType 7;
}
UsPacketClass
{
ClassifierRef 1;
ServiceFlowRef 3;
ActivationState 1;
LLCPacketClassifier
{
EtherType 0x030f16;
}
}
UsPacketClass
{
ClassifierRef 2;
ServiceFlowRef 3;
ActivationState 1;
IpPacketClassifier
{
DstPortStart 5060;
DstPortEnd 5060;
}
}
DsPacketClass
{
ClassifierRef 3;
ServiceFlowRef 4;
ActivationState 1;
IpPacketClassifier
{
DstPortStart 5060;
DstPortEnd 5060;
}
}
UsPacketClass
{
ClassifierRef 4;
ServiceFlowRef 3;
ActivationState 1;
IpPacketClassifier
{
IpProto 1;
}
}
DsPacketClass
{
ClassifierRef 5;
ServiceFlowRef 4;
ActivationState 1;
IpPacketClassifier
{
IpProto 1;
}
}
GlobalPrivacyEnable 0;
Hello? could you help me? please
I am not super confident that peak-rate works for US
I had a look at the DOCSIS MULPI spec, and yes it says you can set peak rate for US
The wording for DS peak-rate is pretty clear, talking about how you can max-burst above max-rate to the peak-rate
The wording for US peak-rate doesn't specifically give these same examples
If you can't get it working reliably in the lab, I would avoid trying to set/use it.