Unix Technical Forum

Tweaking DSL on a Solaris machine

This is a discussion on Tweaking DSL on a Solaris machine within the comp.unix.solaris forums, part of the Solaris Operating System category; --> There are many webpages devoted to tweaking system setting to maximize performance of a DSL connection. Most suggestion boil ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 03:12 PM
Bhoot Nath
 
Posts: n/a
Default Tweaking DSL on a Solaris machine

There are many webpages devoted to tweaking system setting to maximize
performance of a DSL connection. Most suggestion boil down to
increasing the "receive window" to a larger value (16 to 32K, rather
than the default 2K). These are for windows machines.

How would I go about tweaking this kind of setting on a Solaris
machine? In a previous life, as a grad student, nearly 10 years back,
I administered many Unix machines at Stanford. Thus, I am well
familiar with Unix. However, I have never done this sort of tweaks on
a Unix machine.

I would appreciate hearing from anyone who uses DSL on a solaris
machine and has tweaked some system settings to optimize connection
performance.

Thanks.

Bhoot Nath
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 03:12 PM
Philip J. Koenig
 
Posts: n/a
Default Re: Tweaking DSL on a Solaris machine

In article <309e7c98.0309051455.4296ae83@posting.google.com >, deja_bhoot2000
@yahoo.com (Bhoot Nath) writes...
> There are many webpages devoted to tweaking system setting to maximize
> performance of a DSL connection. Most suggestion boil down to
> increasing the "receive window" to a larger value (16 to 32K, rather
> than the default 2K). These are for windows machines.
>
> How would I go about tweaking this kind of setting on a Solaris
> machine? In a previous life, as a grad student, nearly 10 years back,
> I administered many Unix machines at Stanford. Thus, I am well
> familiar with Unix. However, I have never done this sort of tweaks on
> a Unix machine.
>
> I would appreciate hearing from anyone who uses DSL on a solaris
> machine and has tweaked some system settings to optimize connection
> performance.
>
> Thanks.
>
> Bhoot Nath



Here's a page but it seems pretty overcomplicated:
http://www.sean.de/Solaris/soltune.html


Here's another one but they need to learn something about formatting:
http://www.ebsinc.com/solaris/tcp_faq.html



Here's a summary of settings, taken from
http://developers.sun.com/solaris/ar...nce_tools.html

Probably the most important ones are the ones at the top, default
values are listed:



/etc/rc2.d/S69inet Option Description
-------------------------------------

ndd -set /dev/tcp tcp_xmit_hiwat 65535
The default send window size in bytes.


ndd -set /dev/tcp tcp_recv_hiwat 65535
The default receive window size in bytes.


ndd -set /dev/tcp tcp_cwnd_max 65535
The maximum value of TCP congestion window (cwnd) in bytes.


ndd -set /dev/tcp tcp_rexmit_interval_min 3000
The default minimum retransmission timeout (RTO) value in milliseconds.
The calculated RTO for all TCP connections cannot be lower than this value.


ndd -set /dev/tcp tcp_rexmit_interval_max 10000
The default maximum retransmission timeout value (RTO) in milliseconds.
The calculated RTO for all TCP connections cannot exceed this value.


ndd -set /dev/tcp tcp_rexmit_interval_initial 3000
The default initial retransmission timeout value (RTO) in milliseconds.


ndd -set /dev/tcp tcp_time_wait_interval 60000
The time in milliseconds a TCP connection stays in TIME-WAIT state. Refer
to RFC 1122, 4.2.2.13 for more information.


ndd -set /dev/tcp tcp_keepalive_interval 900000
The time in milliseconds a TCP connection stays in KEEP-ALIVE state. Refer
to RFC 1122, 4.2.2.13 for more information.


ndd -set /dev/tcp tcp_conn_req_max_q 1024
The default maximum number of pending TCP connections for a TCP listener
waiting to be accepted by accept(SOCKET).


ndd -set /dev/tcp tcp_conn_req_max_q0 4096
The default maximum number of incomplete (three-way handshake not yet
finished) pending TCP connections for a TCP listener.
Refer to RFC 793 for more information on TCP three-way handshake.


ndd -set /dev/tcp tcp_ip_abort_interval 60000
The default total retransmission timeout value for a TCP connection in
milliseconds. For a given TCP connection, if TCP has been re-transmitting for
tcp_ip_abort_interval period and it has not received any acknowledgment
from the other endpoint during this period, TCP closes this connection.


ndd -set /dev/tcp tcp_smallest_anon_port 1024
The default port number where anonymous port allocation is allowed (default: ?).




--
* Few people are capable of expressing with equanimity opinions which *
* differ from the prejudices of their social environment. Most people are *
* even incapable of forming such opinions. -- Albert Einstein *
* *
* To send email, remove numbers and spaces: pjkusenet64 @ ekahuna27 . com *
* Simple answers are for simple minds. Try a new way of looking at things. *
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:08 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com