Thanks for the response. Please let me caveat that I am not a coder, so any perusing the code, is probably going to be very inefficient.
I did a bit of research and you have implemented most if not all of RFC1323. Some of the default settings seem less than optimal. (Forgive me if this has been changed in Nevada.) Wouldn't it make sense to increase all of the following settings' defaults to 4194304? tcp_cwnd_max, tcp tcp_xmit_hiwat, tcp tcp_recv_hiwat Enabling tcp_wscale_always and tcp_tstamp_if_wscale should be the default. (I think this relates to Dynamic window sizing, no?) I feel /dev/tcp tcp_sack_permitted "active enabled" should be the default (and only disabled for very highspeed WAN links). References: ----------------- RFC1323 - TCP extensions for High Performance http://www.ietf.org/rfc/rfc1323.txt Space Communication Protocol Standards: http://www.scps.org/ RFC3135 - PEP (Performance Enhancing Proxy) http://www.ietf.org/rfc/rfc3135.txt TCP tunables http://docs.sun.com/app/docs/doc/806-6779/6jfmsfr8a?a=view RFC 2414, 2481 http://www.csm.ornl.gov/~dunigan/netperf/netlinks.html http://www.broadnets.org/2004/workshop-papers/Pathnets/03_TCPHighSpeedWAN-SylvianRavot.pdf
> - Dynamic window sizing > - Selective acks Have you looked at the code? SACK support was added back in 1997.
OK, my bad. I did not review the code. I was painting with a broad brush..
> - compressing the data using common sequence reduction > - caching TCP sequences on the receiving end > - transparent TCP session termination/proxy allows packet reordering > at the far end. I _think_ you're talking about supporting TCP splicing, but I'm not sure. A clearer description or reference would help.
Although I am really, really interested in TCP splicing and other technologies included in the LVS project, what I am referring to would involve PEPs. (compressing the data using common sequence reduction) and (caching TCP sequences on the receiving end) are pretty much the same thing. The way it works is if you sent used some file transfer protocol to send a file across a proxied connection, the sending and receiving ends would code sequence identifiers. The receiving end would cache the content of the sequences, and when the same sequence is sent again, the sending side just sends the common sequence identifier to the receiving end. (Basically reducing a 2 minute transfer into a 10 second transfer. This would also work for modified files, as the transfer would still have many common sequences)
> - Application Optimization Over the WAN. e.g. for a chatty protocol > one could proxy for the far end, and the far end could proxy for the > source end. (I can explain in a followup). Ew. PEPs are downright evil. If someone wants to do this on Solaris, that's great, but I wouldn't be wildly in favor of seeing it as a core component.
Why are they evil, and why don't they belong in *OpenSolaris*?
> - Offloading Remote Authentication for Servers What does that have to do with WANs?
Round trip latency of authentication over the WAN. Again PEP.
> Basically the whole point of all these technics is two fold: > 1) Reduce traffic over the WAN, while at the same time allowing more > complete utilization of existing pipes. > 2) Make remote apps appear as if they were local.
#2 should read Make remote apps perform as if they were local.
If it involves PEPs or weird new WAPish protocols, then I wouldn't be too interested. If it's new TCP research, I'd think we'd all be interested ... but I also think Kacheong would already be all over it. ;-}
It does involve PEPs, why won't you want to include some for the core application protocals that Solaris supports. (FTP, HTTP, CIFS, LDAP, etc.) Also you can have generic PEPs that use some of the techniques I have listed for all traffic. Check out RFC 2414, 2481 (I think these may have already been implemented) Experimental RFCs (that don't involve PEP) http://tools.ietf.org/html/rfc3465 (This document proposes a modification to the algorithm for increasing TCP's congestion window (cwnd) that improves both performance and security. ) http://www.ietf.org/rfc/rfc3522.txt This allows the receiving end to let the sender know which packet it received in the event of duplicate packets (retransmission). This allows the sender to have a better idea of the link proporties. http://www.ietf.org/rfc/rfc3649.txt - Modifications to High speed TCP Well that's enough for now... Cheers, -Brian P.S. - Do you guys have a Shunra WAN/LAN simulator? _______________________________________________ networking-discuss mailing list [email protected]
