![ZyXEL Communications P-660HN-F1A User Manual Download Page 265](http://html1.mh-extra.com/html/zyxel-communications/p-660hn-f1a/p-660hn-f1a_user-manual_944065265.webp)
Chapter 16 Quality of Service (QoS)
P-660HN-F1A User’s Guide
265
16.7 Token Bucket Example
This is an example of how the token bucket works.
The algorithm works as follows (see also
):
A: Assume that there are 2000 tokens in the bucket at the first moment (T = 0).
B: One hundred tokens are added to the bucket after one second. A packet of
1500 bytes arrives and the P-660HN-F1A transmits it directly as there are already
enough tokens in the bucket to cover the size of the packet. The P-660HN-F1A
then deducts 1500 tokens from the bucket leaving 600 tokens in the bucket
(2100-1500).
C: One hundred more tokens are added in the bucket after one second. A packet
of 500 bytes arrives and the P-660HN-F1A again transmits it directly and then
deducts 500 tokens from the bucket leaving just 200 tokens (700-500).
D: After one more second, one hundred more tokens are added to the bucket. A
packet of 1000 bytes flows in. The P-660HN-F1A holds the packet since the
number of tokens are insufficient.
E: After enough tokens (1000) are in the bucket, the P-660HN-F1A transmits it
and then deducts 1000 tokens from the bucket.
Figure 115
Token Bucket Scenario Example
Table 77
Example Data
b=125,000 bytes
(around 1 Megabit)
This is the size of the bucket. The bucket holds up to 125,000
tokens.
t=100
This means a token is generated every 0.01 (=1/t) seconds. The
maximum instantaneous transmission rate for outgoing traffic is
(b’x8)/t Mbps where b’ is the number of tokens in the bucket at
that instant.
Time (sec.)
2000
1200
400
Av
ai
la
b
le
To
ke
n
s
0
2000
A
B
2100-1500
=600
700-500
C
=200
300
400
D
1000-1000
E
=0
Summary of Contents for P-660HN-F1A
Page 2: ......
Page 10: ...Contents Overview P 660HN F1A User s Guide 10...
Page 20: ...Table of Contents P 660HN F1A User s Guide 20...
Page 21: ...21 PART I User s Guide...
Page 22: ...22...
Page 36: ...Chapter 2 Introducing the Web Configurator P 660HN F1A User s Guide 36...
Page 44: ...Chapter 3 Status Screens P 660HN F1A User s Guide 44...
Page 84: ...Chapter 4 Tutorials P 660HN F1A User s Guide 84 Physical Port 1 3 exclude port 4 3 Click Apply...
Page 88: ...Chapter 4 Tutorials P 660HN F1A User s Guide 88...
Page 103: ...103 PART II Technical Reference...
Page 104: ...104...
Page 142: ...Chapter 7 LAN Setup P 660HN F1A User s Guide 142...
Page 188: ...Chapter 9 Network Address Translation NAT P 660HN F1A User s Guide 188...
Page 210: ...Chapter 10 Firewalls P 660HN F1A User s Guide 210...
Page 236: ...Chapter 13 Certificates P 660HN F1A User s Guide 236...
Page 240: ...Chapter 14 Static Route P 660HN F1A User s Guide 240...
Page 276: ...Chapter 17 Dynamic DNS Setup P 660HN F1A User s Guide 276...
Page 288: ...Chapter 18 Remote Management P 660HN F1A User s Guide 288...
Page 344: ...Chapter 24 Troubleshooting P 660HN F1A User s Guide 344...
Page 376: ...Appendix A Setting up Your Computer s IP Address P 660HN F1A User s Guide 376...
Page 386: ...Appendix B Pop up Windows JavaScripts and Java Permissions P 660HN F1A User s Guide 386...
Page 396: ...Appendix C IP Addresses and Subnetting P 660HN F1A User s Guide 396...
Page 420: ...Appendix F Legal Information P 660HN F1A User s Guide 420...
Page 430: ...Index P 660HN F1A User s Guide 430...