From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe50f,8312455c16b3ae55,start X-Google-Attributes: gidfe50f,public X-Google-Thread: 11035d,8312455c16b3ae55,start X-Google-Attributes: gid11035d,public X-Google-Thread: fee84,8312455c16b3ae55,start X-Google-Attributes: gidfee84,public From: Thomas Anders Subject: poor NFSv3/tcp write performance Solaris 2.6 <-> Digital Unix 4.0 Date: 1998/08/19 Message-ID: <0rsoityufk.fsf@hmi.de>#1/1 X-Deja-AN: 382676351 Distribution: inet Sender: dta@dsapp2 Organization: Hahn-Meitner-Institut Berlin Newsgroups: comp.unix.solaris,comp.unix.osf.osf1,comp.protocols.nfs Hello, when mounting filesystems - from a Digital Unix 4.x server on a Solaris 2.6 client or - from a Solaris 2.6 server on a Digital Unix 4.0 client with NFSv3 over TCP (vers=3, proto=tcp) we notice poor write performance (<100 kB/s!) on the client. Read performance is okay. Write performance increases dramatically (>500 kB/s) if we use: - Solaris 2.5.1 or 2.7 Beta Refresh instead of 2.6 (server or client) - NFSv3 over UDP (default for Digital Unix clients) - NFSv2 - Digital Unix 4.0 as server *and* client - Solaris 2.6 as server *and* client The performance degradation is reproducible with any pair of Solaris 2.6 <-> Digital Unix 4.0 workstations we have here, even with a carefully patched Solaris 2.6 (patch list see below). The Solaris 2.6 clients nearly hang during excessive NFS writes. The NFS throughput tests were performed with the `iozone' benchmark (version 2.01) which shows the same result as some straightforward `mkfile 10m /nfs/file' operations. >From snoop'ing packets during the iozone run (write+read) on the Solaris clients I noticed (compared to normal NFS behaviour): - ~3 times more TCP packets from client to server - ~5 times more TCP packets from server to client - long delays between packets like these: 142 0.00000 client -> server TCP D=2049 S=1017 Ack=522057022 Seq=460639655 Len=0 Win=8760 143 0.14631 server -> client TCP D=1017 S=2049 Ack=460639655 Seq=522057022 Len=0 Win=26280 Solaris 2.6 patch list: 105642-05 105401-13 105210-11 105216-03 105393-03 105395-02 105518-01 105615-03 105621-02 105665-01 105667-01 106049-01 106271-03 105686-02 105736-01 105755-06 106033-01 106301-01 105490-04 106226-01 105405-02 105516-01 105568-08 105693-03 105705-02 105718-02 105722-01 105724-01 105757-01 105792-02 105953-01 106141-01 106466-01 105720-03 105181-06 105379-04 105786-05 105845-01 105797-03 105600-05 105486-03 105572-04 105742-03 105778-01 105780-01 105847-01 105529-04 105284-10 105802-03 105633-06 105633-08 105618-01 105464-01 105669-02 105630-01 105800-02 106471-01 105472-02 105837-02 105703-04 105566-03 106222-01 105492-02 105798-03 105558-01 105338-11 106025-01 105795-03 105375-09 105552-02 105403-01 105357-02 106029-01 105926-01 106125-05 105426-01 105407-01 Can others reproduce this behaviour? (be sure to use "vers=3,proto=tcp" on Digital Unix clients) Any ideas appreciated. Email welcome. If I find a solution, I'll summarize here. Best regards, Thomas -- Thomas Anders Hahn-Meitner-Institut Berlin, Germany