Veritas-bu

[Veritas-bu] Solaris slow BMR performance

2004-07-08 07:53:57
Subject: [Veritas-bu] Solaris slow BMR performance
From: scoco AT arl.army DOT mil (Coco, Samuel (Cont, ARL/CISD))
Date: Thu, 8 Jul 2004 07:53:57 -0400
This is a multi-part message in MIME format.

------_=_NextPart_001_01C464E2.404AE5FB
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Here are two scripts I wrote a while back that checks the current state
of the NIC and the other adjusts it.
=20
#############################
=20
ndd -get /dev/hme link_status
echo ""
echo " A 0 above means 'LINK DOWN'"
echo " A 1 above means 'LINK UP"
echo ""
ndd -get /dev/hme link_speed
echo ""
echo " A 0 above means '10 Mbps transfer rate'"
echo " A 1 above means '100 Mbps transfer rate"
echo ""
ndd -get /dev/hme link_mode
echo ""
echo " A 0 above means 'Half-Duplex connection'"
echo " A 1 above means 'full-Duplex connection"
echo ""

##############################
=20
ndd -set /dev/hme instance 0
ndd -set /dev/hme adv_autoneg_cap 0
ndd -set /dev/hme adv_100T4_cap 0
ndd -set /dev/hme adv_100fdx_cap 1
ndd -set /dev/hme adv_100hdx_cap 0
ndd -set /dev/hme adv_10fdx_cap 0
ndd -set /dev/hme adv_10hdx_cap 0
ndd -set /dev/tcp tcp_time_wait_interval 1000
=20
##############################
=20
=20
Thank you,
=20
=20
Samuel J. Coco, STG
Functional Area Manager, ARL
Sr UNIX Administrator
BELL      301 394-1151 DSN 290
CELL (B) 240 398-7121 / (H)443 496-1623
HOME     410 604-2415
Email  scoco AT arl.army DOT mil

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
Karl.Rossing AT Federated DOT CA
Sent: Wednesday, July 07, 2004 1:37 PM
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Solaris slow BMR performance



Ray,=20

Thanks for the response. I gave it a try but my restore was no faster.=20

I noticed that there is a external procedure for setting the NIC.=20
# Interface name of the network card that will be forced to communicate=20
# at 100Mbps/Full Duplex=20
#Interface=3Dhme=20
# Instance of the network card that will be forced to communicate=20
# at 100Mbps/Full Duplex=20
#Instance=3D0=20

if [ -a -n "${Interface}"  -a -n "${Instance}" ]; then=20
        # Added code to get the interface settings=20
        ndd /dev/${Interface} adv_100T4_cap=20
        ndd /dev/${Interface} adv_100fdx_cap=20
        ndd /dev/${Interface} adv_100hdx_cap=20
        ndd /dev/${Interface} adv_10fdx_cap=20
        ndd /dev/${Interface} adv_10hdx_cap=20
        ndd /dev/${Interface} adv_autoneg_cap=20


        ndd -set /dev/${Interface} instance ${Instance}=20
        ndd -set /dev/${Interface} adv_100T4_cap 0=20
        ndd -set /dev/${Interface} adv_100fdx_cap 1=20
        ndd -set /dev/${Interface} adv_100hdx_cap 0=20
        ndd -set /dev/${Interface} adv_10fdx_cap 0=20
        ndd -set /dev/${Interface} adv_10hdx_cap 0=20
        ndd -set /dev/${Interface} adv_autoneg_cap 0=20
fi=20

So i guess i'm back testing the NIC.=20

Would someone know how to get a shell?=20

Do i just type in sh or ksh?=20

Thanks,=20

Ray Schafer <ray.schafer AT veritas DOT com> wrote on 07/06/2004 05:22:51 PM:

> If all the NBU clients that use this SRT all have the same=20
> NET_BUFFERS Setting, you can place this setting in the SRT.  If your
> SRT is in /export/srt and it's name is Sol8_NBU5_FST35 (for=20
> example), the NBU directory you would put the NET_BUFFERS file into=20
> is:
/export/srt/Sol8_NBU5_FST35/Solaris_8/Tools/Boot/usr/openv/netbackup.=20
>  =20
> Creating an external procedure prob ably wouldn't work because the=20
> SRT is mounted as read only during the restore.  I suppose you could
> put a symbolic link in there to point to a file in /tmp that yopu=20
> can write to, but the method above will "hard code" the SRT to set=20
> the NET_BUFFERS to a certain value.  That is probably just fine=20
> unless you have clients that use different values for this setting.=20
>  =20
> -----Original Message-----
> From: Karl.Rossing AT Federated DOT CA [mailto:Karl.Rossing AT Federated DOT 
> CA]
> Sent: Tuesday, July 06, 2004 2:43 PM
> Cc: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: Re: [Veritas-bu] Solaris slow BMR performance

>=20
> I'm running BMR 4.7.1(Mp1).=20
>=20
> I hardcoded the switch to 100Mb FD. Solaris is seeing the link as=20
> 100Mb FD on both the bmr client and the bmr/nb_master server.=20
>=20
> I'm currently getting 70K/sec.=20
>=20
> The server and the client have NET_BUFFERS setup.=20
>=20
> Maybe i need to put in an external procedure for NET_BUFFERS before NB
runs.=20
>=20
>=20
>=20
> veritas-bu-admin AT mailman.eng.auburn DOT edu wrote on 07/06/2004 12:52:37
PM:
>=20
> > What version of BMR are you running?
> > Latest is 4.7. I would try setting your switch to
> > hardcode 100MB/Full. Other than that, I haven't ran
> > into any performance problems with BMR itself..
> >=20
> > -Dennis Laube
> >=20
> >=20
> >=20
> > --- Karl.Rossing AT Federated DOT CA wrote:
> > > Hi,
> > >=20
> > > I'm doing a test BMR of a client.
> > >=20
> > > I'm getting slow performance when doing the restore.
> > > specifically /, other=20
> > > larger data partitions seem to go quickly.
> > >=20
> > > Switch is set to autoneg, solaris is set to autoneg.
> > > Switch shows full=20
> > > duplex on the ports.
> > >=20
> > > I'm using the Solaris 8 Feb 2004 release.
> > >=20
> > > I'm wondering if anyone else ran into this?
> >=20
> >=20
> > =3D=3D=3D=3D=3D
> > Reach me when I'm online:
> > AOL IM: djlaube
> > YIM: djlaube
> > MSN: djlaube AT msn DOT com
> > ICQ: 243471
> >=20
> >=20
> >      =20
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> > http://promotions.yahoo.com/new_mail=20
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> >=20


------_=_NextPart_001_01C464E2.404AE5FB
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =
size=3D2>Here=20
are two scripts I wrote a while back that checks the current state of =
the NIC=20
and the other adjusts it.</FONT></SPAN></DIV>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =

size=3D2>#############################</FONT></SPAN></DIV>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =
size=3D2>ndd=20
-get /dev/hme link_status</FONT></SPAN></DIV>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =
size=3D2>echo=20
""<BR>echo " A 0 above means 'LINK DOWN'"<BR>echo " A 1 above means =
'LINK=20
UP"<BR>echo ""<BR>ndd -get /dev/hme link_speed<BR>echo ""<BR>echo " A 0 =
above=20
means '10 Mbps transfer rate'"<BR>echo " A 1 above means '100 Mbps =
transfer=20
rate"<BR>echo ""<BR>ndd -get /dev/hme link_mode<BR>echo ""<BR>echo " A 0 =
above=20
means 'Half-Duplex connection'"<BR>echo " A 1 above means 'full-Duplex=20
connection"<BR>echo ""<BR></FONT></SPAN></DIV>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =

size=3D2>##############################</FONT></SPAN></DIV>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =
size=3D2>ndd=20
-set /dev/hme instance 0<BR>ndd -set /dev/hme adv_autoneg_cap 0<BR>ndd =
-set=20
/dev/hme adv_100T4_cap 0<BR>ndd -set /dev/hme adv_100fdx_cap 1<BR>ndd =
-set=20
/dev/hme adv_100hdx_cap 0<BR>ndd -set /dev/hme adv_10fdx_cap 0<BR>ndd =
-set=20
/dev/hme adv_10hdx_cap 0<BR>ndd -set /dev/tcp tcp_time_wait_interval=20
1000</FONT></SPAN></DIV>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D860144911-08072004><FONT face=3DArial color=3D#0000ff =

size=3D2>##############################</DIV></FONT></SPAN>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Thank you,</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Samuel J. Coco, =
STG</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Functional Area Manager,=20
ARL</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Sr UNIX =
Administrator</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>BELL&nbsp;&nbsp;&nbsp; =
&nbsp; 301=20
394-1151 DSN 290</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>CELL (B) 240 398-7121 / =
(H)443=20
496-1623</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial =
size=3D2>HOME&nbsp;&nbsp;&nbsp;&nbsp; 410=20
604-2415</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Email&nbsp; <A=20
href=3D"mailto:scoco AT arl.army DOT mil">scoco AT arl.army DOT 
mil</A></FONT></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
  veritas-bu-admin AT mailman.eng.auburn DOT edu=20
  [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of=20
  </B>Karl.Rossing AT Federated DOT CA<BR><B>Sent:</B> Wednesday, July 07, 2004 
=
1:37=20
  PM<BR><B>Cc:</B> veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> =
RE:=20
  [Veritas-bu] Solaris slow BMR =
performance<BR><BR></FONT></DIV><BR><FONT=20
  size=3D3>Ray,</FONT> <BR><BR><FONT size=3D3>Thanks for the response. I =
gave it a=20
  try but my restore was no faster.</FONT> <BR><BR><FONT size=3D3>I =
noticed that=20
  there is a external procedure for setting the NIC. </FONT><BR><FONT=20
  face=3D"Courier New" size=3D2># Interface name of the network card =
that will be=20
  forced to communicate</FONT> <BR><FONT face=3D"Courier New" size=3D2># =
at=20
  100Mbps/Full Duplex</FONT> <BR><FONT face=3D"Courier New"=20
  size=3D2>#Interface=3Dhme</FONT> <BR><FONT face=3D"Courier New" =
size=3D2># Instance of=20
  the network card that will be forced to communicate </FONT><BR><FONT=20
  face=3D"Courier New" size=3D2># at 100Mbps/Full Duplex</FONT> =
<BR><FONT=20
  face=3D"Courier New" size=3D2>#Instance=3D0</FONT> <BR><BR><FONT =
face=3D"Courier New"=20
  size=3D2>if [ -a -n "${Interface}" &nbsp;-a -n "${Instance}" ]; =
then</FONT>=20
  <BR><FONT face=3D"Courier New" size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; # =
Added code=20
  to get the interface settings</FONT> <BR><FONT face=3D"Courier New"=20
  size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; ndd /dev/${Interface} =
adv_100T4_cap</FONT>=20
  <BR><FONT face=3D"Courier New" size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; =
ndd=20
  /dev/${Interface} adv_100fdx_cap</FONT> <BR><FONT face=3D"Courier New" =

  size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; ndd /dev/${Interface} =
adv_100hdx_cap</FONT>=20
  <BR><FONT face=3D"Courier New" size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; =
ndd=20
  /dev/${Interface} adv_10fdx_cap</FONT> <BR><FONT face=3D"Courier New"=20
  size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; ndd /dev/${Interface} =
adv_10hdx_cap</FONT>=20
  <BR><FONT face=3D"Courier New" size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; =
ndd=20
  /dev/${Interface} adv_autoneg_cap </FONT><BR><BR><BR><FONT =
face=3D"Courier New"=20
  size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; ndd -set /dev/${Interface} =
instance=20
  ${Instance} </FONT><BR><FONT face=3D"Courier New" size=3D2>&nbsp; =
&nbsp; &nbsp;=20
  &nbsp; ndd -set /dev/${Interface} adv_100T4_cap 0 </FONT><BR><FONT=20
  face=3D"Courier New" size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; ndd -set=20
  /dev/${Interface} adv_100fdx_cap 1 </FONT><BR><FONT face=3D"Courier =
New"=20
  size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; ndd -set /dev/${Interface} =
adv_100hdx_cap 0=20
  </FONT><BR><FONT face=3D"Courier New" size=3D2>&nbsp; &nbsp; &nbsp; =
&nbsp; ndd=20
  -set /dev/${Interface} adv_10fdx_cap 0 </FONT><BR><FONT =
face=3D"Courier New"=20
  size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; ndd -set /dev/${Interface} =
adv_10hdx_cap 0=20
  </FONT><BR><FONT face=3D"Courier New" size=3D2>&nbsp; &nbsp; &nbsp; =
&nbsp; ndd=20
  -set /dev/${Interface} adv_autoneg_cap 0</FONT> <BR><FONT =
face=3D"Courier New"=20
  size=3D2>fi</FONT> <BR><BR><FONT size=3D3>So i guess i'm back testing =
the=20
  NIC.</FONT> <BR><BR><FONT size=3D3>Would someone know how to get a =
shell?</FONT>=20
  <BR><BR><FONT size=3D3>Do i just type in sh or ksh?</FONT> =
<BR><BR><FONT=20
  size=3D3>Thanks,</FONT> <BR><BR><FONT size=3D2><TT>Ray Schafer=20
  &lt;ray.schafer AT veritas DOT com&gt; wrote on 07/06/2004 05:22:51 =
PM:<BR><BR>&gt;=20
  If all the NBU clients that use this SRT all have the same <BR>&gt;=20
  NET_BUFFERS Setting, you can place this setting in the SRT. &nbsp;If=20
  your<BR>&gt; SRT is in /export/srt and it's name is Sol8_NBU5_FST35 =
(for=20
  <BR>&gt; example), the NBU directory you would put the NET_BUFFERS =
file into=20
  <BR>&gt; is:=20
  =
/export/srt/Sol8_NBU5_FST35/Solaris_8/Tools/Boot/usr/openv/netbackup.</TT=
></FONT>=20
  <BR><FONT size=3D2><TT>&gt; &nbsp;</TT></FONT> <BR><FONT =
size=3D2><TT>&gt;=20
  Creating an external procedure prob ably wouldn't work because the =
<BR>&gt;=20
  SRT is mounted as read only during the restore. &nbsp;I suppose you=20
  could<BR>&gt; put a symbolic link in there to point to a file in /tmp =
that=20
  yopu <BR>&gt; can write to, but the method above will "hard code" the =
SRT to=20
  set <BR>&gt; the NET_BUFFERS to a certain value. &nbsp;That is =
probably just=20
  fine <BR>&gt; unless you have clients that use different values for =
this=20
  setting.</TT></FONT> <BR><FONT size=3D2><TT>&gt; &nbsp;</TT></FONT> =
<BR><FONT=20
  size=3D2><TT>&gt; -----Original Message-----<BR>&gt; From:=20
  Karl.Rossing AT Federated DOT CA [mailto:Karl.Rossing AT Federated DOT 
CA]<BR>&gt; =
Sent:=20
  Tuesday, July 06, 2004 2:43 PM<BR>&gt; Cc:=20
  veritas-bu AT mailman.eng.auburn DOT edu<BR>&gt; Subject: Re: [Veritas-bu] =
Solaris=20
  slow BMR performance<BR></TT></FONT><BR><FONT size=3D2><TT>&gt; =
<BR>&gt; I'm=20
  running BMR 4.7.1(Mp1). <BR>&gt; <BR>&gt; I hardcoded the switch to =
100Mb FD.=20
  Solaris is seeing the link as <BR>&gt; 100Mb FD on both the bmr client =
and the=20
  bmr/nb_master server. <BR>&gt; <BR>&gt; I'm currently getting 70K/sec. =

  <BR>&gt; <BR>&gt; The server and the client have NET_BUFFERS setup. =
<BR>&gt;=20
  <BR>&gt; Maybe i need to put in an external procedure for NET_BUFFERS =
before=20
  NB runs. <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt;=20
  veritas-bu-admin AT mailman.eng.auburn DOT edu wrote on 07/06/2004 12:52:37=20
  PM:<BR>&gt; <BR>&gt; &gt; What version of BMR are you running?<BR>&gt; =
&gt;=20
  Latest is 4.7. I would try setting your switch to<BR>&gt; &gt; =
hardcode=20
  100MB/Full. Other than that, I haven't ran<BR>&gt; &gt; into any =
performance=20
  problems with BMR itself..<BR>&gt; &gt; <BR>&gt; &gt; -Dennis =
Laube<BR>&gt;=20
  &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; --- =
Karl.Rossing AT Federated DOT CA=20
  wrote:<BR>&gt; &gt; &gt; Hi,<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; I'm =
doing a=20
  test BMR of a client.<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; I'm getting =
slow=20
  performance when doing the restore.<BR>&gt; &gt; &gt; specifically /, =
other=20
  <BR>&gt; &gt; &gt; larger data partitions seem to go quickly.<BR>&gt; =
&gt;=20
  &gt; <BR>&gt; &gt; &gt; Switch is set to autoneg, solaris is set to=20
  autoneg.<BR>&gt; &gt; &gt; Switch shows full <BR>&gt; &gt; &gt; duplex =
on the=20
  ports.<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; I'm using the Solaris 8 =
Feb 2004=20
  release.<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; I'm wondering if anyone =
else ran=20
  into this?<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; =
=3D=3D=3D=3D=3D<BR>&gt; &gt; Reach=20
  me when I'm online:<BR>&gt; &gt; AOL IM: djlaube<BR>&gt; &gt; YIM:=20
  djlaube<BR>&gt; &gt; MSN: djlaube AT msn DOT com<BR>&gt; &gt; ICQ: =
243471<BR>&gt;=20
  &gt; <BR>&gt; &gt; <BR>&gt; &gt; &nbsp; &nbsp; &nbsp; <BR>&gt; &gt;=20
  __________________________________<BR>&gt; &gt; Do you Yahoo!?<BR>&gt; =
&gt;=20
  New and Improved Yahoo! Mail - Send 10MB messages!<BR>&gt; &gt;=20
  http://promotions.yahoo.com/new_mail <BR>&gt; &gt;=20
  _______________________________________________<BR>&gt; &gt; =
Veritas-bu=20
  maillist &nbsp;- &nbsp;Veritas-bu AT mailman.eng.auburn DOT edu<BR>&gt; 
&gt;=20
  http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu<BR>&gt; &gt; =

  </TT></FONT></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C464E2.404AE5FB--

<Prev in Thread] Current Thread [Next in Thread>