Shunze ¾Ç¶é >¹q¸£¸ê°T¾Ç¨t >µw©³¤l > ¡m¤À¨É¡nThroughtput¡Aºô³q³]³Æªº®Ä¯à«ü¼Ð «¢Åo¡AÁÙ¨S¦³µù¥U©ÎªÌµn¤J¡C½Ð§A[µù¥U|µn¤J]
« ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD » Åã¥Ü¦¨¦C¦L¼Ò¦¡ | ¼W¥[¨ì§Úªº³Ì·R
µoªí·s¥DÃD µoªí¦^ÂÐ
§@ªÌ
¥DÃD
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡nThroughtput¡Aºô³q³]³Æªº®Ä¯à«ü¼Ð¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¤@¯ë¨Ó»¡¡A·í§Ú­Ì½Í¨ì¨¾¤õÀð¡B¸ô¥Ñ¾¹¡B¥æ´«¾¹®É¡A
throughput³q±`·|¬O³o¨Çºô³q³]³Æ¦b®Ä¯àµû¦ô¤Wªº¤@­Ó­«­n«ü¼Ð¡C

¨ºthroughput­n¦p¦ó¥h¤ñ¸û­pºâ©O¡H
¶¶¤l¦bºô¸ô¤W¬d¸ß¤§«á¡Aµo²{throughputªº­pºâ¤è¦¡¦³¨âºØ¡A¤@­Ó¬Obps¡A¥t¤@­Ó«h¬Opps¡F
¦Ó³o¨âªÌ¶¡­n¦p¦ó¥h­pºâ»P¤ñ¸û©O¡H

bps¡Abits per second¡A«üªº¬O¨C¬í©Ò¯à³B²zªº¼Æ¾Ú¶q¡F
pps¡Apackets per second¡A«üªº¬O¨C¬í©Ò¯à³B²zªº«Ê¥]¼Æ¡C

·í°Q½×¨ì pps »P bps ªºÂà´«®É¡Apacketsªº¤j¤p·|¬O­pºâ¤Wªº­«ÂI¡C
¦b¤A¤Óªººô¸ô¤¤¡A³Ì¤pªºpackets¬O64 Bytes¡A³Ì¤jªºpackets¬O1518 Bytes¡C
¤£¦Pªºpackets¤j¤p¡A´«ºâ¥X¨Óªºbps¤]·|ÀH¤§¤£¦P¡A
¦Ó¨ä°ò¥»Âà´«¤½¦¡¦p¤U¡C

X pps * (packets¤j¤p + 20) * 8 = Y bps

(¨ä¤¤©T©wªº 20 ­ÓBytes¡A¤À§O¬O Layer 2 ùØ 8 Bytesªº Header¡A»P 12 ­ÓBytesªº«Ê¥]¶¡¹j¡C)


¨Ò¦p¡A¬Y¤@¨¾¤õÀ𥦳B²z128 Bytes throughputªº¯à¤O¬O50Kpps¡A¸g¹L¤½¦¡´«ºâ¡A¨ä¹ïÀ³ªºthrouthput¬O59.2Mbps¡C
50Kpps * (128 + 20) * 8 = 59200Kbps = 59.2Mbps


¤£¹L¡A­nª`·Nªº¬O¡A¯à°÷¥H50Kppsªº®Ä¯à¨Ó³B²z128 Bytesªº«Ê¥]¡A
¦b³B²z64 Bytesªº«Ê¥]®É¡A¤£·|¦]¬°¸ê®Æ¶q¬O128 Bytesªº¤@¥b¡A¨ä®Ä¯à´N¬O128 Bytes®Éªº¨â­¿ - 100Kpps¡A
¤@¯ë¨Ó»¡¡A64 Bytesªº³B²z®Ä¯à³»¦h¥u¬O¤ñ128 Bytesªº¼Æ¾Ú50Kpps¦h¤@ÂI¡A¨Ò¦p60Kpps¡C
³B²z1518 Bytesªº«Ê¥]®É¡A¨ä³B²z¯à¤O¤]·|¬O¦b¦¹¼Æ¾Ú50Kpps¦A¤Ö¤@ÂI¡A¨Ò¦p40Kpps¡C

­Y¥H³o¼Ëªº¤T²Õ¼Æ¾Ú¥hÂà´«¬y¶qthroughtput®É¡A·|¥X²{¥H¤U¼Æ¾Ú¡C
60Kpps * (64 + 20) * 8 = 40320Kbps = 50.3Mbps
50Kpps * (128 + 20) * 8 = 59200Kbps = 59.2Mbps
40Kpps * (1518 + 20) * 8 = 492160Kbps = 492.2Mbps


µo²{¨ì³o­ÓÅå¤Hªº¨Æ¹ê¤F¶Ü¡H
¥H¤£¦Pªº«Ê¥]¤j¤p¬°°ò©³¡Aºâ¥X¨Óªº¬y¶q³B²z¯à¤O¤]¦³µÛ¤Ñ®t¦a§O¡I
©Ò¥H¦b¬Ý¼t°Ó´£¨Ñªº¼Æ¾Ú¡A­n±Ä¥Î¬Û¦Pªº¼Ð·Ç¡A©Î¬O¥H³Ì¤pªº64 Bytes«Ê¥]¨Ó­pºâ¡A¤~¯àÅã¥Ü¥X¯u¥¿ªº®Ä¯à®t²§¡C
³o³¡¤À«Ü®e©ö³Q¤@¨Ç¼t°ÓÄé¤ô¡A®³¤j¼Æ¾Ú(1518 Bytes)¥´§O¤H®a¤p¼Æ¾Ú(64 Bytes)¡A¥¢¥h¤Fµû¤ñ·N¸q¡ã

¥t¥~¡A¨¾¤õÀð¹ï©óTCP»PUDPªº³B²z¯à¤O¤]¤£¦P¡C
TCPªº«Ê¥]¸ûUDPªº¤j¡A¬Û¹ï¥i³B²zªºUDP«Ê¥]¦ÛµM¤]¤ñ¸û¦h¡A
³o¤]¬O¦bthroughtputùØ¡A¥i¥HÄé¤ôªº¦a¤è¡C

¥H Fortinet ´£¨ÑªºFortiGate 110C¨¾¤õÀð³W®æ¬°¨Ò¡A

¥¦´N¦³©ú½T¦C¥X64 Bytes¡A512 Bytes¤Î1518 BytesªºUDP throughput¤j¤p¡A«Ê¥]³B²z¯à¤O¬O 180Kpps¡A
Åý¤H¤ñ¸û²M·¡ª¾¹D¥¦ªº¹ê»Ú®Ä¯à¨ì¹F­þ­Óµ{«×¡C
(¸g´«ºâ«á¡A³o180Kpps¬O64 Bytesªº³B²z®Ä²v¡C)


Á`¤§¡A¤£¦P¼tµPªº³]³Æ¦b¶i¦æ®Ä¯àµû¤ñ®É¡A¨äµû¤ñªº°Ñ¦ÒÂI­n¬Û¦P¡A
¤£µM®³±i­¸¥´©¨­¸¡A¤ñ¸û°_¨Ó¥i¬O¥¢¥h·N¸qªº¡I


°Ñ¦Ò¸ê®Æ
¤s¥ÛÊI¬ì¡G¨¾¤õ墙ªº¨º¨Ç©Ê¯à«ü标¡A§A¤F¸Ñ吗¡H
¸ô¥Ñ°lÂÜ/¼eÀW¸ô¥Ñ¾¹ªº¥D­n°Ñ¼Æ¤ÀªR



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-05-04, 13:59 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
  « ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD »
µoªí·s¥DÃD µoªí¦^ÂÐ
¸õ¨ì:

Powered by: Burning Board 1.1.1 2001 WoltLab GbR