Veritas-bu

Re: [Veritas-bu] performance tuning - when to use buffers

2007-07-31 19:37:14
Subject: Re: [Veritas-bu] performance tuning - when to use buffers
From: Dominik Pietrzykowski <dominik_pietrzykowski AT toll.com DOT au>
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Date: Wed, 1 Aug 2007 09:21:38 +1000

Just a note that you shouldn't use the Solaris kernel settings for Sol 10
because the default value is much bigger.

Eg shmsys:shminfo_shmmax

On Solaris 10 it will default to 1/4 of physical memory which is pretty good
on all the new boxes running Sol 10.



-----Original Message-----
From: harunjo [mailto:netbackup-forum AT backupcentral DOT com] 
Sent: Tuesday, 31 July 2007 3:26 PM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Re: performance tuning - when to use buffers


In our condition the buffer setting below is the best and stable.

/usr/openv/netbackup/NET_BUFFER_SZ --> 65536 (network buffer) this is must
same at all media and client (especially if you using lan backup)

# more NUMBER_DATA_BUFFERS
32
# more SIZE_DATA_BUFFERS
262144

watch your solaris kernel tuning...below is the netbackup minimum kernel
value for solaris..

set msgsys:msginfo_msgmap=512
set msgsys:msginfo_msgmax=8192
set msgsys:msginfo_msgmnb=65536
set msgsys:msginfo_msgmni=256
set msgsys:msginfo_msgssz=16
set msgsys:msginfo_msgtql=512
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=220
set shmsys:shminfo_shmseg=100
*END NetBackup recommended minimum settings

(from netbackup performance documentation)
Recommended shared memory settings

The SIZE_DATA_BUFFERS setting is typically increased to 256 KB and
NUMBER_DATA_BUFFERS to 16. To configure NetBackup to use 16 x 256 KB
data buffers, specify 262144 (256 x 1024) in SIZE_DATA_BUFFERS and 16 in
NUMBER_DATA_BUFFERS.
Note that increasing the size and number of the data buffers will use up
more
shared memory, which is a limited system resource. The total amount of
shared
memory used for each tape drive is:
(buffer_size * num_buffers) * drives * MPX
where MPX is the multiplexing factor. For two tape drives, each with an MPX
of
4 and with 16 buffers of 256k, the total shared memory usage would be:
(16 * 262144) * 2 * 4 = 32768 K (32 MB)
If large amounts of memory are to be allocated, the kernel may require
additional tuning to allow enough shared memory to be available for
NetBackup's requirements


Always testing and testing for the best performance....to high buffer value
will make your backup image not restorable..or backup will fail usualy with
status 84.

you can using /dev/null to measure disk I/O and ftp to check the
communication between LAN

you can check your tcp time wait interval
The default value for most systems is 240000, which is 4
minutes (240 seconds) in milliseconds. If your server is slow because it
handles many connections, check the current value for TCP_TIME_WAIT_INTERVAL
and consider reducing it.
use the following command to check:
ndd -get /dev/tcp tcp_time_wait_interval

Just sharing

Harun Jonatan

+----------------------------------------------------------------------
|This was sent by harunjo AT yahoo DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

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