- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Why decrease jumbo frames my net throughput?
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-09-2004 03:06 AM
12-09-2004 03:06 AM
Why decrease jumbo frames my net throughput?
I have two rp4440 running hpux11.11 with 2 1000BSx cards. On one card I have enabled MTU 9000 the other card is set to MTU 1500. Both cards are configured into different subnets within differen VLANs. Jumboframes are enabled on the switch.
I do the following tests:
- netperf -fM -H
- netperf -fM -H
Tests with other tools (ftp, dd, ttcp) show the same direction: the NIC with jumboframes is slowlier than the one without.
Has anybody an idea why the jumbo frames decrease network throughput?
Are there any configs I have missed or I can do to improve the throghput (e. g. kernel param, bufcache ...)?
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 04:48 AM
12-09-2004 04:48 AM
Re: Why decrease jumbo frames my net throughput?
There is an ndd parameter that may have an effect on performance.
ndd -h ip_pmtu_strategy
for details.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 06:36 PM
12-09-2004 06:36 PM
Re: Why decrease jumbo frames my net throughput?
ip_pmtu_strategy is set to the default (=1). Both rp4440 are configured the same. There is only one switch between them which has jumboframes enabled.
If the first netperftest mentioned above is started with option -v2 then it reports a MSS of 1460 - the second reports a MSS of 8960. Does this indicate that the packets are not broken up into smaller peaces?
I'd appreciate any help!!
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 04:44 AM
12-10-2004 04:44 AM
Re: Why decrease jumbo frames my net throughput?
If there is packet loss on the network, the systems using jumboframe (I'm ass-u-me-ing the netperf tests you list are on two different sets of systems - one pair with JF, one pair without...) may have to use timeout-based retransmissions, and the ones using the standard frame size may not.
That is a function of the number of segments the connection can have outstanding at one time - for the "fast" retransmissions there need to be at least 6 segments at one time. 32768/8192 is not at least 6.
You can check the hypothesis by taking netperf -p tcp snapshots before and after each test, and running them through beforeafter (ftp://ftp.cup.hp.com/dist/networking/tools/) - see if there are retransmissions (near the top of the output) and/or retransmission timeouts (nearer to the bottom) ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_netstat.txt
If that does show timeouts for the JF test, try adding test specific -s and -S options to use larger socket buffer and thus window sizes. I'd try 128K myself. You can then consider editing /etc/rc.config.d/nddconf to change the TCP defaults (ftp://ftp.cup.hp.com/dist/networkin/briefs/annotated_ndd.txt)
Also, make sure you have the latest FTP patches so you can use > 56KB windows in FTP with the -B option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 07:22 AM
12-16-2004 07:22 AM
Re: Why decrease jumbo frames my net throughput?
Just curious, you seem to be saying that the throughput is higher with A as the receiver
(first case above) and B as the sender. One would expect the reverse. Can you please check?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 08:27 AM
12-16-2004 08:27 AM
Re: Why decrease jumbo frames my net throughput?
There, things will not just be slow, they won't work at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 08:10 PM
12-16-2004 08:10 PM
Re: Why decrease jumbo frames my net throughput?
To clarify my config: I have 1 rp4440 with 2 1000BSx cards. One card, configured in one subnet and one vlan has MTU 1500. The other card, configured an another subnet with another vlan has MTU 9000. This rp4440 is connected to one switch. For the tests I have another rp4440 configured the same. The tests described above was run from one rp4440 to the ohter, testing first the mtu-1500-Lannic then the mtu-9000-Lannic.
Rick is right. It does not work at all if you use UDP with different frame sizes.
I forwarded Ricks hints regarding window and socket sizes to my HP support. They declined the need of changing the default values. But they can't help me with the performance isue, too ...
Unfortunately I cannot do testing any more because I had to set the servers into production. So I disabled jumbo frames on my 2 rp4440 and on the switch to avoid any performance issues.
What I learned and what my HP support recommends: Don't use Jumbo Frames with hpux1111.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2004 05:09 AM
12-17-2004 05:09 AM
Re: Why decrease jumbo frames my net throughput?
If you do get a chance to experiment further, instead of changing the defaults via ndd, simply add some -s and -S options to the netperf commands:
netperf -fM -H
and see where that takes you. At the same time, be sure to track the netstat -p tcp statistics and perhaps the lanadmin -g mibstats statistics.
All assuming, of course (and probably already addressed) that the switch actually supports full 9000 byte JumboFrames. Some switches' "JumboFrame" support does not go that high.
BTW, I'm not sure if it was back-ported to 11.11 or not, but up on 11.23 there is also support for "TSO" or TCP Segmentation Offload" which is something of a "poor man's" JumboFrame. The NIC accepts for transmission TCP segments >> 1500 bytes (larger than 9000 bytes even) and will segment them to the standard sizes - thus eliminating the need for a JF-capable switch.
This has _most_ of the performance benefit of JF for the sender. However, it does nothing for the receiver who is still receiving a stream of 1500 byte frames.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 01:49 AM
12-19-2004 01:49 AM
Re: Why decrease jumbo frames my net throughput?
I'm very upset about my HP support.
After dealing for more than 2 weeks with very poor LAN/NFS performance, doing a lot of measuring and tuning, they told me that there is a patch addressing my JumboFrame issue and a lot of other TCP/UDP issues: PHNE_29947 for the IETHER driver.
As I experienced a very bad NFS/LAN performance without JumboFrames, too, I will give it a new try at our next scheduled downtime in january 2005. This time using your hints!
Thanks a lot!
Walter