From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,749b4a86912c913f X-Google-Thread: f7344,749b4a86912c913f X-Google-Attributes: gid1164f8,gidf7344,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!j33g2000cwa.googlegroups.com!not-for-mail From: "johnhreinhardt@yahoo.com" Newsgroups: comp.sys.dec,comp.os.vms Subject: Re: speeding up LAVC with switch instead of hub? Date: 26 May 2006 05:26:06 -0700 Organization: http://groups.google.com Message-ID: <1148646366.388202.151640@j33g2000cwa.googlegroups.com> References: <81b90$44735188$513b818b$5518@news.versatel.net> <1148451629.383312.318900@g10g2000cwb.googlegroups.com> NNTP-Posting-Host: 24.172.135.66 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1148646371 22478 127.0.0.1 (26 May 2006 12:26:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 26 May 2006 12:26:11 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: j33g2000cwa.googlegroups.com; posting-host=24.172.135.66; posting-account=upzXrg0AAAAMAliH_mNfgxRYZq-t5z47 Xref: g2news2.google.com comp.sys.dec:980 comp.os.vms:16253 Phillip Helbig---remove CLOTHES to reply wrote: > I connected the 5305 directly to the switch and booted it. It still > functioned OK in the cluster. However, the speed indicated by my ISP > was still the slow one, and also the "full" and "100" lights did not > light up on the switch. I was hoping that, even if it has to > communicate with my cluster at 10 Mb/s half duplex, perhaps it could > communicate with the internet at 100 Mb/s full duplex. That doesn't > seem to be the case, though. > Make sure that the SRM console setting for the NIC have been changed. It's probably a DEC DE500 family card and they are notorious for having problems doing an auto-negotiate. Some switches they will auto-negotiate fine with and others they will not. If you had it attached to a 10Mbs hub then it's probably set to "Twisted-Pair" which defaults to 10Mbs/Half Duplex. When you attach it to the 100Mbs switch you want to set it to "FastFD" (>>> set ewa0_mode fastfd) otherwise the switch will just match itself to the NIC and you won't see any speed increase. > Of course, it still has to communicate with the cluster at the slow > speed. Maybe that slows down ALL traffic on its ethernet card. > No. The switch should handle all of that. If the settings are right it will talk to the 5305 at 100Mbs and buffer it to send to the hub at 10Mbs. Automagically. > Replacing my 10 Mb/s hub with a 10 Mb/s switch would offer only a > minimal improvement. Would it make sense to replace it with a 100 Mb/s > hub or switch? (If I buy something new, it might as well be a switch.) You want a switch. Even a dumb 100Mbs switch is minimally more than a hub and it will benefit all of your systems. A switch is much smarter than a hub in that they memorize the MAC addresses at each port and will only send data packets to the port required for its destination. This means that systems do not see traffic that is not going to them and it reduces the load on the NIC/system. Plus with a hub the bandwidth is shared among all ports whereas with a switch you get the full 100Mbs on each port (overkill, I know, for the VAXen). > (Of course, it would have to be capable of negotiating at 10 Mb/s as > well.) It's rare to find a modern 100Mbs switch that can't. > > Of course, this assumes that the 5305 is capable of 100 Mb/s and/or full > duplex. I believe most AS1200/DEV5305's shipped with the DE500 NIC which is 100Mbs/Full capable. There is a chance that if you got an early one it may have a DE450 which is 10Mbs only. Check the output of a "Show config" on the console sometime if you're not sure. > > I would like to have the 5305 communicate with the internet at 6 Mb/s > (or more, if I have a faster connection in the future) even if it has to > communicate with the cluster at 10 Mb/s. One way around this might be > to have two ethernet cards in the 5305 and use one for cluster > communication and one for ethernet communication, but that would be a > lot of work, I have no experience with that and it would provide no > performance improvement at all for the rest of the cluster (except for > reducing the number of collisions somewhat). > > I had hoped that plugging the 5305 directly into the switch, with the > rest of the nodes in the cluster connected to a hub uplinked to the > switch, would allow the 5305 to communicate faster with the internet, > but apparently that's not the case. > Again, double check your console setting for ewa0_mode. It should be FastFD if you connect to the switch and Twisted-Pair f it's attached to the 10Mbs hub. You could try the Auto-Negotiate setting but I don't think it works for a DE500 (if that's what you have). Also you can check what your connections is while VMS is running through the LanCP utility. $ mcr lancp LANCP> show dev /char eia0 Device Characteristics EIA0: Value Characteristic ----- -------------- 1500 Device buffer size Normal Controller mode External Internal loopback mode 00-50-8B-E3-A2-9E Hardware LAN address Multicast address list CSMA/CD Communication medium FF-FF-FF-FF-FF-FF Current LAN address 128 Minimum receive buffers 256 Maximum receive buffers Yes Full duplex enable Yes Full duplex operational 00-50-8B-E3-A2-9E Current LAN address TwistedPair Line media type 100 Line speed (mbps) Enabled Auto-negotiation Enabled Flow control Disabled Jumbo frames Disabled/No Failset Logical LAN state 0 Failover priority LANCP> Note the "Line speed", "Full duples enable" and "Full duplex operational" values to see how the NIC is connecting under VMS. > Of course, if bandwidth-splitting is the main problem, then a faster > internet connection would present a larger pie to be split up among the > various connections, but naturally it would be better for one node to > make full use of the high speed if there is no other traffic. > > > Cheers, > > Phillip