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; 8+ 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] 8+ 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; 8+ 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] 8+ 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; 8+ 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] 8+ 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; 8+ 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] 8+ 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; 8+ 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] 8+ messages in thread

* Re: DECstation 5000/240
  1992-04-06 23:03   ` pniy
@ 1992-04-06 22:52     ` AJ Casamento
  0 siblings, 0 replies; 8+ messages in thread
From: AJ Casamento @ 1992-04-06 22:52 UTC (permalink / raw)




In article <1992Apr6.180341.11537@vax5.cit.cornell.edu> pniy@vax5.cit.cornell.
edu writes:

>> In article <AJC.92Apr2092400@thendara.pa.dec.com>,
>> ajc@pa.dec.com (AJ Casamento) writes: 
>> > 
>> > 	3rd party disks can be a boot disk. Configuring it as such is more
>> > 	difficult (and for some drive manufacturer's firmware implementations,
>> > 	virtually unworkable). But, we're willing to work with any disk drive
>> > 	manufacturer to overcome this (we're working with three of them right
>> > 	now, but I'd be willing to hear from HP, Fujitsu, IBM, SUN and anybody
>> > 	else in the disk drive business as well).
>> > 
>> So, what exactly is the probvlem?So, what exato get a Fujitsu disk
>> for the 240 that should be arriving soon, and would definitely
>> like to be able to boot from the disk. Surely "virtually unworkable"
>> is different from impossible, and since one doesn't boot often compared
>> to other uses of the disk, it shouldn't be such a problem. Is it just
>> entering in the drive parameters in the initial system installation?
>> Or what?

>>	   Arthur Smith
>>	   (asmith@icose.msd.anl.gov)


Arthur,

  It really depends on the disk drive (and I don't have an answer for all
disk drives, just some of the ones that the vendors have been willing to
work on with us).

  I'll try to keep this response to a low volume (you folks are undoubtedly
tired of having me go through these SCSI items over and over). The problem
is that consumers tend to believe that SCSI=SCSI=SCSI ad nauseum. That is
not true. Your choices can actually be: Shugart Systems Interface, SCSI-1
SCSI-1 with attention to the Common Command Set working document or SCSI-2
(and in the year-s to come, SCSI-3). And then there's the choice of a CAM
(Common Access Method) implementation for device driver.

  DEC has worked very hard on bringing it's SCSI interface up to the most
current standards available. All of our DECstation/VAXstation hardware (from
the DS3100/VS3100 models forward) are SCSI-2 hardware. With Ultrix v4.2 you
can now get CAM SCSI for your software interface. There is no other system
vendor in the market today who has both (even though the CAM comittee included
representatives from the other major system vendors).

  However, not all system vendors are at this level. And this leaves the SCSI
peripheral vendors with the problem of having firmware variants to match the
various levels provided by the system vendors. In addition to that, several
of the peripheral vendors are only just beginning to migrate their SCSI-1
devices to a SCSI-2 interface. Many of them miss items in the ANSI SCSI-2 spec
like a 250millisecond response time to a SCSI bus reset. The ANSI SCSI-1 spec
didn't have a time requirement written into it. Some of them miss it by a lot!
(We've got a scanner in house that takes 28 Seconds to respond to a bus reset).

  An example of a virtually unworkable issue with a Fujitsu drive is that
"some" Fujitsu drives have a hardware strap that sets asynchronous or synchron-
ous data transfer mode. Now, the ANSI SCSI-1 specification didn't require that
a target (disk, tape, etc.) be able to negotiate synchronous. The ANSI SCSI-2
specification says that a device should be able to negotiate an SDTR (Synchron-
ous Data Transfer Request) or reject it. The hardware strap does neither. It
simply sets the drive in either asynchronous or synchronous data transfer mode.

  Ultrix will automatically expect any third party drive to be asynchronous in
nature (the majority are and that was the low pain assignment for most of our
customers). This can be modified by an entry in the scsi_data.c file (or, if
you're running CAM, the cam_data.c file). However, at install/boot time, you
aren't running the device driver, only the console firmware. Since the SCSI-2
specification states that a target should be able to negotiate SDTR, the base
console firmware addresses the drive in an asynchronous fashion. Leaving the
synchronous negotiation to the operating system device driver once the system
is up and running.

  Now, assuming that you paid good money for the performance on this disk 
drive, you probably want it to run in synchronous mode. However, the only way
we can get this hardware implementation to run is in asynchronous. You may
not be happy with that answer, but we lived up to the ANSI SCSI-2 specification
in our interface.

  If we didn't care about you or your business, I'd just let the answer stand
as it is. And, in fact, I can't guarantee a solution. However, if Fujitsu wants
to work on this issue with us, the TRI/ADD Program would be happy to do so. I
meant my previous post. We don't have an axe to grind about who you choose to
buy your SCSI peripherals from. We'll work with any System or Peripheral vendor
that wants to have their SCSI products up and running on DECstation/DECsystem
hardware (and we're working on staffing for the other platforms as well). I
wish that we had enough resources to step all of your through your questions
individually. However, if enough of you call Fujistu, HP, Sun, etc. and tell
them that you want them to work with us to have their hardware working on DEC
platforms, maybe we can solve each vendor once for all of you. That way, we
all win. You get the hardware you want. The other vendors get to sell their
hardware. And DEC sells the systems, software and maybe the service contracts.

  That leaves us with a satisfied customer. And a satisfied customer is very
frequently a repeat customer.

  Anyway, I hope that this clears things up for you somewhat.

				Thanx,
				  AJ

p.s. By now, of course, none of you really believe me when I promise a "short"
     posting...sigh.


      **********************************************************************
      * AJ Casamento			"The question is not whether or    *
      * Digital's TRI/ADD Program	 not the opinions are mine; but    *
      * 100 Hamilton Ave. UCO1-B	 rather, which of my personalities *
      * Palo Alto, CA 94301-1616	 do they belong to?"		   *
      * 415.853.6744							   *
      * ajc@decwrl.dec.com						   *
      **********************************************************************


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

* Re: DECstation 5000/240
       [not found] ` <AJC.92Apr2092400@thendara.pa.dec.com>
@ 1992-04-06 23:03   ` pniy
  1992-04-06 22:52     ` AJ Casamento
  0 siblings, 1 reply; 8+ messages in thread
From: pniy @ 1992-04-06 23:03 UTC (permalink / raw)


In article <AJC.92Apr2092400@thendara.pa.dec.com>,
ajc@pa.dec.com (AJ Casamento) writes: 
> 
> 	3rd party disks can be a boot disk. Configuring it as such is more
> 	difficult (and for some drive manufacturer's firmware implementations,
> 	virtually unworkable). But, we're willing to work with any disk drive
> 	manufacturer to overcome this (we're working with three of them right
> 	now, but I'd be willing to hear from HP, Fujitsu, IBM, SUN and anybody
> 	else in the disk drive business as well).
> 
So, what exactly is the probvlem?So, what exato get a Fujitsu disk
for the 240 that should be arriving soon, and would definitely
like to be able to boot from the disk. Surely "virtually unworkable"
is different from impossible, and since one doesn't boot often compared
to other uses of the disk, it shouldn't be such a problem. Is it just
entering in the drive parameters in the initial system installation?
Or what?

		Arthur Smith
		(asmith@icose.msd.anl.gov)


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

* DECStation 5000/240
@ 2002-01-07 18:27 NeoSpawn
  0 siblings, 0 replies; 8+ messages in thread
From: NeoSpawn @ 2002-01-07 18:27 UTC (permalink / raw)


My news server is being grouchy and refuses to post this so if it comes up
twice in the NG, sorry!
Item #1319351131 on ebay!

--
------------
NeoSpawn :)
------------




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

end of thread, other threads:[~2002-01-07 18:27 UTC | newest]

Thread overview: 8+ 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
     [not found] <1992Apr2.162301.29772@athena.mit.edu>
     [not found] ` <AJC.92Apr2092400@thendara.pa.dec.com>
1992-04-06 23:03   ` pniy
1992-04-06 22:52     ` AJ Casamento
  -- strict thread matches above, loose matches on Subject: below --
2002-01-07 18:27 DECStation 5000/240 NeoSpawn

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