Earlier quoted context omitted.
IP header has flexible size, up to 60 bytes: https://networkengineering.stackexchange.com/questions/6855/...
Sure but on the actual internet how often are IP headers larger than 20 bytes because options are turned on? Not very often. The 20 bytes each for TCP and IPv4 is a pretty good assumption. From the paper "IP Options are not an option" which is good quick read: "We have studied the dependability of IP options-enabled network packets in the Internet. We found that overall, approximately half of Internet paths drop pack…
Ultrafast single TCP packet audio/visual experience
61–70 of 79 posts
Re: Ultrafast single TCP packet audio/visual experience
#62Re: Ultrafast single TCP packet audio/visual experience
#63Re: Ultrafast single TCP packet audio/visual experience
#64Re: Ultrafast single TCP packet audio/visual experience
#65Re: Ultrafast single TCP packet audio/visual experience
#66Looks like the browser spends most of the loading time resolving DNS.
Re: Ultrafast single TCP packet audio/visual experience
#67Why is the tcp socket set to busy poll for 1 microsecond?
Re: Ultrafast single TCP packet audio/visual experience
#68http://packet.city/ summary: A demo scene page that is smaller than a single IP frame and uses some flags to avoid other round trips. view-source: http://packet.city/ The page itself and view-source only work on some browsers. Use wireshark etc to see what it actually does.
Wiresharked the thing. Here's the packet sequence it reported: -> DNS query A -> DNS query AAAA TCP SYN TCP ACK -> HTTP GET TCP ACK TCP FIN,ACK So, the full traffic is 14 packet, all small (DNS, TCP handshaking) except the one HTTP reply packet containing the full website.
One could imagine a merged DNS and TCP syn packet, which goes to a DNS server who converts it to a TCP packet, and gets forwarded to the origin server.
Re: Ultrafast single TCP packet audio/visual experience
#69Looks like the browser spends most of the loading time resolving DNS.
Re: Ultrafast single TCP packet audio/visual experience
#70Earlier quoted context omitted.
Hm. I what the distribution of latency vs bandwidth is like, whether 14kB or 2 round trips takes longer for most people?
Probably the two round trips. A semi-nearby server might be 50ms per round trip, and in that case any connection beating 1mbps can transfer 14KB in less than two round trips. A server could easily be 150-250ms away and make those round trips far worse.
Some routers might only buffer 1 millisecond of line-rate data or less. If that's the case, that initial congestion window of 10 could overflow the buffer, causing loss and a much more costly double-round-trip to resend.