Home > Data Backup Tips > Backup and recovery > Fine-tuning tape storage systems for better data backup performance
Data Backup Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

BACKUP AND RECOVERY

Fine-tuning tape storage systems for better data backup performance


Rick Cook
08.31.2009
Rating: -4.50- (out of 5)


Storage technology learning materials
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


If you're using tape as your backup medium, you're likely to need to fine-tune your system to get the best performance on backups. Here are some tips on speeding up your tape backup system.

What tape wants

Because tape, unlike disk, is a sequential medium, with blocks of information recorded or read in order, tape wants an even flow of data at the speed the tape is running. While buffers on the system, the tape drive and even in the storage area network's host bus adapters can help to even out temporary mismatches, they will fill up, (or empty, if the data stream isn't keeping up with the drives) if there is a chronic mismatch.

In the worst case, the tape drive will have to stop and back the tape up to let the rest of the system catch up. Shoeshining like this not only slows down backups, it causes increased wear on the tape and the drive.

While you can slow down your tape drive to match the speed of your system, it makes more sense to go through the system and see if and where you can speed up the data transfer.

Make sure balance of system matches your tape speed

The rest of your system needs to feed data to the tape drive at the proper speed, generally the fastest speed that the tape drive can handle.

If a mismatch only shows up occasionally you can often fix the problem by increasing the number of buffers on the server or the disk system. You can determine the optimal number of buffers by trial and error.

Check for backup bottlenecks

The backup log file is your friend. Logs can alert you to block rewrites, slowdowns, and having to run the tape in reverse to let the data catch up.

<...

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Backup and recovery
Criteria for choosing the right tape encryption solution for your data backup plan
Creating a System Recovery Disk in Windows 7: A step-by-step tutorial
Modern data backup and recovery system considerations
SQL Server data backup and recovery best practices
Secure your data backups with encryption key management best practices
Using data deduplication with backup applications: Source vs. target dedupe
Data backup for virtual machines: Alternative methods to VMware Consolidated Backup
Upgrading from LTO-3 to LTO-4 tape for data backup and recovery
Is VMware Consolidated Backup right for your enterprise?
Is cloud data backup service right for your organization?

Tape backup and tape libraries
Texas Tech turns to data deduplication for data backup, disaster recovery
Data backup and recovery news briefs: Rackspace unveils cloud-based file storage apps
Spectra Logic looks to leapfrog high-end tape storage market with T-Finity tape library
Secure your data backups with encryption key management best practices
Data backup news briefs: ProStor Systems ships InfiniVault removable disk backup appliance for SMBs
Upgrading from LTO-3 to LTO-4 tape for data backup and recovery
W. Curtis Preston: Articles and podcasts on data backup and recovery
The tape storage end game: The pros and cons of recycling backup tapes
Data backup and recovery news briefs: Tandberg Data introduces DAT tape drives and media
Community Health Centers Alliance takes control of data backup and recovery

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


p>You can get the actual speed of the backup by using the time (Linux, Sun OS, etc.) or timeit (Windows) utilities to see how long it takes the system to handle a large file. Dividing the size of the file by the time it takes to process will give you your average speed. By comparing this against the drive documentation, you can see how much of a performance hit you are taking.

One common problem is that the tape drive settings, such as block size, are not optimized for modern technology. Vendors generally set the default settings for the lowest common denominator to make sure the drive works out of the box. However, these settings are seldom optimal. If you're using a new LTO-4 drive (120 MBps uncompressed), the settings on your server, network and other components may very well not be set to match the performance of the system. These settings can be found on the respective components (i.e., the server, network cards, software). Check your drive's documentation for optimum settings and re-set as appropriate.

Set the block size properly

Because the tape is reading information in sequential blocks, and because there is a certain amount of overhead associated with reading a block -- regardless of size -- it usually pays to set the block size larger than it is set for disk drives.

Disk drives get their best performance when their block size is balanced against the nature of the data being read or written. On most systems, this is a fairly small block -- perhaps 16K. Tape is simply trying to transfer as much data as possible rather than transfer small chunks of data.

This is something that needs to be determined by trial and error. Experiment with various block sizes on a large (2 GB) data file and time the transfers to tape. You may find that your system is currently set to feed data to the tape drive in blocks as small as 1K when your best speed requires 2048K blocks. In that case, the improvement in backup times will be substantial.

Enable compression

Compression increases throughput and decreases the backup time. How much depends on the nature and mix of the files being downloaded, but generally you can expect compression of 1.5:1 to 2:1, with a corresponding speed up in backups.

Note, however, that the compression ratio is not a hard-and-fast number. It varies greatly (although it won't exceed the vendor's published number) and has to be determined by trial and error. You can examine your results and see how much compression you're getting. But keep in mind that the amount of compression isn't fixed. It can vary somewhat from backup to backup depending on the mix of files.

Use data deduplication

Data deduplication strips redundant data out of the stream before it gets to the tape drive. Since the majority of the data in the typical backup is redundant -- 90% or more according to vendors -- data deduplication can save an enormous amount of time and disk space. Note that the time savings will not be as great as the dedupe percentage. If you get 90% reduction in size of your files you won't get a 90% reduction in backup time because it takes time to examine the data and remove the redundant blocks. However, the savings on the backup window will be substantial. Deduplication can be done anywhere in the backup chain from the server to the tape.

Even if your backup doesn't fill your backup window, you may still need to pay attention to your tape drive. If the drive is shoeshining, you're wearing your tapes and your drive at a greatly accelerated rate. A little time spent checking your parameters can pay big dividends.

About this author: Rick Cook specializes in writing about issues related to data storage and data storage management.


Rate this Tip
To rate tips, you must be a member of SearchDataBackup.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Enterprise Backup Solutions - Continuous Data Protection (CDP)
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2008 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts