- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* * * Average is computed with an EWMA, exponentially weighted moving average that is very simple: new value = alpha x old value + (1-alpha) x sample. Alpha is 7/8, say. Similarly for estimating the variance. TCP actually computes the deviation from the mean with another EWMA. * * * * * * 6.5.8 SSL—The Secure Sockets Layer (1) SSL provides an authenticated, secret connection between two sockets; uses public keys with X.509 TLS (Transport Layer Security) is the IETF version 6.5.8 SSL—The Secure Sockets Layer (2) Phases in SSL V3 connection establishment (simplified) Only the client (Alice) authenticates the server (Bob) Session key computed on both sides (EB, RA, RB) 6.5.8 SSL—The Secure Sockets Layer (3) Data transmission using SSL. Authentication and encryption for a connection use the session key 6.6 Performance Issues 6.6.1 Performance Problems Unexpected loads often interact with protocols to cause performance problems Need to find the situations and improve the protocols Examples Broadcast storm: one broadcast triggers another Synchronization: a building of computers all contact the DHCP server together after a power failure Tiny packets: some situations can cause TCP to send many small packets instead of few large ones 6.6.2 Measuring Network Performance Measurement is the key to understanding performance – but has its own pitfalls. Example pitfalls: Caching: fetching Web pages will give surprisingly fast results if they are unexpectedly cached Timing: clocks may over/underestimate fast events Interference: there may be competing workloads 6.6.3 Host Design for Fast Networks Poor host software can greatly slow down networks. Rules of thumb for fast host software: Host speed more important than network speed Reduce packet count to reduce overhead Minimize data touching Minimize context switches Avoiding congestion is better than recovering from it Avoid timeouts 6.6.4 Fast Segment Processing (1) Speed up the common case with a fast path [pink] Handles
文档评论(0)