ndd -set /dev/tcp tcp_host_param | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

ndd -set /dev/tcp tcp_host_param

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-01-2010
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 
Join Date: Apr 2002
Last Activity: 17 October 2014, 8:46 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks: 1
Thanked 32 Times in 9 Posts
ndd -set /dev/tcp tcp_host_param

Following command was set up in startup script on Solaris 8 servers - improved network transfers of files from one server to the another [server B has duplicate entry in it's startup script except the IP is changed to server A] (doubled transfer speed).


Code:
ndd -set /dev/tcp tcp_host_param '10.140.20.10 sendspace 279600 recvspace 279600 timestamp 1'

Now they are getting a new server with Solaris 10 on it - setting the same command in a startup script does NOTHING for the speed of the transfer.

both networks are 100 MB - new server on same subnet as old one. New server will get old server's IP (so nothing on the server B side has to change)

Anyone know what might be the 'new' way of doing this for Solaris 10?

Last edited by Scott; 03-05-2010 at 01:12 AM.. Reason: Code tags
Sponsored Links
    #2  
Old 03-02-2010
incredible incredible is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 24 August 2014, 5:15 AM EDT
Location: SINGAPORE.. The "FINE" City
Posts: 2,693
Thanks: 1
Thanked 19 Times in 19 Posts
What are the model of the Solaris 8 and 10 machines?
Are they sparc or x86 ?
Sponsored Links
    #3  
Old 03-02-2010
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 23 November 2014, 5:56 AM EST
Location: Paris
Posts: 4,453
Thanks: 17
Thanked 480 Times in 432 Posts
What performance are you measuring with the Solaris 8 and 10 servers ?

This ndd setting is doomed anyway:
Bug ID: 6737341 tcp_host_param should be removed
    #4  
Old 03-02-2010
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 
Join Date: Apr 2002
Last Activity: 17 October 2014, 8:46 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks: 1
Thanked 32 Times in 9 Posts
Both are sparc machines and the application is using scp (F-secure I think) to measure 'speed'. The server A has a qfe card - the tcp_host_param is set on only one of the interfaces and it has 1.3MBs versus 512MBs to the interface with the default tcp_host_param setting.

Again, the question is what parameter (if any) would need to be set to get the same type of boost (obviously the tcp_host_param doesn't do it anymore - actually, the transfer does use the tcp_host_param setting when the scp happens [can be seen with netstat -an send-q/recv-q] but it doesn't cause it to go any faster, as it did between 2 Solaris 8 servers).
Sponsored Links
    #5  
Old 03-02-2010
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 23 November 2014, 5:56 AM EST
Location: Paris
Posts: 4,453
Thanks: 17
Thanked 480 Times in 432 Posts
I'm no asking what performance you measure with Solaris 8 with and without the tuning but the performance measured with Solaris 10 vs Solaris 8.
Sponsored Links
    #6  
Old 03-02-2010
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 
Join Date: Apr 2002
Last Activity: 17 October 2014, 8:46 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks: 1
Thanked 32 Times in 9 Posts
Application is using the output from the scp -

examples are all from old Solaris 8 server:

to 1st interface on old solaris 8 server with tcp_host_param settings set higher

Code:
snoop5.out                            |  866MB | 1.1MB/s |TOC: 00:13:14 | 100%

to 2nd interface on old solaris 8 server with no special tcp_host_param set up

Code:
snoop5.out                            |  866MB | 756kB/s |TOC: 00:19:32 | 100%

to new server (solaris 10) with tcp_host_param settings set higher

Code:
snoop5.out                            |  866MB | 413kB/s |TOC: 00:35:48 | 100%

So, they are looking to get the solaris 10 to have the same "speed" as they see on the old solaris 8 server.

Last edited by Scott; 03-05-2010 at 01:14 AM.. Reason: Code tags
Sponsored Links
    #7  
Old 03-05-2010
honglus honglus is offline
Registered User
 
Join Date: Dec 2008
Last Activity: 8 December 2011, 1:40 AM EST
Posts: 87
Thanks: 1
Thanked 3 Times in 3 Posts
maybe because of the global cap on window wize, try this:


Code:
ndd -set /dev/tcp tcp_xmit_hiwat 279600
ndd -set /dev/tcp tcp_recv_hiwat 279600

TCP Tunable Parameters (Solaris Tunable Parameters Reference Manual) - Sun Microsystems

Last edited by Scott; 03-05-2010 at 01:16 AM.. Reason: Please use code tags
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 09:12 AM.