search for: big100m

Displaying 1 result from an estimated 1 matches for "big100m".

Did you mean: big10
2006 Jan 24
4
sftp performance problem, cured by TCP_NODELAY
...int res = next_connect(sock, addr, addrlen); if (addr->sa_family == AF_INET) { int opt = 1; setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof(opt)); } return res; } ----------------------------------------------------------------------- $ time sftp -b /tmp/big100M.b server sftp> get big100M /dev/null Fetching /tmp/big100M to /dev/null real 0m18.231s user 0m6.248s sys 0m1.684s $ time LD_PRELOAD=/tmp/sshnodelay.so sftp -b /tmp/big100M.b server sftp> get big100M /dev/null Fetching /tmp/big100M to /dev/null real 0m9.001s user 0m6.320s sys...