From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Cohen, Andy" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY:network time outs Date: Fri, 27 Jan 2006 11:55:09 -0500 Message-ID: <9D592DB37A92234AB635C5585D2D081903BC77DB@cobra.pc.cognex.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1138381619 10037 80.91.229.2 (27 Jan 2006 17:06:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2006 17:06:59 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Jan 27 18:06:55 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1F2X3G-00086g-7M for gotm-tru64-unix-managers@gmane.org; Fri, 27 Jan 2006 18:06:23 +0100 Original-Received: (qmail 7636 invoked by uid 49509); 27 Jan 2006 17:06:04 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 7626 invoked by uid 49501); 27 Jan 2006 17:06:04 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 0.613072 secs); 27 Jan 2006 17:06:04 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute1.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 27 Jan 2006 17:06:03 -0000 Original-Received: from emroute1.ornl.gov (localhost [127.0.0.1]) by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0ITR00M2EGU2JY@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 27 Jan 2006 12:06:03 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute1.ornl.gov by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) id <0ITR00M02GTXQB@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 27 Jan 2006 12:06:02 -0500 (EST) Original-Received: from cognex.cognex.com (cognex-out.cognex.com [198.232.29.228]) by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0ITR00L48GTXN3@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 27 Jan 2006 12:05:57 -0500 (EST) Original-Received: from atlantis.pc.cognex.com (atlantis.pc.cognex.com [10.10.160.5]) by cognex.cognex.com (8.12.11/8.12.11) with ESMTP id k0RH5vdP002633 for ; Fri, 27 Jan 2006 12:05:57 -0500 (EST) Original-Received: from cobra.pc.cognex.com ([10.10.160.30]) by atlantis.pc.cognex.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 27 Jan 2006 11:55:10 -0500 Original-Received: from atlantis.pc.cognex.com ([10.10.160.5]) by cobra.pc.cognex.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 24 Jan 2006 22:44:13 -0500 Original-Received: from galileo.cognex.com ([198.232.29.7]) by atlantis.pc.cognex.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 24 Jan 2006 22:44:13 -0500 Original-Received: from sws1.ornl.gov (sws1.ornl.gov [160.91.1.101]) by galileo.cognex.com (8.13.3/8.13.3) with SMTP id k0P39nB0025325 for ; Tue, 24 Jan 2006 22:09:50 -0500 Original-Received: (qmail 29072 invoked by uid 49509); Wed, 25 Jan 2006 03:43:48 +0000 Original-Received: (qmail 29063 invoked from network); Wed, 25 Jan 2006 03:43:48 +0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; Wed, 25 Jan 2006 03:43:48 +0000 Original-Received: from emroute4.ornl.gov (localhost [127.0.0.1]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0ITM004HBQD03S@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 24 Jan 2006 22:43:48 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) id <0ITM00702QCQ4W@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 24 Jan 2006 22:43:47 -0500 (EST) Original-Received: from cognex.cognex.com (cognex-out.cognex.com [198.232.29.228]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0ITM005HKQCP11@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 24 Jan 2006 22:43:38 -0500 (EST) Original-Received: from atlantis.pc.cognex.com (atlantis.pc.cognex.com [10.10.160.5]) by cognex.cognex.com (8.12.11/8.12.11) with ESMTP id k0P3hbSL018097 for ; Tue, 24 Jan 2006 22:43:37 -0500 (EST) Original-Received: from cobra.pc.cognex.com ([10.10.160.30]) by atlantis.pc.cognex.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 24 Jan 2006 22:43:37 -0500 Original-To: Tru64 Managers X-Envelope-from: Andy.Cohen@cognex.com X-MIMEOLE: Produced By Microsoft Exchange V6.5.7226.0 Thread-Topic: SUMMARY:network time outs Thread-Index: AcYhYYVGvHVkN+s7Qe2f9hhmi37ipA== Content-class: urn:content-classes:message X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on spam2.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 27 Jan 2006 16:55:10.0653 (UTC) FILETIME=[6F3ACED0:01C62362] Xref: news.gmane.org gmane.os.tru64.managers:8758 Archived-At: Sorry -- the previous posting was sent prematurely. SUMMARY =3D=3D=3D=3D=3D=3D=3D I got some helpful tips on how to get information about the nic and the network. I haven't found out anything yet but I'm still working on it. I did find a very useful web page about tuning network settings: http://h30097.www3.hp.com/docs/internet/TITLE.HTM Other suggestions: =3D=3D=3D=3D=3D=3D 1. Reference the "lan_config" command to setup auto-negotiate parameters (among other things). =20 2. #hwmgr get attr -cat network =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D What sort of switch are you using? Surprisingly few GbE switches can buffer more than a few msec of data. What are the other systems and what are they running? Do you have any 100 Mbps systems, those may be interesting too. Most of my testing has been with NFS where I can easily saturate a GbE link, but a DS20 may be able to do it with a single process. If that's the case, then the switch may start falling behind. I'm not sure what the TCP window size is for ftp, rcp, etc. NFS over UDP puts out a load that can be as great as the number of nfsiod threads plus programs accessing NFS files times the 48 KB (Tru64-Tru64) I/O size. NFS over TCP uses a single connection per mount, but uses a large window size to try to make up for it. =3D=3D=3D=3D=3D=3D=3D=3D System defaults are: % /sbin/sysconfig -q inet | grep space tcp_recvspace =3D 61440 tcp_sendspace =3D 61440 udp_recvspace =3D 42240 udp_sendspace =3D 9216 [I'm not certain if this is enforced] NFS does things differently: % dbx -k /vmunix (dbx) pd nfs_tcpsendspace 500000 (dbx) pd nfs_tcprecvspace 500000 Tcpdump (or snoop or ethereal) traces can be extremely important. When looking at possible lossage in routers, traces captured on both sides of the switch are important. Tcpdump is a bit of a pain to get going on Tru64, yell if you need a hand. Instead of ftp or rcp, programs like ttcp or netperf (http://www.netperf.org/netperf/NetperfPage.html) dispense with file system overhead and give ou numbers that you can compare between systems and between runs. =3D=3D=3D=3D=3D=3D=3D=3D=3D And to get actual running speed: hwmgr -get attrib -category network | grep -e "name" -e media_sp -e duplex Thanks everybody! Andy ORIGINAL QUESTION =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Hi, We have a DS20E running T64 5.1 PK6. A year or two ago we installed a gigabit nic (I don't know the model off-hand but can get it if need be). Lately we've noticed that we get time outs when transferring large files (several gb) from this machine to some other machine (e.g., ftp, rcp, legato, etc.). Using collect/collgui I don't see any particular issue with the nic/network (collissions, bandwidth %, etc.) and with ifconfig I can't tell much about the nic's config. The boot message has this: Avmunix: alt0 at pci0 slot 8 vmunix: alt0: DEGPA (1000BaseT) Gigabit Ethernet Interface, hardware address: 00-60-CF-21-71-90 vmunix: alt0: Driver Rev =3D V2.0.16 NUMA, Chip Rev =3D 6, Firmware Rev = =3D 12.4.12 vmunix: alt0: 1000 Mbps full duplex Link Up via autonegotiation Transfers of smaller files even a few hundred mb seem to go just fine. What sorts of things can I start poking at to see if I can find a problem. Other machines on the network don't have this problem -- only this one so we suspect some configuration setting. How can I find out information about the nic (speed, duplexing, etc.) while the OS is running (i.e., not from the boot-prompt)? If I remember correctly this card can only be set to autonegotiate (usually we force the nics on our unix boxes to a certain speed and duplexity). Thank you all very much! Andy