1846619 Members
1610 Online
110256 Solutions
New Discussion

Network Memory Usage

 
Madanagopalan S
Frequent Advisor

Network Memory Usage

How can I find out the Memory used for Network in hp-ux 11? Is it possible
to set/increase the memory usage for the network interfaces?

Is there any document available to tune network tuning parameters using
ndd?
let Start to create peaceful and happy world
7 REPLIES 7
Rick Garland
Honored Contributor

Re: Network Memory Usage

Using Glance can tell you how much memory is being used for the networking processes. Not aware of being able to modify these parameters because they are typically daemons running, i.e., NIS, NFS, DNS, FTP, etc. These programs (or services) are hard-coded with the amount of memory they would consume. A possible option is to use chatr if you are running on HP-UX 11.00 or higher.
Madanagopalan S
Frequent Advisor

Re: Network Memory Usage

I remember in SUN using netstat we can find out the memory usage of network
interfaces. In glance, I tried to find out the network memory usage. It shows
input packet rate and output packet rate only. I have stopped NFS/NIS and FTP
services.
let Start to create peaceful and happy world
CHRIS_ANORUO
Honored Contributor

Re: Network Memory Usage

Have a look at the kernel parameter that might help you: http://www.docs.hp.com/hpux/content/KCparams.OverviewAll.html
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Antoanetta Naghiu
Esteemed Contributor

Re: Network Memory Usage

netstat is working in HP as well.
Did you try nettl? (see man nettl). Check for netwotk specific patches. (ex. PHNE_21433).
Anthony deRito
Respected Contributor

Re: Network Memory Usage

The kernel tunable parameter you might want to look at is the "netmemmax" parameter. The value of this parameter is the maximum memory size that will be used during IP fragmentation re-assembly.

When you are transmitting IP packets, they are (or can be)broken down into "fragments" based on different MTU sizes over its travel. Memory is reserved for these "fragments" to be re-assembled into the fully assembled packet.

It is very possible, if this parameter is set too high, for so much memory to be used in fragmentation re-assembly that you start having memory pressure on your system. Default is 10% of memory.

Hope this helps,

Tony
Maarten van Maanen
Regular Advisor

Re: Network Memory Usage

Hi,

I suppose you have Glance installed.
Startup Glance, then go to the application list with A and there you will see the amount of memory used for networking.

Marcelo De Florio
Frequent Advisor

Re: Network Memory Usage

One well value for the network buffers is 1/8 the main memory size; if your system is operating out of strems and then a lot of re-transmistion of packet(netstat -s), increse the memory buffers for network at this value.