Chapter 10 Quality of Service (QoS)
VSG1435-B101 Series User’s Guide
173
Token Bucket
The token bucket algorithm uses tokens in a bucket to control when traffic can be
transmitted. The bucket stores tokens, each of which represents one byte. The
algorithm allows bursts of up to
b
bytes which is also the bucket size, so the
bucket can hold up to
b
tokens. Tokens are generated and added into the bucket
at a constant rate. The following shows how tokens work with packets:
• A packet can be transmitted if the number of tokens in the bucket is equal to or
greater than the size of the packet (in bytes).
• After a packet is transmitted, a number of tokens corresponding to the packet
size is removed from the bucket.
• If there are no tokens in the bucket, the ZyXEL Device stops transmitting until
enough tokens are generated.
• If not enough tokens are available, the ZyXEL Device treats the packet in either
one of the following ways:
In traffic shaping:
• Holds it in the queue until enough tokens are available in the bucket.
In traffic policing:
• Drops it.
• Transmits it but adds a DSCP mark. The ZyXEL Device may drop these marked
packets if the network is overloaded.
Configure the bucket size to be equal to or less than the amount of the bandwidth
that the interface can support. It does not help if you set it to a bucket size over
the interface’s capability. The smaller the bucket size, the lower the data
transmission rate and that may cause outgoing packets to be dropped. A larger
transmission rate requires a big bucket size. For example, use a bucket size of 10
kbytes to get the transmission rate up to 10 Mbps.
Single Rate Three Color Marker
The Single Rate Three Color Marker (srTCM, defined in RFC 2697) is a type of
traffic policing that identifies packets by comparing them to one user-defined rate,
the Committed Information Rate (CIR), and two burst sizes: the Committed Burst
Size (CBS) and Excess Burst Size (EBS).
The srTCM evaluates incoming packets and marks them with one of three colors
which refer to packet loss priority levels. High packet loss priority level is referred
to as red, medium is referred to as yellow and low is referred to as green.
The srTCM is based on the token bucket filter and has two token buckets (CBS and
EBS). Tokens are generated and added into the bucket at a constant rate, called
Committed Information Rate (CIR). When the first bucket (CBS) is full, new
tokens overflow into the second bucket (EBS).
Содержание VSG1435-B101 - V1.10
Страница 2: ......
Страница 8: ...Safety Warnings VSG1435 B101 Series User s Guide 8 ...
Страница 10: ...Contents Overview VSG1435 B101 Series User s Guide 10 ...
Страница 20: ...Table of Contents VSG1435 B101 Series User s Guide 20 ...
Страница 21: ...21 PART I User s Guide ...
Страница 22: ...22 ...
Страница 42: ...Chapter 2 The Web Configurator VSG1435 B101 Series User s Guide 42 ...
Страница 71: ...71 PART II Technical Reference ...
Страница 72: ...72 ...
Страница 78: ...Chapter 5 Network Map and Status Screens VSG1435 B101 Series User s Guide 78 ...
Страница 150: ...Chapter 8 Home Networking VSG1435 B101 Series User s Guide 150 ...
Страница 154: ...Chapter 9 Static Routing VSG1435 B101 Series User s Guide 154 ...
Страница 178: ...Chapter 11 Policy Forwarding VSG1435 B101 Series User s Guide 178 ...
Страница 196: ...Chapter 12 Network Address Translation NAT VSG1435 B101 Series User s Guide 196 ...
Страница 202: ...Chapter 13 Dynamic DNS Setup VSG1435 B101 Series User s Guide 202 ...
Страница 228: ...Chapter 16 Firewall VSG1435 B101 Series User s Guide 228 ...
Страница 234: ...Chapter 18 Parental Control VSG1435 B101 Series User s Guide 234 ...
Страница 282: ...Chapter 25 Traffic Status VSG1435 B101 Series User s Guide 282 ...
Страница 286: ...Chapter 26 IGMP Status VSG1435 B101 Series User s Guide 286 ...
Страница 294: ...Chapter 28 Remote Management VSG1435 B101 Series User s Guide 294 ...
Страница 298: ...Chapter 29 Time Settings VSG1435 B101 Series User s Guide 298 ...
Страница 302: ...Chapter 30 Logs Setting VSG1435 B101 Series User s Guide 302 ...
Страница 318: ...Chapter 34 Troubleshooting VSG1435 B101 Series User s Guide 318 ...
Страница 348: ...Appendix A Setting up Your Computer s IP Address VSG1435 B101 Series User s Guide 348 ...
Страница 358: ...Appendix B IP Addresses and Subnetting VSG1435 B101 Series User s Guide 358 ...
Страница 368: ...Appendix C Pop up Windows JavaScripts and Java Permissions VSG1435 B101 Series User s Guide 368 ...
Страница 384: ...Appendix D Wireless LANs VSG1435 B101 Series User s Guide 384 ...
Страница 412: ...Index VSG1435 B101 Series User s Guide 412 ...