Veritas-bu

[Veritas-bu] Window Perfomance Tuning

2003-03-10 17:45:02
Subject: [Veritas-bu] Window Perfomance Tuning
From: JimH AT FederalEdge DOT com (Jim Horalek (JimH AT FederalEdge DOT com))
Date: Mon, 10 Mar 2003 14:45:02 -0800
This is a multi-part message in MIME format.

--Boundary_(ID_8T0lKF2fu1hVBDnrHaFvtA)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: QUOTED-PRINTABLE

I gleaned the following from
ftp://ftp.compaq.com/pub/products/storageworks/whitepapers/Exchange_P=
erforma
nce_Ultrium_460_F.pdf
Its has some good Exchange information as well as

MaximumSGList is the parameter within the Windows registry that contr=
ols the
maximum amount of data transferred in a single SCSI write through the=
 Host
Bus Adapter (HBA). Normally, it is set to 64K because HP StorageWorks
Ultrium 460 is so fast it is expedient to increase this value. Refere=
ncing
figure 11, the larger the MaximumSGList parameter is, the more data b=
uffers
are available to queue data for SCSI transfers. This in turn allows t=
he SCSI
controller to incorporate more data writes or =93Packets=94 within on=
e SCSI
write.

To set the size of the Scatter gather list, a DWORD called MaximumSGL=
ist
must be added under the parameters section of the SCSI adapter that t=
he tape
drive is connected to, and given the Hex value of FF, for example. To=
 add
the DWORD, go access My Computer > HKEY_LOCAL_MACHINE > System > Curr=
ent
Control Set > Services > Adpu 160m (or relevant SCSI driver) > Parame=
ters >
DWORD FF.

It also mentions that 64 buffers of 64K is optimum for Netbackup 4.5 =
and the
LTO Ultrum 460 (LTO-2)

I found this in the Netbackup Tuning Guide for Windows at
support.veritas.com
http://ftp.support.veritas.com/pub/support/products/NetBackup_DataCen=
ter/248
373.pdf
Lots of good info in here.

Network Buffersize
For backup jobs: (<data_buffer_size> * 4) + 1024
For restore jobs: (<data_buffer_size> * 2) + 1024
Because the default value for the NetBackup data buffer size is 65536=
 bytes,
this formula results in a default value of 263168 bytes for backups a=
nd
132096 bytes for restores.
To set this parameter, create the following files:
<install_path>\NetBackup\NET_BUFFER_SZ
<install_path>\NetBackup\NET_BUFFER_SZ_REST (new in 4.5, not used in =
earlier
releases)


NetBackup Client Communications Buffer Size. The NetBackup client has=
 a
tunable
parameter that you can use to adjust the size of the Winsock2 network
communications buffer used to write data to the network for backups. =
This
parameter
specifies the value that is used to call the setsockopt() Winsock2 AP=
I to
set the
network buffer size for backups (SO_SNDBUF).
This parameter is the counterpart on the client to the Network Buffer=
 Size
parameter
on the media server, described above. As mentioned, the network buffe=
r sizes
are not
required to be the same on all of your NetBackup systems for NetBacku=
p to
function
properly. However, setting the Network Buffer Size parameter on the m=
edia
server
(see above) and the Communications Buffer Size parameter on the clien=
t to
the same
value achieves the best performance in some NetBackup installations.

To set the Communications Buffer Size parameter
1. From Host Properties in the NetBackup Administration Console in re=
lease
4.5, or
=66rom the Configure NetBackup GUI in earlier releases, open the Clie=
nt
Properties
dialog for the client on which the parameter is to be changed.
2. From the Windows Client tab, set the Communications buffer size: f=
ield.
This parameter is specified in number of kilobytes. The default value=
 is 32.
An extra
kilobyte is added internally for backup operations (SO_SNDBUF). There=
fore,
the
default network buffer size for backups is 33792 bytes. In some NetBa=
ckup
installations, this default value is too small. Increasing the value =
to 128
improves
performance in these installations.
Another way to set this parameter is to configure the Buffer_Size par=
ameter
in the
registry.
Locate the following key under HKEY_LOCAL_MACHINE
Software/VERITAS/NetBackup/CurrentVersion/Config
Add or modify the Buffer_Size value, which is a REG_DWORD value. Set =
it to
0x20.

Because local backup jobs on the media server do not send data over t=
he
network, this
parameter has no effect on these local operations. This parameter is =
used by
only the
NetBackup client processes which write to the network, specifically, =
the
bpbkar32
process. It is not used by any other NetBackup for Windows processes =
on a
master server,
media server, or client.

By default, NetBackup uses 64 KB (65536 bytes) as the size of each sh=
ared
data buffer.
A single tape I/O operation is performed for each shared data buffer.
Therefore, this
size must not exceed the maximum block size for the tape device or op=
erating
system.
For Windows systems, the maximum block size is generally 64 KB, altho=
ugh in
some
cases customers are using a larger value successfully.
For this reason, the terms =91tape block size=92 and =91shared data b=
uffer size=92
are
synonymous in this context.
The NetBackup media server will query the tape device for its maximum=
 block
size,
and cause the backup operation to fail if the shared data buffer size
exceeds the value
that is returned.

Gigabit Ethernet Tuning on Windows
http://ftp.support.veritas.com/pub/support/products/NetBackup_DataCen=
ter/241
544.pdf

Performance Tuning for Unix 3.2/3.4
http://ftp.support.veritas.com/pub/support/products/NetBackup_DataCen=
ter/240
733.pdf

Jim Horalek                            1735 Spruce St. Suite C
Federal Edge                          Riverside, CA 92507
909.683.5024                        Fax: 909.683.5025


--Boundary_(ID_8T0lKF2fu1hVBDnrHaFvtA)
Content-type: text/html; charset=iso-8859-1
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=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D919075921-10032003>I =
gleaned the=20
following from</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D919075921-10032003><A=20
href=3D"ftp://ftp.compaq.com/pub/products/storageworks/whitepapers/Exchan=
ge_Performance_Ultrium_460_F.pdf">ftp://ftp.compaq.com/pub/products/stora=
geworks/whitepapers/Exchange_Performance_Ultrium_460_F.pdf</A></SPAN></FO=
NT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D919075921-10032003>Its =
has some good=20
Exchange information as well as </SPAN></FONT></DIV><FONT face=3DArial =
size=3D2>
<DIV><BR>MaximumSGList is the parameter within the Windows registry that =

controls the maximum amount of data transferred in a single SCSI write =
through=20
the Host Bus Adapter (HBA). Normally, it is set to 64K because HP =
StorageWorks=20
Ultrium 460 is so fast it is expedient to increase this value. =
Referencing=20
figure 11, the larger the MaximumSGList parameter is, the more data =
buffers are=20
available to queue data for SCSI transfers. This in turn allows the SCSI =

controller to incorporate more data writes or =93Packets=94 within one =
SCSI=20
write.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>To set the size of the Scatter gather =
list, a DWORD=20
called MaximumSGList must be added under the parameters section of the =
SCSI=20
adapter that the tape drive is connected to, and given the Hex value of =
FF, for=20
example. To add the DWORD, go access My Computer &gt; HKEY_LOCAL_MACHINE =
&gt;=20
System &gt; Current Control Set &gt; Services &gt; Adpu 160m (or =
relevant SCSI=20
driver) &gt; Parameters &gt; DWORD FF.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D919075921-10032003><FONT face=3DArial size=3D2>It =
also mentions=20
that 64 buffers of 64K is optimum for Netbackup 4.5 and the LTO Ultrum =
460=20
(LTO-2)</FONT></SPAN></DIV>
<DIV><SPAN class=3D919075921-10032003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D919075921-10032003><FONT face=3DArial size=3D2>I =
found this in the=20
Netbackup Tuning Guide for Windows at =
support.veritas.com</FONT></SPAN></DIV>
<DIV><SPAN class=3D919075921-10032003><FONT face=3DArial size=3D2><A=20
href=3D"http://ftp.support.veritas.com/pub/support/products/NetBackup_Dat=
aCenter/248373.pdf">http://ftp.support.veritas.com/pub/support/products/N=
etBackup_DataCenter/248373.pdf</A></FONT></SPAN></DIV>
<DIV><SPAN class=3D919075921-10032003><FONT face=3DArial =
size=3D2>Network=20
Buffersize</FONT></SPAN><SPAN class=3D919075921-10032003></DIV>
<DIV align=3Dleft><FONT size=3D2><FONT face=3DArial>For backup jobs:=20
(&lt;</FONT><I><FONT face=3DArial>data_buffer_size</FONT></I><FONT =
face=3DArial>&gt;=20
* 4) + 1024</FONT></FONT></DIV>
<DIV align=3Dleft><FONT size=3D2><FONT face=3DArial>For restore jobs:=20
(&lt;</FONT><I><FONT face=3DArial>data_buffer_size</FONT></I><FONT =
face=3DArial>&gt;=20
* 2) + 1024</FONT></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial><FONT size=3D2>Because the default =
value for the=20
NetBackup data buffer size is 65536 bytes, </FONT></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial><FONT size=3D2>this<SPAN=20
class=3D919075921-10032003> </SPAN></FONT></FONT><FONT face=3DArial =
size=3D2>formula=20
results in a default value of 263168 bytes for backups and 132096 bytes=20
for</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>restores.</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>To set this parameter, =
create the=20
following files:</FONT></DIV>
<DIV align=3Dleft><FONT size=3D2><FONT =
face=3DArial>&lt;install_path&gt;</FONT><FONT=20
face=3DArial>\NetBackup\NET_BUFFER_SZ</FONT></FONT></DIV>
<DIV align=3Dleft><FONT size=3D2><FONT =
face=3DArial>&lt;install_path&gt;</FONT><FONT=20
face=3DArial>\NetBackup\NET_BUFFER_SZ_REST </FONT></FONT><FONT=20
face=3D"Times New Roman"><FONT face=3DArial><FONT size=3D2>(new in 4.5, =
not used in=20
earlier<SPAN class=3D919075921-10032003> </SPAN></FONT></FONT><FONT =
face=3DArial=20
size=3D2>releases)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT size=3D2><FONT size=3D2><SPAN =
class=3D919075921-10032003><FONT=20
size=3D1></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>From the =
Windows&nbsp;<SPAN=20
class=3D919075921-10032003>Host properties </SPAN>Client tab, set the=20
<B>Communications buffer size: </B>field.</FONT></DIV></FONT>
<DIV align=3Dleft><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV align=3Dleft><SPAN class=3D919075921-10032003><FONT =
face=3DArial>Gigabit Ethernet=20
Tuning on Windows</FONT></SPAN></DIV>
<DIV align=3Dleft><SPAN class=3D919075921-10032003><FONT face=3DArial><A =

href=3D"http://ftp.support.veritas.com/pub/support/products/NetBackup_Dat=
aCenter/241544.pdf">http://ftp.support.veritas.com/pub/support/products/N=
etBackup_DataCenter/241544.pdf</A></FONT></SPAN></DIV>
<DIV align=3Dleft><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV align=3Dleft></SPAN></FONT></FONT><FONT face=3DArial size=3D2><SPAN =

class=3D919075921-10032003>Performance Tuning for Unix=20
3.2/3.4</SPAN></FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://ftp.support.veritas.com/pub/support/products/NetBackup_Dat=
aCenter/240733.pdf">http://ftp.support.veritas.com/pub/support/products/N=
etBackup_DataCenter/240733.pdf</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft>Jim=20
Horalek&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1735=20
Spruce St. Suite C</DIV>
<DIV>Federal=20
Edge&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
Riverside, CA=20
92507<BR>909.683.5024&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;=20
Fax: 909.683.5025<BR></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

--Boundary_(ID_8T0lKF2fu1hVBDnrHaFvtA)--

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Window Perfomance Tuning, Jim Horalek (JimH AT FederalEdge DOT com) <=