Agenda
1
Server Choices
NetBackup Tuning
OS Tuning
Premier
Advanced
Access
Top of queue rapid
reactive response
Remote
Product
Specialist
A Customized
comprehensive mission
critical service solution
delivered by a dedicated
support team
Direct access to a
named technical guru
Dedicated
Residency
Services
Dedicated onsite technical
expert
Managed
Enterprise Vault
End to end management
of Enterprise Vault
3
technology and data
Master
Media
Clients
Number of Clients
Amount of data being backed up
Number of tape drives
Amount of disk in DSUs
Number of Media Servers being managed
Number of jobs per day
Rule of Thumb:
Multiple Physical CPUs and Cores
Match RAM to Cores (2GB per Core)
Rule of Thumb:
Multiple Physical CPUs and Cores is still good
More RAM for tuning buffers
PCIe slots are critical for I/O
Fast LAN and/or HBAs are critical
NetBackup Performance Tuning: Lessons From The Field
FT Media Server
SAN Client
Media Server
10GbE Link
What works for you may not work for someone else
The bottom line?
It is all about making use of the available bandwidth
What if You Dont Tune Correctly?
Performance can actually be reduced from NBU defaults
Performance issues where the speeds do not match the expectations
Incorrect hardware purchases to solve problems
10
Tuning NetBackup
Out of the box, NBU is partially tuned, but it needs more
No exact recommendation. Testing is needed for high
performance
Think of Data as a Pool of Water and Buffers as Buckets
11
12
NUMBER_DATA_BUFFERS
NetBackup will have more buffers to fill so
while one is dumping it can be filling others.
Very important when using MPX and MultiStreaming. Tune the Size first, then work on
the Number
13
Unix
grep/awk/sed are very nice tools
Windows
Get Textpad to handle larger log files and parse them
Find command is similar to grep
14
15
SIZE_DATA_BUFFERS_DISK
Avg. VM
Throughput
(MB/Sec)
DEFAULT
DEFAULT
24.167
386.7
128
262144
24.034
384.5
256
262144
24.378
390.28
256
524288
28.150
450.41
512
1048576
28.60
457.54
1024
524288
28.31
453.02
1024
1048576
27.47
439.56
Total VM
Throughput
(MB/Sec)
17
18
19
20
21
22
23
This is more common in 7.5 because Sybase is now serving the DBM_DATA.db,
JOBD_DATA.db and SEARCH_DATA.db databases in addition to EMM_DATA.db and
NBDB.db databases in previous versions
Several large customers have experienced this since going to 7.5
Connections will retry and this typically doesnt cause a hard error but results in
slowness
NetBackup Performance Tuning: Lessons From The Field
24
To prevent this transaction log growth a m option can be added at the end of
server.conf after the ud option on the last line. This automatically truncates and
commits the tlogs when a checkpoint is done many times a day.
This setting is automatic with new 7.5 installations but may not get set during
upgrades to 7.5 or in 7.1 or below.
The m setting is described in
http://www.symantec.com/docs/HOWTO67149
It can also be set via the Sybase admin CLI using this tech note
http://www.symantec.com/docs/HOWTO33588
25
Tuning emm.conf
UNIX: /usr/openv/var/global/emm.conf is the configuration file used by nbemm the
Enterprise Media Manager.
Windows: <install_path>\NetBackup\var\global
With the default settings in emm.conf (or with the file not present) even a number
of admins opening the Device Manager in the GUI or running commands can exceed
the number of connections. The default for DB browse connections is only 3 and DB
connections is 4!
For large environments the following settings are recommended as a minimum
NUM_DB_BROWSE_CONNECTIONS=20
NUM_DB_CONNECTIONS=21
NUM_ORB_THREADS=31
This makes it important that the the emm db in /usr/openv/db/data is on really fast
disk and often times it is advisable to have it on separate disk from the image catalog
and any logging.
Tech note on how these settings and nbrb settings can affect jobs getting resources
and going active
http://www.symantec.com/docs/TECH57277
NetBackup Performance Tuning: Lessons From The Field
26
27
28
Solaris 10 Part 1
Disable tcp_fusion: in /etc/system add set do:tcp_fusion=0
Decrease tcp_time_wait_interval to 20,000 in a Sol10 project or /etc/init.d by adding
a startup file
Get the current value using ndd -get /dev/tcp tcp_time_wait_interval, however
this will not show values set in a project file
Increase the number of file descriptors to 8192 at least, for 7.5 65536 is
recommended. Use ulimit a to determine the current limit. This can be raised on a
per project basis or using /etc/system
projadd -U NetBackup -K process.max-file-descriptor=(priv,65536,deny)
user.nbu
Increase the amount of shared memory available for NBU, especially on media
servers using set shmsys:shminfo_shmmax=one half of system memory (or higher if
NBU is the only application)
http://www.symantec.com/docs/TECH63229
29
Solaris 10 Part 2
Kernel Tuning
Old /etc/system Tunable
Tuning
msgsys:msginfo_msgmnb
process.max-msg-qbytes
65536
msgsys:msginfo_msgmni
project.max-msg-ids
16384
msgsys:msginfo_msgtql
process.max-msg-messages
semsys:seminfo_semmni
project.max-sem-ids
8192
semsys:seminfo_semmsl
process.max-sem-nsems
semsys:seminfo_semopm
process.max-sem-ops
shmsys:shminfo_shmmax
project.max-shm-memory
half RAM
shmsys:shminfo_shmmni
project.max-shm-ids
8192
30
Linux
Increase the number of file descriptors to at least 8192 and again 65536 is
recommended with 7.5. Use ulimit a to determine the current limit. This can
be raised in /etc/security/limits.conf
* hard nofile 65536 (can be tuned to unlimited as well)
* soft nofile 65536
Increase the amount of shared memory available for NBU, especially on
media servers by editing /etc/sysctl.conf and adding or modifying
kernel.shmmax= half or more of physical ram
These minimums are also required for other kernel parameters, often
customers with busy master/media servers end up with higher values
http://www.symantec.com/docs/TECH28934
Message
Queues
Semaphores
msgmax=65536
semmsl = 300
msgmnb=65536
semmns = 1024
Msgmni=16384
semopm = 32
semmni = 1024
31
32
Intel
Microsoft
Red Hat
Violin
33
Thank you!
David Smiley
david_smiley@symantec.com
703-869-3183
SYMANTEC PROPRIETARY/CONFIDENTIAL INTERNAL USE ONLY
Copyright 2013 Symantec Corporation. All rights reserved.
34