Lectures notes for 2010 - KTH
Lectures notes for 2010 - KTH Lectures notes for 2010 - KTH
TCP Performance TCP’s path MTU discovery: • use min(MTU of outgoing interface, MSS announced by other end) • use per-route saved MTU • once an initial segment size is chosen - all packets have don’t fragment bit set • if you get an ICMP “Can’t fragment” message - recompute Path MTU. • periodically check for possibility of using a larger MTU (RFC 1191 recommends 10 minute intervals) Maguire TCP header continued 5: 34 of 77 maguire@kth.se 2010.03.21 Internetworking/Internetteknik
Long Fat Pipes Networks with large bandwidth-delay products are called Long Fat Networks (LFNs) - pronounced “elefants”. TCP running over a LFN is a Long Fat Pipe. • Window Scale option - to avoid 16 bit window size limit • Timestamp option - putting a time stamp in each segment allows better computation of RTT • Protection Against Wrapped Sequence Numbers (PAWS) - with large windows you could have sequence number wrap around and not know which instance of a given sequence number is the correct one; solved by using timestamps (which must simply be monotonic) • T/TCP - TCP extension for Transactions; to avoid the three way handshake on connection setup and shorten the TIME_WAIT state. (for details of T/TCP see Stevens, Vol.3) Maguire TCP header continued 5: 35 of 77 maguire@kth.se 2010.03.21 Internetworking/Internetteknik
- Page 289 and 290: How to give your host a name? Host
- Page 291 and 292: Configuring DNS • Configuring the
- Page 293 and 294: Load leveling [1] For example, f.ro
- Page 295 and 296: Where is f.root-servers.net ? trace
- Page 297 and 298: Dynamic Domain Name System (DDNS) R
- Page 299 and 300: Attacks upon DNS • Denial of serv
- Page 301 and 302: DNS performance - top 100 From www.
- Page 303 and 304: Web performance - continued Using P
- Page 305 and 306: This lecture we have discussed: •
- Page 307 and 308: IK1550 Internetworking/Internettekn
- Page 309 and 310: Transport layer protocols • User
- Page 311 and 312: Applications which use TCP Lots of
- Page 313 and 314: TCP header continued Reliability is
- Page 315 and 316: time client SYN, seq=x SYN, seq=y,
- Page 317 and 318: client active close ACKs from clien
- Page 319 and 320: Maximum Segment Size • The Maximu
- Page 321 and 322: Window size Increasing window size
- Page 323 and 324: Silly Window Syndrome If receiver a
- Page 325 and 326: Disabling the Nagle Algorithm But s
- Page 327 and 328: Resulting bulk data flow Every segm
- Page 329 and 330: Congestion Avoidance So far we have
- Page 331 and 332: Slow start In 1989, Van Jacobson in
- Page 333 and 334: Round-Trip Time Measurement Fundame
- Page 335 and 336: Congestion Avoidance Algorithm Slow
- Page 337 and 338: Per-Route Metrics Newer TCPs keeps
- Page 339: TCP Keepalive Timer No data flows a
- Page 343 and 344: Example of TCP behavior 1 1. Figure
- Page 345 and 346: Hypertext Transfer Protocol (HTTP)
- Page 347 and 348: HTTP Requests request-line == reque
- Page 349 and 350: HTTP Response Codes HTTP 3-digit re
- Page 351 and 352: Server Redirect Response code 302,
- Page 353 and 354: Decrease in total time to produce a
- Page 355 and 356: HTTP Statistics Statistics for indi
- Page 357 and 358: HTTP Performance Problems HTTP open
- Page 359 and 360: Web Enabled Devices emWare - thin c
- Page 361 and 362: Remote Procedure Call (RPC) Two ver
- Page 363 and 364: External Data Representation (XDR)
- Page 365 and 366: NFSspy Insert a new pointer in plac
- Page 367 and 368: nfsspy Initial implementations were
- Page 369 and 370: Often there are multiple NFS client
- Page 371 and 372: NFS Mount protocol Server can check
- Page 373 and 374: NFS over TCP Provided by some vendo
- Page 375 and 376: X Window System • Client-server a
- Page 377 and 378: X was optimized for use across LANs
- Page 379 and 380: Additional tools for watching TCP P
- Page 381 and 382: Transaction TCP (T/TCP) Piggyback a
- Page 383 and 384: References [1] Information Sciences
- Page 385 and 386: Transport layer protocols • User
- Page 387 and 388: SCTP Applications • Initial goal
- Page 389 and 390: • Type SCTP Chunk 0 7 8 15 16 23
TCP Per<strong>for</strong>mance<br />
TCP’s path MTU discovery:<br />
• use min(MTU of outgoing interface, MSS announced by other end)<br />
• use per-route saved MTU<br />
• once an initial segment size is chosen - all packets have don’t fragment<br />
bit set<br />
• if you get an ICMP “Can’t fragment” message - recompute Path MTU.<br />
• periodically check <strong>for</strong> possibility of using a larger MTU (RFC 1191<br />
recommends 10 minute intervals)<br />
Maguire TCP header continued 5: 34 of 77<br />
maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik