- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do I Get Trustworthy Throughput Numbers
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 05:41 AM
12-05-2006 05:41 AM
How do I Get Trustworthy Throughput Numbers
How can I do it?
I have tried MWA/Perfview, but the numbers are not correct. I will log a call in the next few days to try and find the cause.
Glance (or gpm) only gives me packets/sec - which doesn't tell me about the throughput on the interface.
I know that netperf can stress a link and give me throughput, but what will tell me throughput used by current load (vs induced load)?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 05:58 AM
12-05-2006 05:58 AM
Re: How do I Get Trustworthy Throughput Numbers
Best way to go is to use ftp or scp or rcp to push a few files of varying size from system to system.
Peformance figures will always vary based on system patch level and the utility you choose.
sar -d might help.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 06:02 AM
12-05-2006 06:02 AM
Re: How do I Get Trustworthy Throughput Numbers
Replace 0 below with the PPA of interest:
# (echo "lan,ppa,0,display,quit" | lanadmin 2>/dev/null) | grep Octets
Inbound Octets = 969135997
Outbound Octets = 201604344
Octets are bytes transferred.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 06:14 AM
12-05-2006 06:14 AM
Re: How do I Get Trustworthy Throughput Numbers
Run the command at different times, then compute deltas for bytes RX and bytes TX. Then divide by length of the interval for the rate.
For example:
# (echo "lan,ppa,0,display,quit" | lanadmin 2>/dev/null) | grep Octets
Inbound Octets = 969135997
Outbound Octets = 201604344
Wait 90 seconds...
# (echo "lan,ppa,0,display,quit" | lanadmin 2>/dev/null) | grep Octets
Inbound Octets = 984739384
Outbound Octets = 223847387
delta_rx = 984739384 - 969135997 = 15603387
delta_tx = 223847387 - 201604344 = 22243043
interval = 90
rate_rx = delta_rx/interval = 15603387/90 = 173370.97 bytes/s
rate_tx = delta_tx/interval = 22243043/90 = 247144.92 bytes/s
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 12:16 PM
12-05-2006 12:16 PM
Re: How do I Get Trustworthy Throughput Numbers
http://www.netperf.org/netperf/NetperfPage.html
or ttcp:
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/nttcp-1.47/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 12:53 PM
12-05-2006 12:53 PM
Re: How do I Get Trustworthy Throughput Numbers
Until that is resolved, you can do a couple things. Depends on whether you want "on the wire" numbers or "socket to socket" numbers (and are willing to ass-u-me that all traffic is tcp :)
first - lanadmin -g mibstats
The variation on the them is to replace lanadmin with "netstat -s -p tcp"
When you are in Glance, be sure to check the CPU utilization of the CPU taking interrupts from the NIC (which you can determine with the intctl command).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 03:37 PM
12-05-2006 03:37 PM
Re: How do I Get Trustworthy Throughput Numbers
I'm not sure why you don't trust the MWA numbers. If you don't like packets/sec, there are dozens (nay, hundreds) of other metrics available in GPM.
In the "Network by Interface" graph you can use the "Choose Metrics" item from the Configure pull-down and select BYNETIF_OUT_BYTE. That will show you the outbound rate in KB/sec. You can also select BYNETIF_IN_BYTE to see inbound KB/sec. Both of these metrics are also available in character-mode Glance in the Network by Interface screen. There are columns for KB/In and KB/Out for each interface.
If these metrics don't tell you what you want in the format you want it, you can always write an Advisor script that works with Glance. Advisor scripts can pull any of the metrics collected by Glance and allows you to format them, calculate them, massage them, etc. any way you want.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2006 12:50 AM
12-06-2006 12:50 AM
Re: How do I Get Trustworthy Throughput Numbers
I have written a quick script (see end of article) which tests both the lanadmin and the netstat methods over a 60 second period. From what I understood, the lanadmin should give me everything that transverses the interface (in octets [which equal bytes, right?]) while netstat will only give me the sum of acknowledged tcp payload (in bytes). The confusing thing is the output is opposite of what I would expect (LAN_Diff should be greater than Net_Diff, right?).
Does it matter if this is a Gig interface? I believe I am getting good throughput but would like the OS and switch to agree (at least close) to a number. You know?
# ./test.sh
LAN Before - 1228936652
LAN After - 1229023034
Net Before - 2450054287
Net After - 2451206831
Lan Diff - 86382
Net Diff - 1152544
# cat test.sh
#!/usr/bin/ksh
#netstat -s -p tcp|grep acks|grep bytes|awk '{print $4}'
#(echo "lan,ppa,0,display,quit" | lanadmin 2>/dev/null) | grep Octets
lan_before=`(echo "lan,ppa,0,display,quit" | lanadmin 2>/dev/null) | grep Octets|grep Inbound|awk '{print $4}' &`
net_before=`netstat -s -p tcp|grep acks|grep bytes|awk '{print $4}' &`
sleep 60
lan_after=`(echo "lan,ppa,0,display,quit" | lanadmin 2>/dev/null) | grep Octets|grep Inbound|awk '{print $4}' &`
net_after=`netstat -s -p tcp|grep acks|grep bytes|awk '{print $4}' &`
sleep 10
echo "LAN Before - $lan_before "
echo "LAN After - $lan_after "
echo "Net Before - $net_before "
echo "Net After - $net_after "
echo "Lan Diff - `expr $lan_after - $lan_before` "
echo "Net Diff - `expr $net_after - $net_before` "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2006 04:33 AM
12-06-2006 04:33 AM
Re: How do I Get Trustworthy Throughput Numbers
It is possible that the switch is sending data out the port to the 11i system that the 11i system does not accept. That could include traffic to multicast destinations, or destination MAC's that are not that of the 11i system. Yes, switches do try to do traffic isolation, but it is not 100% - the first time the switch sees a given MAC address it will have to flood-forward it to all ports, similarly if the forwarding tables fill.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2006 06:52 AM
12-06-2006 06:52 AM
Re: How do I Get Trustworthy Throughput Numbers
>
>I do not trust the numbers that MWA was
>providing b/c it says that there is only
>71649KB/Sec In Rate when the cisco switch
>shows it's output rate (my input rate) at
>754236000 bits/sec (there is a power of 100
>difference not the 10 that you originally
>think).
>
754,236,000 bits/sec = 94,279,500 bytes/sec = 92,069 kbytes/sec.
This is only 28.5% greater than the MWA rate of 71,649 kbytes/sec, so it seems reasonable. And as Rick said, your NIC is most likely dropping certain packets.
PCS