From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,7a4111ff2e56752e X-Google-Attributes: gidf7344,public X-Google-Thread: f7cd1,7a4111ff2e56752e X-Google-Attributes: gidf7cd1,public X-Google-Thread: 1164f8,7a4111ff2e56752e X-Google-Attributes: gid1164f8,public X-Google-Thread: fc7fa,7a4111ff2e56752e X-Google-Attributes: gidfc7fa,public From: jonathan@Cup.DSG.Stanford.EDU (Jonathan Stone) Subject: Re: Unix geek with a VAX Date: 1998/04/23 Message-ID: <6hn2j2$sod$1@nntp.Stanford.EDU>#1/1 X-Deja-AN: 346926927 References: <6he571$kcu@panix2.panix.com> <6hgbv7$bgp@usenet.srv.cis.pitt.edu> <6hgfge$k73@panix2.panix.com> qFrom: jonathan@Cup.DSG.Stanford.EDU (Jonathan Stone) Reply-To: jonathan@DSG.Stanford.EDU Organization: Stanford Distributed Systems Group Newsgroups: comp.os.vms,comp.sys.dec,comp.sys.vms,vmsnet.misc In article <6hgfge$k73@panix2.panix.com>, tls@panix.com (Thor Lancelot Simon) writes: |> FYI, the new VM system (Chuck Cranor's "UVM") has significantly improved |> NetBSD's performance on all supported architectures; the pmax either has |> UVM now or is about to -- I haven't looked in the past couple of weeks. |> |> I'm sure Jonathan can speak to this at quite some length. ``Wossat you say?`` Actually, I think most NetbSD developers would tend agree that the pmax has lagged behind most other NetBSD ports in keeping up with the very good work done in kernel infrastructure -- like Jason Thorpe's bus_space and bus_dma kernel interfaces. (I assume that's what Gregg was referring to, when he said "complexities" and "layering"). That's largely because once the pmax port was basically working, I started to emphasise tuning and performance. Once the few remaining brainos from 4.4bsd were fixed, you can expect pmaxes to stay up indefinitely (until hardware failure or powerfail). UPtimes of 400 days aren't unususal. I'd like to hit the same kind of uptimes as Ultrix did-- four years was quite achievable on heavily used Stanford servers, as long as the power stayed on and the sysadmins lef them alone. I've been running lmbench on one specific machine for years to establish a good performance baseline (now hbench), and Michael Hitch and I have tuned the heck out of the Ethernet drivers, SCSI drivers, and also out of Per Fogelstrom's original *BSD r4000 support. I think total kernel-build time using NFS-ounted source went down by 30% over a period of a year. And even the ``slow'', relatively untuned kernels, were significantly faster than Ultrix. At least one very large Athena sites installed NetBSD on certain crucial pmax servers , because even with the old Mach VM code, it was significantly faster than Ultrix at workloads with a high fork/exec rate. And that was _before_ most of this tuning work. Chuck Cranor's new UVM code will substantially reduce fork/exec times. It works on mips1 (r2000 and r3000) machines, but it crashes fairly early on boot on mips3 (r4000, r4400) machines. I've been busy with other stuff, like thesis work and TCP tuning, but UVM should be done `soon'. To be fair, we should mention OpenBSD, but I dont know of any similar work there, on either tuning or on supporting new hardware (mips, decsystem 5100), which is comparable to NetBSD/pmax. OpenBSD developers should probably comment on that. |> In my experience, where NetBSD appears "more layered" than 4.3-Reno or 4.4, |> it's either the consequence of the hasty pasting in of the Mach VM system |> before the 4.4 release -- but we have a new VM system now, which is cleaner -- |> or because the CSRG code hid a poor abstraction beneath a sea of #ifdefs, |> or the like. Certainly we've reorganized the code significantly, but in |> my experience it's far, far easier to understand what's going on in today's |> NetBSD kernel than in the Net2 (Reno-era) code that it began with. Heh. Some parts, like, the networking stack, aren't so different at all. Yet. The remaining kernel chagnes are mostly a) using Chris Torek's "new" autoconfig code b) using NetBSD's support for splitting drivers into a per-bus front-end and a per-chipset backend. These may seem like needless layering, but when you look at the alternative approach in 4.4bsd (or, heaven forfend, ultrix), it's actually a win, even for a single architecture like the pmax. Just think about the three different kinds of lance devices used on pmaxes, the two different kinds of SII chip DMA padding (3100 and 5100 etc., etc., etc. c) bus-space and bus-dma. Pmaxes have uniform linear memory and non-cache-coherent DMA, so these haven't had much impact, yet. When they're finished, some bunch of NetbSD/alpha drivers (e.g., FDDI drivers) will Just Work on pmaxes. And when you consider NetBSD runs on about 13 different platforms, the overall win of sharing one LANCE backend driver over all of them is very clear. But the real problem with DSSI is finding someone both willing to do all the work, and with the skills to complete it. From what little i've seen, DSSI is a bastard cross between the MSCP and CI protocols, which makes it different enough from any existing code to require some major work. It should really go in as a new layer below the existing MSCP support -- where CI could fit in too,someday, maybe. And it's not like anyone is going to design new DSSI machines, so there's not the same incentive as for an ATAPI/ SCSI rework. Mumble, mumble. Of course, if someone supports DSSI, it'd be nice to support DSSI on the Decystem 5400 and 5500, too...