1833873 Members
1769 Online
110063 Solutions
New Discussion

Tunig TCP/IP parameters

 
SOLVED
Go to solution
Shivkumar
Super Advisor

Tunig TCP/IP parameters

Hey Guys,

I want to tune tcp/ip parameters on hpux 11/11i for iplanet and apache web servers. I believe some parameters needs to be entered in /stand/system also.

Please suggest how to do this without using SAM ?

Thanks,
Shiv
5 REPLIES 5
Mel Burslan
Honored Contributor
Solution

Re: Tunig TCP/IP parameters

Okay, you are talking about two different things here. TCP/IP parameters and kernel parameters. As far as I know, kernel parameteres has very little to no effect on TCP/IP, whereas ndd configuration parameters has more control over it.

Do you have any idea what are the names of these parameters that you want to modify or you have just heard from the iplanet consultant that you need to modify some kernel parameters to make TCP/IP faster/better/more robust/etc ? If you can tell what you want to do in more detail, people may offer better guided help.
________________________________
UNIX because I majored in cryptology...
John Payne_2
Honored Contributor

Re: Tunig TCP/IP parameters

The answer: "It depends". What do you want to change. A number of parameters can be changed using the ndd command. Technical Knowledge Base DocID #RJHKBAN00001121 is an "Apache 2.0 Performance Tuning on HPUX 11.X PA-RISC Systems" document that you should look at, if you have access...

Hope it helps

John
Spoon!!!!
Armin Kunaschik
Esteemed Contributor

Re: Tunig TCP/IP parameters

man ndd

Regards,
Armin
And now for something completely different...
rick jones
Honored Contributor

Re: Tunig TCP/IP parameters

Given the relative lack of performance in iPlanet and Apache to begin with, there isn't a _whole_ lot you can do in TCP tuning.

One thing to make sure of is to increase tcp_conn_request_max - the maximum size of a listen queue - there will need to be a corresponding tune in iPlanet or Apache. However, if netstat -p tcp shows no connections dropped due to full queue, that ndd setting will not matter.

ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_netstat.txt and annotated_ndd.txt may be of use.

You might also look at the HP-UX SPECweb99 results posted at www.spec.org. They though all use Zeus web server - because it is very much faster.

The only "/stand/system" parameter you might want to tune for networking is tcphashsz, which controls the relative sizes of various transport hash tables. However, there are constraints as to the values, and it probably would be best to use SAM to do it. Unless though you are talking about thousands of simulataneous connections, you do not have to tweak that parameter.
there is no rest for the wicked yet the virtuous have no pillows
Devesh Pant_1
Esteemed Contributor

Re: Tunig TCP/IP parameters

for temporary changes you might want to look into lanadmin command too
thanks
Devesh