From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4ff496afbe9f1dbd X-Google-Attributes: gidfee84,public From: mbeattie@sable.ox.ac.uk (Malcolm Beattie) Subject: Re: Strange problem (crash/NFS) Date: 1997/03/21 Message-ID: <5gtrkn$el0@news.ox.ac.uk>#1/1 X-Deja-AN: 227282182 References: Organization: Oxford University, England Newsgroups: comp.unix.osf.osf1 In article , Eric Werme wrote: >acc@beavis.dei.isep.ipp.pt (Antonio Costa) writes: >>We have an DECalpha 4/100 266 running DUNIX 3.2C (with some patches from >>DIGITAL). >>Some time ago we put a P5/166 UW-SCSI2 Linux machine as our main NIS/NFS >>server (NFS V2). > >While I am fond of Linux, I tried talking to a Linux NFS server at the >recent Connectathon and was not impressed. Only when I killed nfsiod >could I a coax reasonable performance out of it (I think we were swamping >its input socket). We run Linux 2.0 on the main University web server (100000 hits/day at the moment), a Pentium 133MHz with 64Mb RAM and it NFS exports its filestore to 20000 users on two Alphaserver 2100s. We get 500-700K/s for NFS writes to the web server and 700K/s for NFS reads. This is with the standard user-mode Linux NFS server not the new in-kernel one which is currently in development. That performance isn't incredibly fast but it's acceptable in our environment. > Someone from Sun noticed the Linux server also >reused a file handle, something very, very evil in a NFS server, and >something that has caused panics in DEC clients in the past (except I >thought we had fixed that by V3.2C). Remember the mantra: you shouldn't be able to bring down an NFS client just because an NFS server sends it dodgy data, *especially* if, like Ultrix and Digital UNIX, you allow ordinary users to NFS mount filesystems from remote servers. Digital UNIX 3.2C does not fix all NFS problems. We ran into one some months ago where a user mounted a filesystem onto one of our Alphaservers (Digital UNIX 4.0) from another Linux NFS server somewhere in the University. The Alphaserver panicked and crashed. DEC sent us a kernel patch last week (at last) that's supposed to fix it. Notice that since the Linux NFS server is user-mode, it can't panic the Linux kernel in that way so you could say we're trading a slight performance drop (1Mb/s -> 600K/s) for the added reliability of using Linux as an NFS server instead of Digital UNIX :-) >I suggest you talk to your customer support people about the Alpha >crashes, but I would strongly discourage using Linux (whatever >version I was running against) as a NFS server for files you actually >expect to reuse. As someone who uses and likes both Linux and Digital UNIX a lot, I'd say to consider Linux for a given solution just as you would consider any other Unix. If you want maximum NFS performance over 100Mbs or memory channel then Linux can't (yet) compete. On the other hand if you need the capabilities of Linux where Digital UNIX (currently) falls short (price/performance, easy built-in firewalling, faster security fixes, uniformity over multiple architectures) then that may weigh things against Digital UNIX. Obviously, the *BSD crowd should be considered equally as should anything else that will do the job: this isn't Linux advocacy for the sake of it. --Malcolm -- Malcolm Beattie Oxford University Computing Services "Widget. It's got a widget. A lovely widget. A widget it has got." --Jack Dee