Operating System - HP-UX
1821245 Members
2730 Online
109632 Solutions
New Discussion юеВ

Re: HPUX 11 network quirks

 
Charles Harris
Super Advisor

HPUX 11 network quirks

Dear all,

We have recently upgraded the majority of our servers to HPUX11.00 and have found in the main, everything is running okay. One thing I have noticed is that running HPUX11 on the same hardware as before yeilds less network throughput on average than using 10.20.

Although I'm aware of network implications, and assuming nothing has changed on that front, is there any plausable explanation for this? - The results are fairly constant, the servers all get backed up using veritas every night, but it now takes longer than before the software upgrade. I've compaired network performance with glance and can see that it is approx half the thrughput. This was originally thought to be a problem with our switches negotiating full duplex with the servers after a reboot, and has now been fixed but thrughput is still significantly lower?!

The question:-

Has anyone else experianced anything similar?


As ever any pointers, patch lists, RTFM's, RTFF's always warmly received!!

Cheers,

-ChaZ-
11 REPLIES 11
Jeff Machols
Esteemed Contributor

Re: HPUX 11 network quirks

What likely happened in the upgrade is your network settings got off. Run lanadmin -x 0 and see what the settings are. Theimportant thing is make sure Auto-Negotiate is off. If the settings don't look correct, thats why you are getting slower throughput
Steven Sim Kok Leong
Honored Contributor

Re: HPUX 11 network quirks

Hi,

Have you checked your network tunable parameters?

Some performance-related network tunable parameters include:

tcp_xmit_hiwater_def
tcp_recv_hiwater_def

Hope this helps. Regards.

Steven Sim Kok Leong
Steven Sim Kok Leong
Honored Contributor

Re: HPUX 11 network quirks

Hi,

Have you checked your network tunable parameters?

Some performance-related network tunable parameters include:

tcp_xmit_hiwater_def
tcp_recv_hiwater_def

You can get their values and tune them via ndd.

Hope this helps. Regards.

Steven Sim Kok Leong
Charles Harris
Super Advisor

Re: HPUX 11 network quirks

Dear all,

Thanks for the pointers, the network params might be an issue, although I know that the HPUX10.20 servers were not configured differently from their default installation configuration, excluding the obvious ;-) - The question really is, are there any decernable differences between the default 10.20 settings and the HPUX 11.00 defaults that could account for the performance drops seen?

I've previously checked the port / card status, and all of the HPUX11.00 and 10.20 servers are both running 100Mb full duplex, so I don't think this is an issue.

Again, any pointers greatfully received!

Cheers,

-ChaZ-
Joseph A Benaiah_1
Regular Advisor

Re: HPUX 11 network quirks

Charles,

The command ndd can be used to the tune the ip, tcp, udp, rawip and arp parameters in the kernel.

If you want to set them permanently at boot time, you can edit /etc/rc.config.d/nddconf.

Cheers,

Joseph.
Charles Harris
Super Advisor

Re: HPUX 11 network quirks

Joe,

Thanks, I know how to set the tuned parameters, I just want to know the difference between the default params on HPUX10.20 to HPUX11.00. Incidently, this has nothing to do with any backup issues ;-)

Cheers,

-ChaZ-
Bill Hassell
Honored Contributor

Re: HPUX 11 network quirks

Generally speaking, the changes in networking code for 11.0 (from 10.20) will yield significant increases in speed, so the perceived decrease is not normal. You need to establish a baseline (if possible).

Otherwise, I would use lanadmin -x to walk through all your LAN connections and check for full speed (ie, 100 mbit, full duplex) from the driver's point of view. And when auto-negotiation is turned off, it is imperative that the switch be explicitly set to the same value as your LAN card. Otherwise, the switch may be at half duplex and throughput will not be good at all.

Once the LAN speed and duplex are stable, use ftp to transfer a large file, perhaps 100-500 megs and time the result going one way and then the other way and finally two copies going opposite directions, running at the same time. Repeat about 3-5 times and look at the average.

NOTE: This assumes that the other end is properly setup and capable of maintaining maximum thruput most of the time. Now compare the equivalent data rate. The reason to use ftp is the link-aware nature of ftp...it will create packets as fast as the link allows and backoff as necessary when the data rate is too slow, soemthign that NFS or rcp just won't do. And ftp has much lower overhead associated with packet acknowledgement.


Bill Hassell, sysadmin
Charles Harris
Super Advisor

Re: HPUX 11 network quirks

Thanks for the clarification Bill, it was that sort of explanation I was after. I will endevour to post the ftp results here for interest / comments. The FTP slowing the stream of data is also something I could do with some help on.

Assuming the network is correct at the switch / port level and removing network issues from the equation, another concern on one particular server is the size of the buffer cache. The nbuff params are set dynamically at 5% to 35%. I loosly remember reading something here about the max size not exceeding 300meg in real term, because it can cause io related performance problems. The server in question has over 3.5gig of memory, hence a very large nbuff setting. Is there a possibility that this could affect the network efficiency due to problems streaming the io from disk (EMC arrays) ?

Thanks again for the help so far, I've deliberatly not dished you any points (yet) in a blatent attempt to drag you back!

Cheers,

-ChaZ-
Charles Harris
Super Advisor

Re: HPUX 11 network quirks

Sorry for moaning, can anyone throw any light?!

Thanks again,


-ChaZ-
Sonny Chee
Advisor

Re: HPUX 11 network quirks

Charles,

After you have done the ftp tests, compare the incoming and outgoing tests are about the same speed. If they are different, you definitely have a duplex problem. Check the setting on the server with lanadmin -x id. Make sure the settings on the server matched the ones on the switch. You can use the following command on your server:

lanadmin -X nmid 100FD

If you still have a problem, try to check out all the lan patches. I have the same problem once and I had to install the latest lan patches to fix the problem. Good luck.


Sonny
Life is too short to spent on solving Unix problems, ask the forum experts.
Charles Harris
Super Advisor

Re: HPUX 11 network quirks

Thanks for the advice Sonny, unfortunatly I can't perform the ftp tests at the moment due to a high server (production) work load - as soon as I can I'll check the results and post them here.

It's nice (realatively) to know I'm not the only person who has experianced this type of problem!! - I was starting to think I was on my own!!

Thanks again,


-ChaZ-