- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tangosol UDP tuning
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-20-2007 07:14 AM
12-20-2007 07:14 AM
Tangosol UDP tuning
Has anybody done any UDP/Socket tuning on HP-UX 11.23 for using the Tangosol Coherence caching product? They have a datagram test tool which tests the network you are using to see the sort of throughput you can achieve by firing UDP packets between 2 servers (1 being a sender & the other a receiver).
However, when we try this on a dedicated gigabit network we are not obtaining the throughput they say we should be able to achieve on a Gigabit network (Around 100Mbps).We are getting about 70Mbps before we start getting constant socket overflows as seen by netstat -p udp command.
The servers are 2 x CPU's rx4640 (during the test we are using about 80% of a single cpu) & the interfaces cards are set to 1000/FD (autoneg) on both servers & switch interfaces.
We have changed the socket_buf_max & socket_udp_rcvbuf_default to 2MB (2097152) as recommended but we are still not getting above the 70Mps.
Has anybody any other recommendations to get more throughput? BTW, the switch is a single Cisco WS-C4948 wire-speed Gigabit Switch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2007 11:37 AM
12-20-2007 11:37 AM
Re: Tangosol UDP tuning
lanadmin -M 9000 0
and check the new value:
netstat -in
This assumes that the other side also supports jumbo frames. This setting can be made permanent by editing the appropriate hpigelanconf or hpgelanconf file in /etc/rc.config.d
Jumbo frames will mean a 6x reduction in packet count for the same data as long as the messages are more than 1500 bytes long.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 02:18 AM
12-27-2007 02:18 AM
Re: Tangosol UDP tuning
The test tool is sending packets of 1468 bytes in size so they make full use of the 1500 MTU & we can specify the rate at which to transmit these messages on, specified in megabytes. This is where we get to specifiying 70Mbps before seeing missing packets in the test tool & socket overflows using netstat -p udp. Anything above this rate & we get a severe downturn in throughput & success rates.
What i've noticed is that the sending server has no socket overflows, it is just the receiving server which is reporting them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 10:03 AM
12-31-2007 10:03 AM
Re: Tangosol UDP tuning
When you made the ndd changes, if you rebooted without putting them into nddconf they were lost. Also, if the Tangosol SW made any explicit setsockopt calls your udp settings may have been overridden.
On the sending side, there wouldn't by definition be socket buffer overflows, but there could be transmit buffer overflows for which you would use lanadmin -g mibstats
You may want to try some netperf UDP_STREAM stuff just to get a second opinion. With it you can also try binding the receiver to a CPU other than the one taking interrupts from the NIC.
A final nit - Mbps would be mega _bits_ per second, not megabytes, and if you are indeed using gigabit ethernet, its max would be ~100MBps or 9XX Mbps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2008 03:29 AM
01-02-2008 03:29 AM
Re: Tangosol UDP tuning
Regarding the sending server, the lanadmin command showed no errors/collisions or deferred transamissions, so this looks all ok.
I'll have to look at some other test tools, like netperf, to verify the throughput rather than just believe the Tangosol tool. I've seen in other forums posts that this is a recommended one to use. Is there a 'ready to use' executeable for HP-UX rather than having to complie one?
Thanks,
Neil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2008 10:03 AM
01-02-2008 10:03 AM
Re: Tangosol UDP tuning
It would be good to know the specifics of the burst size and inter-burst time being used by their test tool.
In netperf-speak, that sounds like the ./configure --enable-burst compilation path, which will enable the -w and -b options for inter burst interval and burst size (number of sends). That can lead to some nasty burstiness - at the very least one would want the SO_RCVBUF size on the receiver to be, oh, 2X the product of burst size and send size just to be paranoid about it.
Since not all platforms have nice granulatiry on the interval timer, netperf includes a "sit and spin" option to allow much finer interburst intervals and so lower burst sizes for a given bitrate. This comes at the expense of much higher CPU utilization on the sending side. One adds a --enable-spin to the configure command line before compiling.
The netperf manual can be seen at:
http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 02:55 AM
01-03-2008 02:55 AM
Re: Tangosol UDP tuning
We've downloaded netperf & run the configure & install scripts & it works successfully.
The output from the UDP_STREAM test shows that we are indeed getting the 100MBps throughput on the gigabit network (the 114.60 figure on the receiver) if i understand the output correctly:
[root@brsux064] # ./netperf -t UDP_STREAM -H 10.201.25.65 -f M
UDP UNIDIRECTIONAL SEND TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.201.25.65 (10.201.25.65) port 0 AF_INET
Socket Message Elapsed Messages
Size Size Time Okay Errors Throughput
bytes bytes secs # # MBytes/sec
65535 65507 10.01 79893 0 498.39
2097152 10.01 18370 114.60
What i don't understand is why we are getting messages lost?
The only info i can gather regarding the burst details is from the Tangosol sender output when the test is running - see attchement.
There are more details on their site regarding the test utility & the packet sizes in the test for reference:
http://wiki.tangosol.com/display/COH33UG/Datagram+Test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 02:56 AM
01-03-2008 02:56 AM
Re: Tangosol UDP tuning
We've downloaded netperf & run the configure & install scripts & it works successfully.
The output from the UDP_STREAM test shows that we are indeed getting the 100MBps throughput on the gigabit network (the 114.60 figure on the receiver) if i understand the output correctly:
[root@brsux064] # ./netperf -t UDP_STREAM -H 10.201.25.65 -f M
UDP UNIDIRECTIONAL SEND TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.201.25.65 (10.201.25.65) port 0 AF_INET
Socket Message Elapsed Messages
Size Size Time Okay Errors Throughput
bytes bytes secs # # MBytes/sec
65535 65507 10.01 79893 0 498.39
2097152 10.01 18370 114.60
What i don't understand is why we are getting messages lost?
The only info i can gather regarding the burst details is from the Tangosol sender output when the test is running - see attchement.
There are more details on their site regarding the test utility & the packet sizes in the test for reference:
http://wiki.tangosol.com/display/COH33UG/Datagram+Test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 09:15 AM
01-03-2008 09:15 AM
Re: Tangosol UDP tuning
You might compare the send sizes netperf is making by default with those made by the tangosol tool and then use the test-specific -m option to cause netperf to make sends of the same size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 01:24 AM
01-07-2008 01:24 AM
Re: Tangosol UDP tuning
Neil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2008 11:51 PM
02-08-2008 11:51 PM