1751894 Members
4983 Online
108783 Solutions
New Discussion юеВ

Poor Network Performance

 
JCI IT Unix
Advisor

Poor Network Performance

I have a huge amount of data being copied from several servers to a ServiceGuard package file system. When I copy the data using rcp to the package name the performance is extremely slow. When I copy the same data using rcp to the server hostname instead of the package name the performance is extremely fast. What is going on?
15 REPLIES 15
Steven E. Protter
Exalted Contributor

Re: Poor Network Performance

Note: rcp is not secure.

lanadmin -x 0

replace the 0 with the number from lanscan output.

lan1 is 1

If your network is not performing up to full duplex and card speed, there are steps to fix it. Make sure your switch is set to the exact NIC settings you want, without auto negotiate unless you have a 1000 BaseT NIC.

You can then hard code the network settings in /etc/rc.config.d/hpbtlanconf

Post anything unusual you find in your setup.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Con O'Kelly
Honored Contributor

Re: Poor Network Performance

Hi Burk

Firstly I have to admit I have no knowledge of MC/SG so could be way off the mark with the following suggestion!

The first thing I'd check is that the hostname may use a different Network Interface from the package name.
If so - check the setup of Interfaces, ie are they both at 100FD and have switch ports for each interface been set to 100FD rather than autonegotiate.

Cheers
Con
Bill Hassell
Honored Contributor

Re: Poor Network Performance

As mentioned, you are likely using a different interface card when you use the package name versus the hostname. The easiesyt way to check is to start the transfer and see which LAN card's light is flashing. As mentioned, 100Mbit LAN connections can cause severe slowdowns in performance if the duplex and bit rate are not matched. For 100Mbit connections, locking the connection on the switch AND the I/O card will solve the problem.


Bill Hassell, sysadmin
Mark Grant
Honored Contributor

Re: Poor Network Performance

It could also be a routing problem. I would suggest you try a "traceroute" from both machines to the other using the hostname and the package name and see if packages take the same route.
Never preceed any demonstration with anything more predictive than "watch this"
Brian Markus
Valued Contributor

Re: Poor Network Performance

The HPUX Porting site has a copy of ethereal-0.9.15 (18 Sep 2003)which is a network traffic analyzer (sniffer).

http://gatekeep.cs.utah.edu/

You can follow the packets and see what's going on. It's most likely routing or DNS. The Ethereal site has a great tutorial on how to use the tool.

http://www.ethereal.com/

Hope this helps

-Brian.
When a sys-admin say's maybe, they don't mean 'yes'!
JCI IT Unix
Advisor

Re: Poor Network Performance

The network card is a 1000Base-SX and it is the same network card for both the hostname and the package name. A network sniffer shows that when the client servers send its data to the package name it will send a small amount of data and then stop for a second, send a little more and stop for a second. This happens over and over. When the client sends to the hostname instead of the package name, same network card, the client sends the data without delays.
Robert-Jan Goossens
Honored Contributor

Re: Poor Network Performance

Burk,

Check this doc,

Document description: Incorrect TCP and UDP checksum generated by 1000-Base cards*
Document id: KBRC00012966

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000070346466

Regards and a good weekend.

Robert-Jan
Mark Greene_1
Honored Contributor

Re: Poor Network Performance

Are both the server host namd and the package name in the /etc/hosts file on the server? What is your /etc/nssswitch.conf file settings? The delay may be due to IP/name resolution problems.

mark
the future will be a lot like now, only later
JCI IT Unix
Advisor

Re: Poor Network Performance

The hostname and the package name are in both the /etc/hosts file and DNS. The nsswitch.conf file is set to look at files first and then DNS. Testing proves it is resolving the names.