Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: DECstation 5000/240
@ 1992-04-03  4:47 Greg Pavlov
  1992-04-03 15:29 ` nfs-patch Peter Averkamp
  1992-04-03 20:20 ` DECstation 5000/240 Marcus J. "will do TCP/IP for food" Ranum
  0 siblings, 2 replies; 5+ messages in thread
From: Greg Pavlov @ 1992-04-03  4:47 UTC (permalink / raw)




  
  Apx. a month ago, someone posted a "patch" to nfs_server.c to modify NFS
  to async mode writes.  Unfortunately, we do not have source; has anyone
  been able to do the same without source ?  E.g., is there some mechanism 
  via DEC to obtain this ?


  many thanks,

   greg pavlov
   pavlov@fstrf.org


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs-patch
  1992-04-03  4:47 DECstation 5000/240 Greg Pavlov
@ 1992-04-03 15:29 ` Peter Averkamp
  1992-04-03 20:11   ` nfs-patch Marcus J. "will do TCP/IP for food" Ranum
  1992-04-03 20:20 ` DECstation 5000/240 Marcus J. "will do TCP/IP for food" Ranum
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Averkamp @ 1992-04-03 15:29 UTC (permalink / raw)


pavlov@niktow.canisius.edu (Greg Pavlov) writes:

>  
>  Apx. a month ago, someone posted a "patch" to nfs_server.c to modify NFS
>  to async mode writes.  Unfortunately, we do not have source; has anyone
>  been able to do the same without source ?  E.g., is there some mechanism 
>  via DEC to obtain this ?

I was into that one for some time now, but talking to our service rep.
only produced the usual garbage ("this might cause data loss...bla,bla..").
I'm still convinced that I WANT to take the 'risk' to get appropriate
write performance, as I have to get it for an image processing application.
So I tried to report it to Dec as a sort of bug, but you can guess the
answer... 
Ok, next I tried to at least start an SPR on it, but same (*!X@=inappropriate,
in my opinion) reaction, although this is not yet finished. The mills 
still seem to be grinding... 
Maybe, if enough people complain, we'll get an async mount option in 
somewhat like 4.2c ? I personnaly do not really believe in it, as this 
might let the sales on prestoserve drop significantly.

So I will modify your question for myself a little bit:

   1) Is there anyone out there with a patched nfs_server.o (yes,.o)
      that he/she is willing to share with some dare-devils who want
      to risk data loss ?

   2) Could anyone from DEC comment on the legal situation for 
      exchanging kernel OBJECT files between license owners ?

Please do not post flames or comments on nfs protocol here. There
just was a thread on this in comp.protocols.nfs.

 - Peter Averkamp -


--
Peter Averkamp,                      | email:
Physics Department E20               | petav@radon.e20.physik.tu-muenchen.de
Techn. Univ. of Munich               | Phone: ++49 (89) 3209-2408
D-8046 Garching, Germany             | Fax:   ++49 (89) 3209-2338


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs-patch
  1992-04-03 15:29 ` nfs-patch Peter Averkamp
@ 1992-04-03 20:11   ` Marcus J. "will do TCP/IP for food" Ranum
  1992-04-06  6:51     ` nfs-patch Peter Averkamp
  0 siblings, 1 reply; 5+ messages in thread
From: Marcus J. "will do TCP/IP for food" Ranum @ 1992-04-03 20:11 UTC (permalink / raw)


petav@Physik.TU-Muenchen.DE (Peter Averkamp) writes:

>I was into that one for some time now, but talking to our service rep.
>only produced the usual garbage ("this might cause data loss...bla,bla..").
>I'm still convinced that I WANT to take the 'risk' to get appropriate
>write performance, as I have to get it for an image processing application.
>So I tried to report it to Dec as a sort of bug, but you can guess the
>answer... 

	A working protocol is not a bug. I agree that it should be a
configurable option, that defaults to "off", but presently that's not
something that's in the works. In other words, if you want to run asynch
NFS you'll have to break the kernel yourself. It's a parameter passed to
the underlying filessytem write routine - you might be able to patch
it yourself with a debugger. (it's in rfs_write())

>Ok, next I tried to at least start an SPR on it, but same (*!X@=inappropriate,
>in my opinion) reaction, although this is not yet finished.

	You're probably wasting your time and ours, unfortunately. If I
could change it, I would have a long time ago.

>Maybe, if enough people complain, we'll get an async mount option in 
>somewhat like 4.2c ? I personnaly do not really believe in it, as this 
>might let the sales on prestoserve drop significantly.

	4.2c will have significant improvements to how ULTRIX does
I/O. Pretty much *all* filesystem throughput will increase. NFS will
still be slow(er) but the reason for our not shipping with asynch
NFS is *NOT* to keep from cannibalizing presto sales. It's a decision
that was made before presto existed, and presently there's just not
a great likelihood we'll see a supported asynch NFS work its way
in to the product. If you're going to agitate, agitate for having it
in OSF/1.

>   2) Could anyone from DEC comment on the legal situation for 
>      exchanging kernel OBJECT files between license owners ?

	I wouldn't put it out for anyonymous FTP, but slipping it
under the table is probably going to go undetected.

	Let me just be a devil's advocate for a second. If you have
problems with your system - things start to act weird. Maybe you
have a few crashes and your clients start to get flaky. Do you
have a software support contract? Will you *honestly* tell Atlanta
you're running an unsupported configuration so they won't waste any
time on you? That's the *reason* there's no asynch NFS, basically.
There are reasons the protocol is synchronous (to make it slow!;) )
and having it be that way makes it more reliable and less likely
to produce weird data integrity problems. Wierd data integrity
problems are *hell* on customer support, and that's why there's this
notion of "supported"/"unsupported" configurations. It lets us draw
a line and say "if you're going to say you don't care about data integrity,
in return you should let us say we can wash our hands of you, support
wise."  Does that sound like a deal? Doesn't to me.  I don't know
how vendors like Sun, who don't even bother to check to make sure
UDP packets are clean ("write garbage and say it's good data") can
get away with it.

mjr.
-- 
"Sometimes if you have a cappuccino and then try again it will work OK."
						- Dr. Brian Reid, 1992
"Sometimes one cappucino isn't enough."
						- Me


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: DECstation 5000/240
  1992-04-03  4:47 DECstation 5000/240 Greg Pavlov
  1992-04-03 15:29 ` nfs-patch Peter Averkamp
@ 1992-04-03 20:20 ` Marcus J. "will do TCP/IP for food" Ranum
  1 sibling, 0 replies; 5+ messages in thread
From: Marcus J. "will do TCP/IP for food" Ranum @ 1992-04-03 20:20 UTC (permalink / raw)


pavlov@niktow.canisius.edu (Greg Pavlov) writes:
>  
>  Apx. a month ago, someone posted a "patch" to nfs_server.c to modify NFS
>  to async mode writes.  Unfortunately, we do not have source; has anyone
>  been able to do the same without source ?

	It was a patch to rfs_write() - how good are you with a debugger?

	The problem is that you're breaking your machine. If you do so,
do you plan to break your software support contract? It's only fair. If
you run asynch NFS, you're risking flaking your systems out, and if you
then slam DEC for paying the price for that factor of 7 in performance,
you're not being fair.

	It was me that made that initial posting. Maybe it was an
error on my part, since I realized later that we might have customers
who lose data as a result, and then aren't honest enough to admit
that they broke the integrity of their filesystems and call tech
support and put them through a rat-race they can never solve, since
it's not a problem with ULTRIX.

	I'm not really sure how other vendors address this. I suppose
Sun just shrugs when your data gets corrupted by bad UDP packets on
client writes. I've seen system problem reports of NFS errors talking
to some of our competition's machines. It'd really suck bigtime if
we wasted time and money trying to track down nonexistent bugs in
our software, because someone else broke the protocol to make their
product faster.

	4.2c may have some significant I/O thruput enhancements and
some of them will really help NFS. It'll still be slower than local,
of course, but ours will be *reliable* (as reliable as NFS can be).

mjr.
-- 
"Sometimes if you have a cappuccino and then try again it will work OK."
						- Dr. Brian Reid, 1992
"Sometimes one cappucino isn't enough."
						- Me


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nfs-patch
  1992-04-03 20:11   ` nfs-patch Marcus J. "will do TCP/IP for food" Ranum
@ 1992-04-06  6:51     ` Peter Averkamp
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Averkamp @ 1992-04-06  6:51 UTC (permalink / raw)


Thanks to all that responded !
I digged into MIPS assembler a little this weekend and was able to
do the patch. (sum = 15177   104 for 4.2a and 62555   104 for 4.2 ,right?)
Things fly now!
I have got the impression that i am not the only one who will be using it,
so, regarding the comments from mjr, i would be interested in any experiences
with it as well as who else wants to use it. Therefore i am willing to
provide a patch for 4.2 & 4.2a (unsupported, of course) to anyone who
drops me a mail. Comparison to prestoserve would be also rather interesting.
As i am only interested in the tranfer speed for big files, here is
a startpoint:  

    cp /genvmunix(2761504 bytes) /mountpoint  :  20.8sec w/o patch
                                              :  5.2sec  w patch
    source was a DEC DSP3085 disk (a small,nice & fast little thing;
    very good job, DEC!) on a 5k/200 and destination a Maxtor 
    Panther12 on a 5k125, both machines w/o load.

To mjr: As i don't want to warm up a thread here that belongs to 
comp.protocls.nfs, i just want to say that i was pleased to read that 
you think async writes should be a configurable option, especially if
it would let us use it on a per-filesystem basis.

- Peter Averkamp -

--
Peter Averkamp,                      | email:
Physics Department E20               | petav@radon.e20.physik.tu-muenchen.de
Techn. Univ. of Munich               | Phone: ++49 (89) 3209-2408
D-8046 Garching, Germany             | Fax:   ++49 (89) 3209-2338


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1992-04-06  6:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-04-03  4:47 DECstation 5000/240 Greg Pavlov
1992-04-03 15:29 ` nfs-patch Peter Averkamp
1992-04-03 20:11   ` nfs-patch Marcus J. "will do TCP/IP for food" Ranum
1992-04-06  6:51     ` nfs-patch Peter Averkamp
1992-04-03 20:20 ` DECstation 5000/240 Marcus J. "will do TCP/IP for food" Ranum

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