* Re: Poor NFS Performance (was Re: Managing a network of UNIX workstations)
[not found] ` <44462@wlbr.IMSD.CONTEL.COM>
@ 1990-01-21 4:40 ` George Robbins
1990-01-21 11:07 ` Chris Torek
1990-01-22 18:03 ` Dirk Grunwald
0 siblings, 2 replies; 4+ messages in thread
From: George Robbins @ 1990-01-21 4:40 UTC (permalink / raw)
In article <44462@wlbr.IMSD.CONTEL.COM> sms@WLV.IMSD.CONTEL.COM.UUCP (Steven M. Schultz) writes:
> In article <1579@atha.AthabascaU.CA> lyndon@cs.AthabascaU.CA (Lyndon Nerenberg) writes:
>
> >I think it's worth noting that our Sparcstations I's served from a
> >4/370 are getting 450 Kbytes/second NFS throughput, while our 785
> >running Ultrix 2.1 only gets 350 Kbytes/second throughput to its
> >local RA81's. In many cases, NFS is not the real problem ...
>
> Only!? And for how LONG did that transfer rate sustain?
> a fraction of a second or two or three would be a good guess
> before something else on the system demanded attention...
guess again...
> well, shucks - i'll be a diped in cpu-cycle hick. imagine
> a 4/370 wuppin' a 10 year old machine using a not-fast drive
> with a slow controller on a slow buss. simply amazing, aint't it?
> have you ever seen what I/O can be pumped thru a (mere) 785
> with decent controllers and drives? it's quite a LOT.
Well sounds like fun so I'll throw in a table of pseudo-benchmarks.
\f
Raw Disk Read tests - reading from a single drive/controller on an
unloaded system using dd if=raw-disk of=/dev/null bs=(tracksize blocks)
raw disk was "b" partition which varied in size between drives (15-65M-byte)
and may not have been cylinder aligned on some of the RA type drives.
System Controller Drive Byte/sec
750/4.3Tahoe SC750 CDC9766 570K
785/Ultrix 3.1 MBA RM80 726K
785/Ultrix 3.1 SBI/SC7003 Sabre 1230 1045K 8-)
785/Ultrix 3.1 UBA/UDA50 RA81 460K 8-(
5810/Ultrix 3.1C BI/KDB50 RA70 675K
5810/Ultrix 3.1C BI/KDB50 RA81 862K
5810/Ultrix 3.1C BI/KDB50 RA90 819K
5810/Ultrix 3.1C BI/KDB50/Exsys Sabre 1123*2 813K
5810/Ultrix 3.1C BI/HSC50 RA81 862K
5810/Ultrix 3.1C BI/HSC50 RA90 885K
5810/Ultrix 3.1C BI/HSC50/Exsys Sabre 1123*2 741K
DS3100/Ultrix 3.1C SCSI RZ55 789K
Whether raw reads have any relevance as compared to a well validated
I/O benchmark I leave up to you. It is worth noting that given enough
CPU cycles, multiple controller/drive paths add thruput as long as
you're not bus limited - on the 5810 3 RA81's running simultaneously
thru the KDB50 and two HSC50 cards yielded up 2.3M byte/sec.
Another thing to note is that performance with the RA90's and the
Exsys/Sabre drives seems to actually be slower than the RA81's in some
cases. If don't know if this is becuase of the drive being faster
than the controller or other factors. Interleaving anybody?
One could conclude for raw disk performance the Ideal Machine might
be something like an 8650 with a bunch of SC7003's. Could be, as long
as you don't run out of CPU cycles. (I dunno if the 86X0 SBI runs
at the full 13.3 Mbyte/sec rate). You can get a lot more CPU cycles
in some of the BI boxes.
Total I/O thruput in any but the low end systems is usually more
than adequate for typical Unix systems. DEC usually seems to do
as good a job on the System busses - SBI/BI/XMI as they do a lousey
job throttling the controllers and/or drives...
Some quick numbers on cooked and NFS thruput. Here an unloaded 785
serving the 5810 off the Sabre 1230 drives. All the NFS stuff pretty
much default with 4 nfsd's and 4 biod's. Test is reading a ~7M-byte
file with dd if=file of=/dev/null bs=x.
785 Serving 5810
bs local NFS
byte/sec byte/sec
!bs 114K 143K
1b 254K 143K
32b 572K 143K
128b 680K 143K
I'm not sure why there's a difference between the !bs and bs=1b numbers -
perhaps DEC's n-buffering is only turned on when you specify a blocksize.
Trying similar tests on the suns proved fairly difficult. The Suns I
was playing with (a 4/280 w/7053 and Sabre 1230 drives and an Sparcstation 1)
seemed to be doing some agressive buffering which made getting repeatable
numbers difficult. Resorting to large (~50 M-byte) files cured this, but
made things kind of slow.
All numbers using normal (non-raw) I/O, dd of=/dev/null bs=128b...
Sun 4/280 local disk 1150K
Sun 4/280 serving SS/1 594K
Sun 4/280 serving 5810 425K
Sun 4/280 serving 785 160K
5810 local disk 590K (kdb/ra81)
5810 serving DS3100 273K
5810 serving SS/1 213K 8-(
785 serving SS/1 137K 8-(((
Obvious, NFS performance on the 785 pretty poor in comparison to the Sun 4.
It's less obvious whether this has to do with the "NFS performance problems"
that DEC supposedly fixed in 3.1C (RISC) or the poor thing just runs out of
CPU cycles. Prior experience shows the 785 to be pretty much CPU bound
during this kind of fun.
As for the 5810, showing half the server performance of a Sun 4 needs some
kind of explaining if the 5810 is supposed to be DEC's answer to comptitive
RISC based servers. Admittedly, it doesn't do too bad the opposite way, but
that's not exactly the meal ticket.
Disclaimer: I could have done all kind of stupid things or been confused
or have hardware or network problems. Maybe somebody else can do better?
--
George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing arpa: cbmvax!grr@uunet.uu.net
Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Poor NFS Performance (was Re: Managing a network of UNIX workstations)
1990-01-21 4:40 ` Poor NFS Performance (was Re: Managing a network of UNIX workstations) George Robbins
@ 1990-01-21 11:07 ` Chris Torek
1990-01-22 5:22 ` George Robbins
1990-01-22 18:03 ` Dirk Grunwald
1 sibling, 1 reply; 4+ messages in thread
From: Chris Torek @ 1990-01-21 11:07 UTC (permalink / raw)
In article <9403@cbmvax.commodore.com> grr@cbmvax.commodore.com
(George Robbins) writes:
>Well sounds like fun so I'll throw in a table of pseudo-benchmarks.
>785/Ultrix 3.1 SBI/SC7003 Sabre 1230 1045K 8-)
This is about right: the maximum MBA rate is about 1.1 MB/s, which
matches pretty closely both old SMD disks and newer `fast' 5.25 inch
disks (`fast' in quotes since these are from the same class as the
old 10 MB Quantum drive klunkers; some of the high density 5.25 inch
disks do better than 1 MB/s).
>5810/Ultrix 3.1C BI/KDB50 RA81 862K
Your system does better than mine here: on an 8250 with KDB50+RA81,
running 4.3BSD-tahoe with my driver, I get only 660 kB/s. Some of this
is no doubt due to the BI bus being used for CPU and memory traffic as
well.
>5810/Ultrix 3.1C BI/KDB50 RA90 819K
>5810/Ultrix 3.1C BI/HSC50 RA81 862K
>5810/Ultrix 3.1C BI/HSC50 RA90 885K
Curious that the HSC gives no real gain. Then again, perhaps not curious;
this may be the actual data rate from the drives.
>DS3100/Ultrix 3.1C SCSI RZ55 789K
RZ55s with new firmware---if you can get it, which we cannot---do better.
>Whether raw reads have any relevance as compared to a well validated
>I/O benchmark I leave up to you.
They are good for `will never exceed' speeds, and good for `how well
have I done tuning the file system / device driver?' questions.
>Another thing to note is that performance with the RA90's and the
>Exsys/Sabre drives seems to actually be slower than the RA81's in some
>cases.
All else aside, the RA90 should be faster simply because the bit rate
is higher. The Exsys could well be slower because of MSCP protocol
conversion (the overhead for decoding the !*@% MSCP packets is
horrendous: give me straight hardware registers any day). (SCSI is
not so great either, but at least no one uses 8085s to decode SCSI
packets.)
RA81s are much slower when used in a typical manner, since they (a)
use embedded sync (have to find those sectors every time we switch
heads) and (b) apparently have poor seek settle times. That 800 kB/s
turns into 250 kB/s through the file system. Fujitsu Eagles on an
Emulex MASSBUS-emulator do better, going from 1 MB/s to 500 kB/s. A
servo track helps greatly since neither controller is smart enough
to read ahead the current cylinder. (The HSC50 could do it; someone
needs to write clever software. It would probably take a few days,
given the existing code, to bash out a simple read-ahead-with-preemption
algorithm. I am also assuming the HSC50 has sufficient memory. It
takes 357 kB to store one RA81 cylinder; it would help to have 1 MB
minimum of disk cache RAM on the HSC. I have no idea why DEC have
not already done this....)
>One could conclude for raw disk performance the Ideal Machine might
>be something like an 8650 with a bunch of SC7003's.
8650s are too expensive, not to mention already obsoleted. Better:
someone should make a BI board that provides raw disk registers to
the CPU, a la a MASSBUS adapter. Writing the BI equivalent of hp.c
would not be hard. It would also help to have a BI card that does
SCSI---not TMSCP-to-SCSI translation, not MSCP-to-SCSI translation,
just raw SCSI. Give me direct control of the command and data packets.
(ALERT TO VENDORS who make a converter board for BI or Unibus: add
a `special mode switch' to allow direct control, and we will buy your
board today. I do not care that the board has software to convert
MSCP, as long as I can bypass it and send SCSI commands directly.)
Incidentally, some Ultrix VAX machines with SCSI interfaces (3000
series) may have SCSI performance problems due to software translation
of MSCP to SCSI and back. Apparently---I have been told this, but not
verified it myself---in the zeal to make every disk an MSCP disk, DEC
decided they would add a software layer over the SCSI controller to
make it look like an MSCP disk. Waste of cycles, I say....
>(I dunno if the 86X0 SBI runs at the full 13.3 Mbyte/sec rate).
No reason it should not. Note, though, that the BI also has a 13.3
MB/s maximum transfer rate. Indeed, comparing the SBI and the BI
spec-for-spec shows that the two are, for all practical purposes,
identical. Only the name and hardware implementation have changed.
>... DEC usually seems to do as good a job on the System busses -
>SBI/BI/XMI as they do a lousey job throttling the controllers and/or
>drives...
Agree. Given the (relative lack of) CPU speed, their major busses
are either just right or overkill; their problem is with the stuff
at the far end. (I know not why they do not give in and repackage
systems from their competitors. Many of their Unibus controllers---
e.g., for the TU80---are already made by Dilog.)
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris@cs.umd.edu Path: uunet!mimsy!chris
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Poor NFS Performance (was Re: Managing a network of UNIX workstations)
1990-01-21 11:07 ` Chris Torek
@ 1990-01-22 5:22 ` George Robbins
0 siblings, 0 replies; 4+ messages in thread
From: George Robbins @ 1990-01-22 5:22 UTC (permalink / raw)
In article <21977@mimsy.umd.edu> chris@mimsy.umd.edu (Chris Torek) writes:
> In article <9403@cbmvax.commodore.com> grr@cbmvax.commodore.com
> (George Robbins) writes:
>
> >5810/Ultrix 3.1C BI/KDB50 RA81 862K
>
> Your system does better than mine here: on an 8250 with KDB50+RA81,
> running 4.3BSD-tahoe with my driver, I get only 660 kB/s. Some of this
> is no doubt due to the BI bus being used for CPU and memory traffic as
> well.
Somebody (from DEC?) recently mentioned the KDB microcode had been worked
over for more performance. I wonder of this coule be it. I wouldn't
expect normal BI loading to have much effect.
> Curious that the HSC gives no real gain. Then again, perhaps not curious;
> this may be the actual data rate from the drives.
Hard to tell what the HSC is supposed to do. The empahsis seems to be on
serving clusters, which would emhphasize multi-drive / multi-request thruput.
For this kind of test, I expect it's just a bunch of expensive hardware
getting in the way.
> >Another thing to note is that performance with the RA90's and the
> >Exsys/Sabre drives seems to actually be slower than the RA81's in some
> >cases.
>
> RA81s are much slower when used in a typical manner...
Luckily they're dead meat, just holding files when I had to roll my
(sniff) RP07 and 4 RM05's out into the hall to make room for the new
stuff.
> A servo track helps greatly since neither controller is smart enough
> to read ahead the current cylinder. (The HSC50 could do it; someone
> needs to write clever software. It would probably take a few days,
> given the existing code, to bash out a simple read-ahead-with-preemption
> algorithm. I am also assuming the HSC50 has sufficient memory. It
> takes 357 kB to store one RA81 cylinder; it would help to have 1 MB
> minimum of disk cache RAM on the HSC. I have no idea why DEC have
> not already done this....)
I guess it's not their emphasis. The HSC50 has only 128K, the 40/70 512K,
and this has to be shared between 12->32 drives. We're basically talking
obsolete technology - for the price you want something that commits about
256K->1M/drive for readahead and intelligent caching. Unfortunatly, it
looks like rather than doing a good low end HSC, they're going to do
something increadibly expensive for the 9000 class machines.
> someone should make a BI board that provides raw disk registers to
> the CPU, a la a MASSBUS adapter. Writing the BI equivalent of hp.c
> would not be hard. It would also help to have a BI card that does
> SCSI---not TMSCP-to-SCSI translation, not MSCP-to-SCSI translation,
> just raw SCSI. Give me direct control of the command and data packets.
Hell, I wouldn't even mind if I could get a MSCP emulating SMD controller
for the BI bus. This f**king SDI stuff is as bad as the Massbus for adding
cost w/o adding value. It's is both slower and more expensive than directly
attaching the drives, not to mention you have to get derated Sabre drives
that are both slower and more expensive than the normal Sabre 1230's.
Somebody needs to take a hard look at the Megatape BI/SCSI controller
and see if it has any kind of diagnostic mode or other way to make it
more generally useful.
DEC's attempts to close off the BI bus have obviously bourne fruit, since
I can't get competitive peripherals either from DEC *or* third parties
and that wretched Sun 4 sits there running circles around my shiny new
DECsystem. I don't want to think about new Sun "superservers" with IPI
drives and other fun stuff.
--
George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing arpa: cbmvax!grr@uunet.uu.net
Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Poor NFS Performance (was Re: Managing a network of UNIX workstations)
1990-01-21 4:40 ` Poor NFS Performance (was Re: Managing a network of UNIX workstations) George Robbins
1990-01-21 11:07 ` Chris Torek
@ 1990-01-22 18:03 ` Dirk Grunwald
1 sibling, 0 replies; 4+ messages in thread
From: Dirk Grunwald @ 1990-01-22 18:03 UTC (permalink / raw)
>>> DS3100/Ultrix 3.1C SCSI RZ55 789K
I repeated the same experiment on my machine; however, I have a CDC
(impris) Wren V that I formated on a Sun4 with the /etc/format.dat
entry that enables the ``cache read ahead'', allowing it to read 32K
at a time. I get
DS3100/Ultrix 3.1 SCSI Wren 1480K
using ``dd if= /dev/rrz0b of=/dev/null bs=32768''. When using bs=8192, I get..
DS3100/Ultrix 3.1 SCSI Wren 953K
which still beats the pants any other box listed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1990-01-22 18:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3949@jhunix.HCF.JHU.EDU>
[not found] ` <9338@cbmvax.commodore.com>
[not found] ` <12938@watcgl.waterloo.edu>
[not found] ` <1425@atha.AthabascaU.CA>
[not found] ` <13022@watcgl.waterloo.edu>
[not found] ` <1579@atha.AthabascaU.CA>
[not found] ` <44462@wlbr.IMSD.CONTEL.COM>
1990-01-21 4:40 ` Poor NFS Performance (was Re: Managing a network of UNIX workstations) George Robbins
1990-01-21 11:07 ` Chris Torek
1990-01-22 5:22 ` George Robbins
1990-01-22 18:03 ` Dirk Grunwald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox