Technocrat's Weblog

Sat, 02 Sep 2006

Tuning VXA-3 Performance in Linux

Abstract:

Tuning GNU Tar's buffer option can greatly improve tape write performance for VXA-3 and perhaps other tape drives.


Problem

Backups to tape can be so slow that they exceed their nightly time window.

Hypothesis

Using Tar's buffer size option the data stream from Tar to the tape drive could be optimized. This would increase speed.

Procedure

  1. Create a 256 MB file using:
    dd if=/dev/zero of=tartest bs=10k count=26200
  2. Copy time the Tar process as it writes the test file to tape.
    time tar -b x -cf /dev/st0 tartest
    Where x is the buffer size.

Observations

Figure 1: Tar speed test with VXA-320 tape drive
Performance timing data

A buffer beyond 1024 offered no performance gain.

Conclusions

Tuning the buffer size can offer significant performance gains in backup times. Try this with your own tape drives.

About this document ...

Tuning VXA-3 Performance in Linux

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.71)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -html_version 4.0 -no_subdir -no_navigation -split 0 vxa-3-performance-tuning.tex

The translation was initiated by Neil Watson on 2006-09-01


Neil Watson 2006-09-01