Jeff,
Here's what it says...
Essex# /usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 5000
name is non-existent for this module
for a list of valid names, use name '?'
Essex# ndd /dev/tcp \?
? (read only)
tcp_close_wait_interval (read and write)
tcp_conn_req_max_q (read and write)
tcp_conn_req_max_q0 (read and write)
tcp_conn_req_min (read and write)
tcp_conn_grace_period (read and write)
tcp_cwnd_max (read and write)
tcp_debug (read and write)
tcp_smallest_nonpriv_port (read and write)
tcp_ip_abort_cinterval (read and write)
tcp_ip_abort_linterval (read and write)
tcp_ip_abort_interval (read and write)
tcp_ip_notify_cinterval (read and write)
tcp_ip_notify_interval (read and write)
tcp_ip_ttl (read and write)
tcp_keepalive_interval (read and write)
tcp_maxpsz_multiplier (read and write)
tcp_mss_def (read and write)
tcp_mss_max (read and write)
tcp_mss_min (read and write)
tcp_naglim_def (read and write)
tcp_rexmit_interval_initial (read and write)
tcp_rexmit_interval_max (read and write)
tcp_rexmit_interval_min (read and write)
tcp_wroff_xtra (read and write)
tcp_deferred_ack_interval (read and write)
tcp_snd_lowat_fraction (read and write)
tcp_sth_rcv_hiwat (read and write)
tcp_sth_rcv_lowat (read and write)
tcp_dupack_fast_retransmit (read and write)
tcp_ignore_path_mtu (read and write)
tcp_rcv_push_wait (read and write)
tcp_smallest_anon_port (read and write)
tcp_largest_anon_port (read and write)
tcp_xmit_hiwat (read and write)
tcp_xmit_lowat (read and write)
tcp_recv_hiwat (read and write)
tcp_recv_hiwat_minmss (read and write)
tcp_fin_wait_2_flush_interval (read and write)
tcp_co_min (read and write)
tcp_max_buf (read and write)
tcp_zero_win_probesize (read and write)
tcp_strong_iss (read and write)
tcp_rtt_updates (read and write)
tcp_wscale_always (read and write)
tcp_tstamp_always (read and write)
tcp_tstamp_if_wscale (read and write)
tcp_rexmit_interval_extra (read and write)
tcp_deferred_acks_max (read and write)
tcp_slow_start_after_idle (read and write)
tcp_slow_start_initial (read and write)
tcp_co_timer_interval (read and write)
tcp_extra_priv_ports (read only)
tcp_extra_priv_ports_add (write only)
tcp_extra_priv_ports_del (write only)
tcp_status (read only)
tcp_bind_hash (read only)
tcp_listen_hash (read only)
tcp_conn_hash (read only)
tcp_queue_hash (read only)
tcp_host_param (read and write)
tcp_1948_phrase (write only)
Essex# logout
At 09:51 AM 3/24/99 -0700, Jeff Hill wrote:
>
>I overheard this interesting tidbit on the WRS mail list this morning!
>This is certainly relevant to our situation here.
>
>Jeff
>
>-----Original Message-----
>From: the vxWorks Users Group Exploder [SMTP:[email protected]]
>Sent: Tuesday, March 23, 1999 9:40 AM
>To: [email protected]
>Subject: RE: Slow TCP/IP Sockets
>
>Submitted-by owner-vxwexplo-process Tue Mar 23 08:39:32 1999
>Submitted-by: "Sowko, Nick" <[email protected]>
>
>
>TSR #116602 addresses the slow boot problem on Solaris 2.6 (expecially
>noticed going from 2.5.1 to 2.6)
>
>
>
>TITLE: Why does Solaris 2.6 take so long to boot vxworks?
>
>AUTHOR: David Holloway
>
> SCOPE DISCOVERED ON
>
> HOST: Solaris 2.6 / All Solaris 2.6
> ------------------- -------------------
> ARCHITECTURE: All PowerPC
> ------------------- -------------------
> BSP: All mtx603
> ------------------- -------------------
>PRODUCT / REVISION: N/A vxWorks 5.3.1
> ------------------- -------------------
>
>DESCRIPTION:
>
> It takes far too long to boot vxworks using a solaris 2.6 ftp
> server under the following conditions:
> 1. when it is rebooted in quick succession.
> 2. when symbol tables loaded via the network take too long to load.
>
>RESEARCH:
>
>The bootrom uses a local port number to download vxWorks. VxWorks will
>attempt to use the same port number to download vxWorks.sym. In accordance
>with TCP/IP's proper implementation, after the bootrom's transaction,
>Solaris 2.6 still has a connection in a TIME_WAIT state as vxWorks attempts
>to download vxWorks.sym. VxWorks must then wait for Solaris 2.6 to time
>out before proceeding with its connection. That is the cause for the delay.
>Sun Microsystems probably fixed TCP/IP in version 2.6 of Solaris.
>
>The device /dev/tcp has a "quality" modifiable by /usr/sbin/ndd called
>tcp_time_wait_interval. Solaris 2.5.1 doesn't seem to pay attention to
>this variable, if one changes it to a larger or smaller value then
>vxWorks/vxWorks.sym still load without interruption.
>
>RESOLUTION:
>If you do not have root access to the solaris ftp server, then
>add this to your usrConfig.c. It increments the local port number
>so that vxWorks.sym will load more quickly.
>
>/* Right before the call to netLoadSymTbl() */
>#ifdef SOLARIS26FTPD /* increment the last used port number by one. */
>
> #include "netinet/in.h"
> #include "sockLib.h"
> {
> int mybsock;
> struct sockaddr_in mybsockaddr;
> mybsockaddr.sin_addr.s_addr = htonl(INADDR_ANY);
> mybsockaddr.sin_port = 0;
> mybsockaddr.sin_family = AF_INET;
> mybsock = socket(AF_INET, SOCK_STREAM, 0);
> bind (mybsock, (struct sockaddr *) &mybsockaddr, sizeof(mybsockaddr));
> close(mybsock);
> }
>#endif /* SOLARIS26 ftp server*/
>
>Note, this would also apply when using a vxworks ftp server to boot other
>vxworks targets.
>
>If you do have root access to the solaris ftp server then
>decrease the value of tcp_time_wait_interval using /usr/sbin/ndd
>example usage:
>/usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 5000
>
>SPR / PATCH:
>
>KEYWORDS: Solaris 2.6 symbol table boot INCLUDE_NET_SYM_TBL
>
- References:
- FW: slow VxWorks boot under Solaris 2.6 Jeff Hill
- Navigate by Date:
- Prev:
FW: slow VxWorks boot under Solaris 2.6 Jeff Hill
- Next:
IP-packs, IP carriers, and Backplanes vs. CPUs - endian issues Bill Brown
- Index:
1994
1995
1996
1997
1998
<1999>
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
FW: slow VxWorks boot under Solaris 2.6 Jeff Hill
- Next:
IP-packs, IP carriers, and Backplanes vs. CPUs - endian issues Bill Brown
- Index:
1994
1995
1996
1997
1998
<1999>
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|