Veritas-bu

[Veritas-bu] Is there an official document of client and serv er NIC and switch settings

2004-03-18 12:51:55
Subject: [Veritas-bu] Is there an official document of client and serv er NIC and switch settings
From: tech2187 AT yahoo DOT com (K Chapman)
Date: Thu, 18 Mar 2004 09:51:55 -0800 (PST)
--0-603856752-1079632315=:72834
Content-Type: text/plain; charset=us-ascii

heres something ive used:
echo "setting up ce interfaces: \c"
/usr/sbin/ndd -set /dev/ce instance 0
/usr/sbin/ndd -set /dev/ce adv_autoneg_cap 1
/usr/sbin/ndd -set /dev/ce adv_1000fdx_cap 1
/usr/sbin/ndd -set /dev/ce adv_1000hdx_cap 0
/usr/sbin/ndd -set /dev/ce adv_100fdx_cap 0
/usr/sbin/ndd -set /dev/ce adv_100hdx_cap 0
/usr/sbin/ndd -set /dev/ce adv_10fdx_cap 0
/usr/sbin/ndd -set /dev/ce adv_10hdx_cap 0
echo "ce0 \c"
/usr/sbin/ndd -set /dev/ce instance 1
/usr/sbin/ndd -set /dev/ce adv_autoneg_cap 1
/usr/sbin/ndd -set /dev/ce adv_1000fdx_cap 1
/usr/sbin/ndd -set /dev/ce adv_1000hdx_cap 0
/usr/sbin/ndd -set /dev/ce adv_100fdx_cap 0
/usr/sbin/ndd -set /dev/ce adv_100hdx_cap 0
/usr/sbin/ndd -set /dev/ce adv_10fdx_cap 0
/usr/sbin/ndd -set /dev/ce adv_10hdx_cap 0
echo "ce1 \c"
 
when ive tried to set auto to 0, the link fails...  with this config, i get 
expected speeds/perf though.

william.d.brown AT gsk DOT com wrote:
I'm afraid I don't know. But looking on the internet:

http://www.brandonhutchinson.com/Solaris_NIC_speed_and_duplex_settings.html

and I tried it in a system we installed yesterday:

ndd -get /dev/ce link_mode
0

>From what I read here:

http://docs.sun.com/db/doc/816-2351-10/6m8n54s3b?a=view

It's very similar to hme, but you cannot set the parameters in /etc/system

William D L Brown




"Daniel Teklu" 

18/03/2004 16:14

To
"'william.d.brown AT gsk DOT com'" , "Veritas-Bu 
(E-mail)" 
cc

Subject
RE: [Veritas-bu] Is there an official document of client and serv er NIC 
and switch settings






William,

Will these settings be the same for the ce nic cards? I have the same 
thing
on one box that have ce and it is VERY VERY slow. I heard sometime ago 
that,
for full_duplex, link_mode for ce is 2 not 1 like the hme cards.

Any ideas?

Thanks
-Daniel



-----Original Message-----
From: william.d.brown AT gsk DOT com [mailto:william.d.brown AT gsk DOT com]
Sent: Thursday, March 18, 2004 8:31 AM
To: Veritas-Bu (E-mail)
Subject: RE: [Veritas-bu] Is there an official document of client and
serv er NIC and switch settings


Solaris:

set the ndd tcp_close_wait_interval to 1000 (default is I think 24000)

(NCVU will flag this for you)

Also using ndd, lock your NIC at 100 FDX if that is what it is:

In /etc/system, add this:

* set: 100Mbps full-duplex
set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100fdx_cap=1
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10fdx_cap=0
set hme:hme_adv_10hdx_cap=0

That's for the hme type device - you may have to do it differently for 
different NICs.

I guess others can tell you how to do this on other o/s. Here is some 
info for W2K. Beware of tunign for backup at the expense of the 
application...

Try http://rdweb.cns.vt.edu/public/notes/win2k-tcpip.htm, and the 
microsoft document it refers to (has moved to...)

http://www.microsoft.com/technet/itsolutions/network/deploy/depovg/tcpip2k.m

spx

Tells you more than you could possibly want to know.

To tune W2K itself:

http://www.microsoft.com/windows2000/professional/evaluation/performance/rep

orts/perftune.asp

Appendix 4 of that document has tips for various specific GbE adapters.

William D L Brown


_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu




_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

aaarrrggghhh!!!!
FreeBSD rocks
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
--0-603856752-1079632315=:72834
Content-Type: text/html; charset=us-ascii

<DIV>heres something ive used:</DIV>
<DIV>echo "setting up ce interfaces: \c"<BR>/usr/sbin/ndd -set /dev/ce instance 
0<BR>/usr/sbin/ndd -set /dev/ce adv_autoneg_cap 1<BR>/usr/sbin/ndd -set /dev/ce 
adv_1000fdx_cap 1<BR>/usr/sbin/ndd -set /dev/ce adv_1000hdx_cap 
0<BR>/usr/sbin/ndd -set /dev/ce adv_100fdx_cap 0<BR>/usr/sbin/ndd -set /dev/ce 
adv_100hdx_cap 0<BR>/usr/sbin/ndd -set /dev/ce adv_10fdx_cap 0<BR>/usr/sbin/ndd 
-set /dev/ce adv_10hdx_cap 0<BR>echo "ce0 \c"</DIV>
<DIV>/usr/sbin/ndd -set /dev/ce instance 1<BR>/usr/sbin/ndd -set /dev/ce 
adv_autoneg_cap 1<BR>/usr/sbin/ndd -set /dev/ce adv_1000fdx_cap 
1<BR>/usr/sbin/ndd -set /dev/ce adv_1000hdx_cap 0<BR>/usr/sbin/ndd -set /dev/ce 
adv_100fdx_cap 0<BR>/usr/sbin/ndd -set /dev/ce adv_100hdx_cap 
0<BR>/usr/sbin/ndd -set /dev/ce adv_10fdx_cap 0<BR>/usr/sbin/ndd -set /dev/ce 
adv_10hdx_cap 0<BR>echo "ce1 \c"</DIV>
<DIV>&nbsp;</DIV>
<DIV>when ive tried to set auto to 0, the link fails...&nbsp; with this config, 
i get expected speeds/perf though.<BR><BR><B><I>william.d.brown AT gsk DOT 
com</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; 
BORDER-LEFT: #1010ff 2px solid">I'm afraid I don't know. But looking on the 
internet:<BR><BR>http://www.brandonhutchinson.com/Solaris_NIC_speed_and_duplex_settings.html<BR><BR>and
 I tried it in a system we installed yesterday:<BR><BR>ndd -get /dev/ce 
link_mode<BR>0<BR><BR>From what I read 
here:<BR><BR>http://docs.sun.com/db/doc/816-2351-10/6m8n54s3b?a=view<BR><BR>It's
 very similar to hme, but you cannot set the parameters in 
/etc/system<BR><BR>William D L Brown<BR><BR><BR><BR><BR>"Daniel Teklu" <DTEKLU 
AT AMLAW DOT COM><BR>18/03/2004 16:14<BR><BR>To<BR>"'william.d.brown AT gsk DOT 
com'" <WILLIAM.D.BROWN AT GSK DOT COM>, "Veritas-Bu <BR>(E-mail)" <VERITAS-BU 
AT MAILMAN.ENG.AUBURN DOT EDU><BR>cc<BR><BR>Subject<BR>RE: [Veritas-bu] Is 
there an official document of client and serv er NIC <BR>and switch 
settings<BR><BR><BR><BR><BR><BR><BR>William,<BR><BR>Will these settings be the 
same for the ce nic cards? I have the same <BR>thing<BR>on one box
 that have ce and it is VERY VERY slow. I heard sometime ago <BR>that,<BR>for 
full_duplex, link_mode for ce is 2 not 1 like the hme cards.<BR><BR>Any 
ideas?<BR><BR>Thanks<BR>-Daniel<BR><BR><BR><BR>-----Original 
Message-----<BR>From: william.d.brown AT gsk DOT com [mailto:william.d.brown AT 
gsk DOT com]<BR>Sent: Thursday, March 18, 2004 8:31 AM<BR>To: Veritas-Bu 
(E-mail)<BR>Subject: RE: [Veritas-bu] Is there an official document of client 
and<BR>serv er NIC and switch settings<BR><BR><BR>Solaris:<BR><BR>set the ndd 
tcp_close_wait_interval to 1000 (default is I think 24000)<BR><BR>(NCVU will 
flag this for you)<BR><BR>Also using ndd, lock your NIC at 100 FDX if that is 
what it is:<BR><BR>In /etc/system, add this:<BR><BR>* set: 100Mbps 
full-duplex<BR>set hme:hme_adv_autoneg_cap=0<BR>set 
hme:hme_adv_100T4_cap=0<BR>set hme:hme_adv_100fdx_cap=1<BR>set 
hme:hme_adv_100hdx_cap=0<BR>set hme:hme_adv_10fdx_cap=0<BR>set 
hme:hme_adv_10hdx_cap=0<BR><BR>That's for the hme type device - you may have to 
do it
 differently for <BR>different NICs.<BR><BR>I guess others can tell you how to 
do this on other o/s. Here is some <BR>info for W2K. Beware of tunign for 
backup at the expense of the <BR>application...<BR><BR>Try 
http://rdweb.cns.vt.edu/public/notes/win2k-tcpip.htm, and the <BR>microsoft 
document it refers to (has moved 
to...)<BR><BR>http://www.microsoft.com/technet/itsolutions/network/deploy/depovg/tcpip2k.m<BR><BR>spx<BR><BR>Tells
 you more than you could possibly want to know.<BR><BR>To tune W2K 
itself:<BR><BR>http://www.microsoft.com/windows2000/professional/evaluation/performance/rep<BR><BR>orts/perftune.asp<BR><BR>Appendix
 4 of that document has tips for various specific GbE adapters.<BR><BR>William 
D L 
Brown<BR><BR><BR>_______________________________________________<BR>Veritas-bu 
maillist - Veritas-bu AT mailman.eng.auburn DOT 
edu<BR>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu<BR><BR><BR><BR><BR>_______________________________________________<BR>Veritas-bu
 maillist -
 Veritas-bu AT mailman.eng.auburn DOT 
edu<BR>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</BLOCKQUOTE><BR><BR>aaarrrggghhh!!!!<br>FreeBSD
 rocks<p><font face=arial size=-1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mailtag_us/*http://mail.yahoo.com"; 
target="_blank"><b>Yahoo! Mail</a></b> - More reliable, more storage, less spam
--0-603856752-1079632315=:72834--