Veritas-bu

[Veritas-bu] RedHat/Linux NetBackup Media Server ".h" tape driver Performance Tunning

2004-08-04 18:27:50
Subject: [Veritas-bu] RedHat/Linux NetBackup Media Server ".h" tape driver Performance Tunning
From: jking AT hnl.bcm.tmc DOT edu (Justin King)
Date: Wed, 4 Aug 2004 17:27:50 -0500
This is a multi-part message in MIME format.

------_=_NextPart_001_01C47A72.46F0C773
Content-Type: text/plain;
        charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Yes, I have done this-along with modifying the SIZE/NUMBER_DATA_BUFFERS
files.  Increased my performance over FC from a single stream at approx:
6MB/s to 4 concurrent streams of around 15MB/s.  I suspect most of the
performance increases were due to the NBU data files, but based on very
rudimentary testing, I saw about a 8-12% gain in performance by
recompiling the 'st' module.

FYI: I'm running a Dell PV136T-FC (LTO1 Drives).

  _____ =20

From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Scott
Jacobson
Sent: Wednesday, August 04, 2004 1:58 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] RedHat/Linux NetBackup Media Server ".h" tape
driver Performance Tunning

=20

RedHat/Linux Guru's

=20

Has anyone modified their system(s) on a media server as described below
and seen improved backup performance results?

=20

Improving Performance:

The st tape driver has internal buffers that have a default size of 32K.
Performance may be enhanced if they are set to match the default block
size used by bptm. The default block size for bptm is 64K. Edit the
st_options.h file as shown below:

You also may need to change the following entry to have a smaller value
depending on
the available system memory:

#define ST_MAX_BUFFERS 4

Follow the Red Hat guidelines for incorporating these source changes
into your system.

Original Value New Value
#define ST_BUFFER_BLOCKS 32 #define ST_BUFFER_BLOCKS 64

=20

Thanks,

Scott


------_=_NextPart_001_01C47A72.46F0C773
Content-Type: text/html;
        charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<![if mso 9]>
<style>
p.MsoNormal
        {margin-left:3.0pt;}
</style>
<![endif]>
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'margin-left:3.0pt;margin-top:
3.0pt;margin-right:3.0pt;margin-bottom:.75pt'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Yes, I have done this&#8212;along =
with
modifying the SIZE/NUMBER_DATA_BUFFERS files.&nbsp; Increased my =
performance over FC
from a single stream at approx: 6MB/s to 4 concurrent streams of around =
15MB/s.&nbsp;
I suspect most of the performance increases were due to the NBU data =
files, but
based on very rudimentary testing, I saw about a 8-12% gain in =
performance by
recompiling the &#8216;st&#8217; module.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>FYI: I&#8217;m running a Dell =
PV136T-FC (LTO1
Drives).</span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter =
style=3D'margin:0in;margin-bottom:.0001pt;
text-align:center'><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><b><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <b><span =
style=3D'font-weight:
bold'>On Behalf Of </span></b>Scott Jacobson<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, August =
04, 2004
1:58 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
veritas-bu AT mailman.eng.auburn DOT edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Veritas-bu] =
RedHat/Linux
NetBackup Media Server &quot;.h&quot; tape driver Performance =
Tunning</span></font></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>RedHat/Linux
Guru's</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>Has =
anyone
modified their system(s) on a media server as described below and seen =
improved
backup performance results?</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>Improving
Performance:</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>The st =
tape
driver has internal buffers that have a default size of 32K. Performance =
may be
enhanced if they are set to match the default block size used by bptm. =
The
default block size for bptm is 64K. Edit the st_options.h file as shown =
below:</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>You =
also may need
to change the following entry to have a smaller value depending on<br>
the available system memory:</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>#define
ST_MAX_BUFFERS 4</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>Follow =
the Red
Hat guidelines for incorporating these source changes into your =
system.</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>Original Value
New Value<br>
#define ST_BUFFER_BLOCKS 32 #define ST_BUFFER_BLOCKS =
64</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>Thanks,</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>Scott</span></font></p>

</div>

</div>

</body>

</html>

------_=_NextPart_001_01C47A72.46F0C773--

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