* Re: Strange problem (crash/NFS)
1997-03-20 5:00 Strange problem (crash/NFS) Antonio Costa
@ 1997-03-20 5:00 ` Antonio Costa
1997-03-20 5:00 ` Eric Werme
1 sibling, 0 replies; 10+ messages in thread
From: Antonio Costa @ 1997-03-20 5:00 UTC (permalink / raw)
In article <slrn5j23fj.gqp.acc@beavis.dei.isep.ipp.pt>, Antonio Costa wrote:
>We have an DECalpha 4/100 266 running DUNIX 3.2C (with some patches from
>DIGITAL).
Sorry, the machine is a DECalpha 4/1000 266.
Antonio Costa.
--
## #### #### | mailto:acc@dei.isep.ipp.pt
# # # # # # | http://www.dei.isep.ipp.pt/~acc
###### # # | PGP keys: http://.../~acc/acc-pgp.html
# # #### #### | or mail with subject SEND-PGP-KEY
^ permalink raw reply [flat|nested] 10+ messages in thread
* Strange problem (crash/NFS)
@ 1997-03-20 5:00 Antonio Costa
1997-03-20 5:00 ` Antonio Costa
1997-03-20 5:00 ` Eric Werme
0 siblings, 2 replies; 10+ messages in thread
From: Antonio Costa @ 1997-03-20 5:00 UTC (permalink / raw)
Hello.
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).
All other Linux and Ultrix machines are working nicely, no problems.
But the Alpha crashes almost daily, sometimes freezing completely, other
times reporting problems with NFS support in the kernel (looking
at the crash files). It also reports too many processor corrected errors
and a CPU exception (ucb_invalidate: ...)
I have already look at DejaNews for similar reports and I noticed a
similar question, but it said DIGITAL had no solution yet.
Thanks in advance,
Antonio Costa.
--
## #### #### | mailto:acc@dei.isep.ipp.pt
# # # # # # | http://www.dei.isep.ipp.pt/~acc
###### # # | PGP keys: http://.../~acc/acc-pgp.html
# # #### #### | or mail with subject SEND-PGP-KEY
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Strange problem (crash/NFS)
1997-03-20 5:00 Strange problem (crash/NFS) Antonio Costa
1997-03-20 5:00 ` Antonio Costa
@ 1997-03-20 5:00 ` Eric Werme
1997-03-21 5:00 ` Andrew Gallatin
` (3 more replies)
1 sibling, 4 replies; 10+ messages in thread
From: Eric Werme @ 1997-03-20 5:00 UTC (permalink / raw)
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). 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).
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. Working on the Linux NFS server could be a fun
pasttime, unfortunately I don't have spare time for it.
You might do better with the Alpha box as the server - that way you'd
also get a fast V3 server.
--
<> Eric (Ric) Werme <> This space under reconstruction <>
<> <werme@zk3.dec.com> <> <>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Strange problem (crash/NFS)
1997-03-20 5:00 ` Eric Werme
1997-03-21 5:00 ` Andrew Gallatin
@ 1997-03-21 5:00 ` Malcolm Beattie
1997-03-21 5:00 ` Antonio Costa
1997-03-21 5:00 ` Peter deFriesse
3 siblings, 0 replies; 10+ messages in thread
From: Malcolm Beattie @ 1997-03-21 5:00 UTC (permalink / raw)
In article <werme.858899522@alingo.zk3.dec.com>,
Eric Werme <werme@zk3.dec.com> 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 <mbeattie@sable.ox.ac.uk>
Oxford University Computing Services
"Widget. It's got a widget. A lovely widget. A widget it has got." --Jack Dee
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Strange problem (crash/NFS)
1997-03-20 5:00 ` Eric Werme
1997-03-21 5:00 ` Andrew Gallatin
1997-03-21 5:00 ` Malcolm Beattie
@ 1997-03-21 5:00 ` Antonio Costa
1997-03-24 5:00 ` Eric Werme
1997-03-21 5:00 ` Peter deFriesse
3 siblings, 1 reply; 10+ messages in thread
From: Antonio Costa @ 1997-03-21 5:00 UTC (permalink / raw)
In article <werme.858899522@alingo.zk3.dec.com>, 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). 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).
We have several DECstations running Ultrix 4.3 without problem. Only the
DECalpha has problems :-(
>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. Working on the Linux NFS server could be a fun
>pasttime, unfortunately I don't have spare time for it.
I already contacted support and all they did was install a new
motherboard...
>You might do better with the Alpha box as the server - that way you'd
>also get a fast V3 server.
But is a lot more simpler to buy PC hardware and we can do it by
ourselves :-)
We bought a BusLogic UW SCSI-2 controller and Quantum SCSI disks and
it took less than a day to make it work (install, kernel compilation,
setup, etc).
Our UNIX machines are PC/Linux and DECst/Ultrix and Ultrix also
does not support NFS V3.
Even so, should I remove the nfsiod's?
Best regards,
Antonio Costa.
--
## #### #### | mailto:acc@dei.isep.ipp.pt
# # # # # # | http://www.dei.isep.ipp.pt/~acc
###### # # | PGP keys: http://.../~acc/acc-pgp.html
# # #### #### | or mail with subject SEND-PGP-KEY
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Strange problem (crash/NFS)
1997-03-20 5:00 ` Eric Werme
@ 1997-03-21 5:00 ` Andrew Gallatin
1997-03-21 5:00 ` Malcolm Beattie
` (2 subsequent siblings)
3 siblings, 0 replies; 10+ messages in thread
From: Andrew Gallatin @ 1997-03-21 5:00 UTC (permalink / raw)
In article <werme.858899522@alingo.zk3.dec.com>,
Eric Werme <werme@zk3.dec.com> wrote:
>You might do better with the Alpha box as the server - that way you'd
>also get a fast V3 server.
Or you could convert the file server to NetBSD, FreeBSD or BSDI. They
have solid, standards compliant NFS implementations (including V3 support).
Drew
------------------------------------------------------------------------------
Duke University Email: gallatin@cs.duke.edu
Department of Computer Science Phone: (919) 660-6590
--
------------------------------------------------------------------------------
Duke University Email: gallatin@cs.duke.edu
Department of Computer Science Phone: (919) 660-6590
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Strange problem (crash/NFS)
1997-03-20 5:00 ` Eric Werme
` (2 preceding siblings ...)
1997-03-21 5:00 ` Antonio Costa
@ 1997-03-21 5:00 ` Peter deFriesse
1997-03-25 5:00 ` Eric Werme
3 siblings, 1 reply; 10+ messages in thread
From: Peter deFriesse @ 1997-03-21 5:00 UTC (permalink / raw)
Somewhere off the top of my screen in article <werme.858899522@alingo.zk3.dec.com>,
the esteemed werme@zk3.dec.com said:
>
>You might do better with the Alpha box as the server - that way you'd
>also get a fast V3 server.
BEWARE OF DEC's NFS V3!!! I installed an Alpha 2000 4/275 with
SWXCR RAID controller, lots-o-disk, and ADVFS in a mixed DU/Ultrix
environment..
The server fell flat on it's face. I am talking load averages
between 10 and the high 30's. I am talking ten minutes just to
log in to a client system. Flat on tis face.
DEC tech support was worse than useless; they didn't even bother
themselves to answer my critical call. In the mean time I have
my management and 10,000-plus users crawling up my (well, let us
drop *that* thought).
After some dinking around, I found that setting the client
systems to use nfsv2 resolved the problem. Response was fast
on the client systems and the load average on the server went
below zero (like 0.14 or so).
Maybe in an Alpha-only environment it works. But I live in the
real world where platforms tend to me mixed; even if they're from
the same company.
--
peter defriesse \\ computing facilities management \\ OIT \\ UMass
[OIT doesn't opine for me. I return that courtesy..]
Sysadmins don't go to hell; we're already doing our time in purgatory.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Strange problem (crash/NFS)
1997-03-21 5:00 ` Antonio Costa
@ 1997-03-24 5:00 ` Eric Werme
1997-03-27 5:00 ` .
0 siblings, 1 reply; 10+ messages in thread
From: Eric Werme @ 1997-03-24 5:00 UTC (permalink / raw)
acc@beavis.dei.isep.ipp.pt (Antonio Costa) writes:
>Even so, should I remove the nfsiod's?
Beats me. I guess as long as the Linux server is happy and the client
is too, you might as well leave them.
In addition to not having time to play with linux, I don't have time
to set one up - the system we used was a coworker's. I don't remember
the version of the server code, but the code we had at first didn't run
at all. We didn't have source code, so we fetched it over the net and
wound up with the next higher edit which worked much better, albeit
with the performance and file handle problems we saw.
I don't know what sort of configuration problems there might have been.
One thing well worth doing is to use as big a window on the server's
input side as you possibly can. Aim for UDP to report no socket full
problems.
--
<> Eric (Ric) Werme <> This space under reconstruction <>
<> <werme@zk3.dec.com> <> <>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Strange problem (crash/NFS)
1997-03-21 5:00 ` Peter deFriesse
@ 1997-03-25 5:00 ` Eric Werme
0 siblings, 0 replies; 10+ messages in thread
From: Eric Werme @ 1997-03-25 5:00 UTC (permalink / raw)
peter@asimov.oit.umass.edu (Peter deFriesse) writes:
>Somewhere off the top of my screen in article <werme.858899522@alingo.zk3.dec.com>,
> the esteemed werme@zk3.dec.com said:
>>
>>You might do better with the Alpha box as the server - that way you'd
>>also get a fast V3 server.
> BEWARE OF DEC's NFS V3!!! I installed an Alpha 2000 4/275 with
>SWXCR RAID controller, lots-o-disk, and ADVFS in a mixed DU/Ultrix
>environment..
The swxcr is pretty slow when it has to fill its cache pages. If you
have a free PCI slot and don't have too many disks, a KZPSA is wonderful.
If you need a lot of disks, a KZPSA and HSC40 appear to be the way to go
these days.
> The server fell flat on it's face. I am talking load averages
>between 10 and the high 30's. I am talking ten minutes just to
>log in to a client system. Flat on tis face.
Do you know if all these were nfsd threads (ps axm)? What else runs on
the server?
> DEC tech support was worse than useless; they didn't even bother
>themselves to answer my critical call. In the mean time I have
>my management and 10,000-plus users crawling up my (well, let us
>drop *that* thought).
I passed on your post to someone who passed it on to someone who can
rattle cages. No promises, though.
> After some dinking around, I found that setting the client
>systems to use nfsv2 resolved the problem. Response was fast
>on the client systems and the load average on the server went
>below zero (like 0.14 or so).
The two major differences between V2 and V3 that tend to affect performance
are "safe asynchronous writes" and READDIRPLUS. The former should speed up
AdvFS, but will use more VM. The latter has been an issue for sites with
very large directories that ar commonly used. (University user directories
are the the classic problem). What happens is that READDIRPLUS is much
like "ls -l" and returns both file names and attributes. NFS V2 uses
READDIR, which is like "ls" and only returns names.
One recent performance issue involved Solaris and AdvFS, and what happened
to Solaris's sequential access pattern as it tried to do 32 KB I/O 8 KB
at a time. Shouldn't be a problem here, as Ultrix does 8KB I/O.
If you have any nfsstat or tcpdump data from then, I'd like to look at
it. Can't give you too much time, though. vmstat too!
I'd lean toward the big directories, though even there, I'd expect things
like logging over a V2 mount to issue READDIRs and many lookups as shell
startup does the equivalent of "pwd". Generally the best thing that comes
from disabling READDIRPLUS is that filename completion is faster.
--
<> Eric (Ric) Werme <> This space under reconstruction <>
<> <werme@zk3.dec.com> <> <>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Strange problem (crash/NFS)
1997-03-24 5:00 ` Eric Werme
@ 1997-03-27 5:00 ` .
0 siblings, 0 replies; 10+ messages in thread
From: . @ 1997-03-27 5:00 UTC (permalink / raw)
1. linux nfs is not 100% compatible with other nfs implementations. (depend on the linux version,
but older versions have problems!) Request will not answered correctly and could force
problems with nfs daemons waiting for correct protocol commands.
2. There are nfs patches available for decunix, ask your local support center.
3. what does the binary.errlog file show? (uerf -R -o full |more) The entries 302 and 100
will give you a hint about possible hardware errors.
4. use nfswatch for protocol debugging on the decunix machine
Regards
Ralf
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~1997-03-27 5:00 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-20 5:00 Strange problem (crash/NFS) Antonio Costa
1997-03-20 5:00 ` Antonio Costa
1997-03-20 5:00 ` Eric Werme
1997-03-21 5:00 ` Andrew Gallatin
1997-03-21 5:00 ` Malcolm Beattie
1997-03-21 5:00 ` Antonio Costa
1997-03-24 5:00 ` Eric Werme
1997-03-27 5:00 ` .
1997-03-21 5:00 ` Peter deFriesse
1997-03-25 5:00 ` Eric Werme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox