• If you are using Veritas NetBackup on Solaris 9 with LTO Ultrium-2 tape drives, you will be constantly annoyed by slow tape write performance unless you use blocks of at least 256KB.

    To resolve this, the first thing you’ll want to do is increase both the number of buffers and the buffer size on the media manager host:

    Create and edit the file: /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS and add 262144 on the first line.
    Create and edit the file: /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS and add 16 on the first line.

    These numbers with their respective quotes should be the only thing in these two files.

    Next, since Solaris still has insanely low limits on its default shared memory subsystem, we have to increase these limits as to not exhaust them with the increased NetBackup Buffer sizes. We do this by editing the /etc/system file and adding the following lines.

    set msgsys:msginfo_msgmni=1024
    set msgsys:msginfo_msgtql=1024
    set semsys:seminfo_semmni=2048
    set semsys:seminfo_semmns=2048
    set semsys:seminfo_semopm=128
    set shmsys:shminfo_shmmax=33554432
    set shmsys:shminfo_shmmni=512

    It is now necessary to reboot the system for the kernel parameters to become active.

    You should now notice a dramatic increase in tape write speed during your backups.

    This entry was posted on Tuesday, July 19th, 2005 at 8:09 am and is filed under Data and Technology. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 5 Comments

    Take a look at some of the responses we've had to this article.

    1. Actually these paramaters should be added without quotes.

    2. Nov 20th
      Reply

      That is correct… I added the quotes because I thought it would be made more clear, but upon re-reading it, I realize that it could cause confusion… I will remove the quotes around the numbers from the original post. Thanks for the catch.

    3. Nov 20th
      Reply

      I think I meant to write “without the quotes”, but made an error. Thanks again for the catch.

    4. Ron Gill
      Nov 22nd
      Reply

      I am having slow backup speeds using netbackup6 with solaris 10 and lto3 drives. Will this work in my scenario. I am currently getting 10000KB/SEC all FC connections.

    5. Greg
      Oct 28th
      Reply

      This looks like it could resolve a slowness complaint we have having for years from our backup admin.

      One question… The system file on our Solaris 9 media server looks lik this (See below) do I remove what is currently in the file and add the lines you mention in this blog or just update the relevant paramaters and leave the other lines?

      * Message queues
      set msgsys:msginfo_msgmap=500
      set msgsys:msginfo_msgmax=8192
      set msgsys:msginfo_msgmnb=65536
      set msgsys:msginfo_msgmni=256
      set msgsys:msginfo_msgssz=32
      set msgsys:msginfo_msgtql=500
      set msgsys:msginfo_msgseg=8192

      * Semaphores
      set semsys:seminfo_semmap=64
      set semsys:seminfo_semmni=1024
      set semsys:seminfo_semmns=1024
      set semsys:seminfo_semmnu=1024
      set semsys:seminfo_semmsl=300
      set semsys:seminfo_semopm=32
      set semsys:seminfo_semume=64

      * Shared memory
      set shmsys:shminfo_shmmax=16777216
      set shmsys:shminfo_shmmin=1
      set shmsys:shminfo_shmmni=230
      set shmsys:shminfo_shmseg=100

  • Leave a Reply

    Let us know what you thought.

  • Name (required):

    Email (required):

    Website:

    Message:

Visitors have tagged this post: t (138) - netbackup solaris (130) - netbackup slow (89) - solaris netbackup (58) - number_data_buffers (53) - size_data_buffers (53) - netbackup BUFFERS (43) - netbackup performance (41) - netbackup for solaris (36) - netbackup NUMBER_DATA_BUFFERS (35) - netbackup lto (34) - netbackup block size (32) - lto2 block size (31) - netbackup (30) - netbackup lto3 (29) - netbackup SIZE_DATA_BUFFERS (28) - netbackup howto (27) - SIZE_DATA_BUFFERS Lto3 (26) - +SIZE_DATA_BUFFERS +LTO (25) - netbackup tape block size (23) - netbackup buffer (23) - netbackup /etc/system (22) - netbackup slow performance (20) - netbackup buffer size (20) - netbackup on solaris (20) - netbackup lto2 (20) - SIZE_DATA_BUFFERS LTO2 (19) - netbackup Solaris performance (19) - netbackup in solaris (18) - netbackup lto4 (18) - lto2 speed (17) - lto3 netbackup (17) - veritas netbackup slow (15) - LTO3 SIZE_DATA_BUFFERS (15) - slow netbackup (14) - Number_data_buffers lto3 (14) - Veritas Netbackup Solaris (14) - veritas netbackup howto (14) - size_data_buffers LTO4 (14) - f (14) - all (13) - NUMBER_DATA_BUFFERS lto (13) - SIZE_DATA_BUFFERS netbackup (13) - NUMBER_DATA_BUFFERS netbackup (12) - lto2 write speed (12) - netbackup lto performance (12) - LTO2 SIZE_DATA_BUFFERS (12) - netbackup speed (12) - lto2 performance (11) - lto blocksize (11) - Netbackup shared memory (11) - block size netbackup (10) - lto2 buffer size (10) - solaris tape block size (10) - /usr/openv/netbackup/db/config/size_data_buffers. (10) - NetBackup buffer settings (9) - LTO "buffer size" (9) - SIZE_DATA_BUFFERS solaris (9) - netbackup slow speed (9) - LTO Solaris (9) - netBackup BlockSize (9) - solaris (8) - shminfo_shmmax solaris 9 (8) - LTO2 blocksize (8) - "netbackup" "solaris 9" (8) - shmsys:shminfo_shmmax netbackup (8) - shminfo_shmmax + netbackup (8) - netbackup & "kernel parameters" (8) - lto3 "solaris 9" (8) - lto3 buffer size (8) - netbackup buffer solaris (7) - "NUMBER_DATA_BUFFERS" "LTO2" (7) - LTO SIZE_DATA_BUFFERS (7) - netbackup solaris x86 (7) - LTO-2 block size (7) - tape block size + netbackup (7) - /etc/system + netbackup (7) - solaris LTO2 (7) - NetBackup LTO slow (7) - SIZE_DATA_BUFFERS LTO-3 (7) - +solaris +netbackup +performance (7) - netbackup shmsys:shminfo_shmmax (7) - veritas NUMBER_DATA_BUFFERS (7) - veritas netbackup lto3 (7) - LTO3 solaris (7) - netbackup+solaris (7) - net buffer size netbackup (7) - solaris LTO (7) - LTO3 NUMBER_DATA_BUFFERS (7) - netbackup solaris slow (6) - netbackup lto drive (6) - LTO netbackup (6) - LTO2 Solaris (6) - Netbackup LTO 3 (6) - lto3 netbackup performance (6) - Howto Veritas Netbackup (6) - "netbackup 6" size_data_buffers (6) - netbackup performance lto3 (6) - netbackup solaris block size (6) - netbackup lto4 performance (6) - solaris tape performance (6) - netbackup net buffer size (5) - netbackup solaris shared memory (5) - netbackup lto-2 (5) - buffer size netbackup (5) - lto2 netbackup (5) - Buffers Netbackup (5) - solaris 9 LTO3 driver (5) - netbackup solaris buffer (5) - /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS (5) - netbackup for solaris 9 (5) - solaris lto3 (5) - solaris 9 add tape drive (5) - LTO-2 size_data_buffers (5) - Netbackup SIZE_DATA_BUFFERS LTO3 (5) - netbackup shminfo_shmmax (5) - mss (5) - netbackup solaris kernel parameters (5) - netbackup is slow (5) - tape performance solaris (5) - lto4 size_data_buffers (5) - lto4 buffer size (5) - netbackup net buffer (4) - netbackup lto2 size_data_buffers (4) - NUMBER_DATA_BUFFERS solaris (4) - netbackup NUMBER_DATA_BUFFERS solaris (4) - LTO2 tape block size (4) - netbackup solaris etc/system (4) - SIZE_DATA_BUFFERS NUMBER_DATA_BUFFERS (4) - NUMBER_DATA_BUFFERS /etc/system (4) - VERITAS netbackup LTO (4) - solaris 9 lto2 (4) - netbackup shared memory solaris (4) - netbackup size_data_buffers LTO (4) - lto3 solaris performance (4) - lto "block size" (4) - solaris and netbackup (4) - netbackup lto3 speed (4) - size_data_buffers lto2 solaris (4) - solaris netbackup slow (4) - Netbackup lto3 performance (4) - solaris 9 netbackup (4) - lto3 performance solaris (4) - lto2 solaris 9 (4) - slow netbackup performance (4) - lto3 netbackup SIZE_DATA_BUFFERS (4) - netbackup 6 /etc/system (4) - netbackup lto3 "NUMBER_DATA_BUFFERS" (4) - SIZE_DATA_BUFFERS netbackup solaris (4) - netbackup LTO3 block size (4) -