From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8b0a083ee91d4832,start X-Google-Attributes: gidfee84,public From: Remco Wouts Subject: NFS linux->osf1 slow, linux->irix fast Date: 1999/01/21 Message-ID: #1/1 X-Deja-AN: 435160803 Sender: remco@localhost X-Trace: 21 Jan 1999 10:27:23 +0100, childish.bmc.uu.se Content-Type: text/plain; charset=US-ASCII Mime-Version: 1.0 (generated by tm-edit 7.108) Newsgroups: comp.unix.osf.osf1 Hi, We have a mixed network of machines running linux, osf1, and irix. All machines serve disks to each other over NFS. There seems to be a huge performance problem when writing on linux to disks mounted from our ALPHA'S, whereas writing to the SGI's works as advertised. I did a dejanews search and a few people mention the same problem but no solution has been posted. Usually linux get's the blame. Since everything works fine with IRIX I really think there is something funny with the NFS2 implementation under OSF1. Attached is the output of tcpdump for writing to files on disk on two of our machines, everything is on 100Mb ethernet half duplex. The problem seems to be that under OSF1 writes are serialized and under IRIX they are not. The same thing is seen when writing large amount of blocks. I hope somebody can shed some light on the situation, so I can try to fix things. -- Remco Wouts remco@xray.bmc.uu.se | Dept. of Biochemistry, Uppsala University tel/fax:+46-18-4714642/511755 | PO Box 576, S-751 23 Uppsala, Sweden. WinErr: 006 Malicious error - Desqview found on drive TCPDUMP ------- Linux rembrandt.bmc.uu.se 2.0.36 IRIX bosch 6.3 12161207 IP32 OSF1 carr.bmc.uu.se V4.0 564.32 alpha dd if=/dev/zero of= bs=1024 count=5 09:51:46.643697 rembrandt.1427250621 > carr.nfs: 152 lookup [|nfs] 09:51:46.643697 carr.nfs > rembrandt.1427250621: reply ok 128 lookup [|nfs] 09:51:46.643697 rembrandt.1427250622 > carr.nfs: 148 lookup [|nfs] 09:51:46.643697 carr.nfs > rembrandt.1427250622: reply ok 128 lookup [|nfs] 09:51:46.643697 rembrandt.1427250623 > carr.nfs: 172 setattr [|nfs] 09:51:46.663697 carr.nfs > rembrandt.1427250623: reply ok 96 setattr [|nfs] 09:51:46.663697 rembrandt.1427250624 > carr.nfs: 1180 write [|nfs] 09:51:46.693697 carr.nfs > rembrandt.1427250624: reply ok 96 write [|nfs] 09:51:46.693697 rembrandt.1427250625 > carr.nfs: 1180 write [|nfs] 09:51:46.743697 carr.nfs > rembrandt.1427250625: reply ok 96 write [|nfs] 09:51:46.743697 rembrandt.1427250626 > carr.nfs: 1180 write [|nfs] 09:51:46.803697 carr.nfs > rembrandt.1427250626: reply ok 96 write [|nfs] 09:51:46.803697 rembrandt.1427250627 > carr.nfs: 1180 write [|nfs] 09:51:46.863697 carr.nfs > rembrandt.1427250627: reply ok 96 write [|nfs] 09:51:46.863697 rembrandt.1427250628 > carr.nfs: 1180 write [|nfs] 09:51:46.913697 carr.nfs > rembrandt.1427250628: reply ok 96 write [|nfs] dd if=/dev/zero of= bs=1024 count=5 09:51:51.273697 rembrandt.1427250629 > bosch.nfs: 152 lookup [|nfs] 09:51:51.273697 bosch.nfs > rembrandt.1427250629: reply ok 128 lookup [|nfs] 09:51:51.273697 rembrandt.1427250630 > bosch.nfs: 148 lookup [|nfs] 09:51:51.273697 bosch.nfs > rembrandt.1427250630: reply ok 128 lookup [|nfs] 09:51:51.273697 rembrandt.1427250631 > bosch.nfs: 172 setattr [|nfs] 09:51:51.293697 bosch.nfs > rembrandt.1427250631: reply ok 96 setattr [|nfs] 09:51:51.293697 rembrandt.1427250632 > bosch.nfs: 1180 write [|nfs] 09:51:51.293697 bosch.nfs > rembrandt.1427250632: reply ok 96 write [|nfs] 09:51:51.293697 rembrandt.1427250633 > bosch.nfs: 1180 write [|nfs] 09:51:51.293697 bosch.nfs > rembrandt.1427250633: reply ok 96 write [|nfs] 09:51:51.293697 rembrandt.1427250634 > bosch.nfs: 1180 write [|nfs] 09:51:51.293697 bosch.nfs > rembrandt.1427250634: reply ok 96 write [|nfs] 09:51:51.293697 rembrandt.1427250635 > bosch.nfs: 1180 write [|nfs] 09:51:51.293697 bosch.nfs > rembrandt.1427250635: reply ok 96 write [|nfs] 09:51:51.293697 rembrandt.1427250636 > bosch.nfs: 1180 write [|nfs] 09:51:51.293697 bosch.nfs > rembrandt.1427250636: reply ok 96 write [|nfs]