Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Casper.Dik@Holland.Sun.Com (Casper H.S. Dik - Network Security Engineer)
Subject: Re: NFS linux->osf1 slow, linux->irix fast
Date: 1999/01/21	[thread overview]
Message-ID: <casper.916914064@nl-usenet.sun.com> (raw)
In-Reply-To: ry90ex7zao.fsf@xray.bmc.uu.se

[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]

Remco Wouts <remco@xray.bmc.uu.se> writes:

>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.

It's more of a problem with Linux and IRIX.  Linux doesn't perform
write behind and IRIX violates the NFS protocol spec by lying that
it has written something to disk when it hasn't.

>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.

Just curious: what system did you use for tcpdump?  The timstamps look
bogus.  (The end in the same four digits all the time and several
packets appear to have been exchanged in one microsecond, which isn't
even theoretically possible)


>dd if=/dev/zero of=<file on carr (OSF1)>  bs=1024 count=5

>09:51:46.693697 rembrandt.1427250625 > carr.nfs: 1180 write [|nfs]
>09:51:46.743697 carr.nfs > rembrandt.1427250625: reply ok 96 write [|nfs]

As a standards conforming system, carr waits until the write has been
committed to disk.

>dd if=/dev/zero of=<file on bosch(IRIX)>  bs=1024 count=5

Since tcpdump is faulty on this system, I can only assume the packets are
exchanged within teh same 10ms interval:

>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]

Here we see "bosch" lying about how fast its disks are.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.



  reply	other threads:[~1999-01-21  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-21  5:00 NFS linux->osf1 slow, linux->irix fast Remco Wouts
1999-01-21  5:00 ` Casper H.S. Dik - Network Security Engineer [this message]
1999-01-26  5:00 ` Eric Werme - replace nospam with werme
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox