Veritas-bu

[Veritas-bu] bptm logs

2003-12-17 15:07:36
Subject: [Veritas-bu] bptm logs
From: gdrew AT deathstar DOT org (George Drew)
Date: Wed, 17 Dec 2003 15:07:36 -0500 (EST)
For HP/UX, use:

ndd -get /dev/tcp tcp_recv_hiwater_def
ndd -get /dev/tcp tcp_xmit_hiwater_def

to figure out what the hiwater is currently set to. On my machine:

# ndd -get /dev/tcp tcp_recv_hiwater_def
65536
# ndd -get /dev/tcp tcp_xmit_hiwater_def
65536
# grep io_set_recvbuf log.121703
13:52:43.454 [2304] <2> io_set_recvbuf: setting receive network buffer to 65536 
bytes
13:52:43.454 [2304] <2> io_set_recvbuf: receive network buffer is 65536 bytes

I then set those parameters down to 32768:

# ndd -set /dev/tcp tcp_xmit_hiwater_def 32768
# ndd -set /dev/tcp tcp_recv_hiwater_def 32768

Run another backup, and check the bptm log again:

# grep io_set_recvbuf log.121703
13:52:43.454 [2304] <2> io_set_recvbuf: setting receive network buffer to 65536 
bytes
13:52:43.454 [2304] <2> io_set_recvbuf: receive network buffer is 65536 bytes
13:59:05.146 [2509] <2> io_set_recvbuf: setting receive network buffer to 65536 
bytes
13:59:05.146 [2509] <2> io_set_recvbuf: receive network buffer is 65535 bytes

It appears as if HP/UX is limiting the max recv buffer size that can be set 
using setsockopt. I'd recommend checking with HP
before modifying these too much.

There's a web site out there (can't remember off the top of my head) that has 
an excellent description of HP/UX
networking, so google may also help.

George

On Wed, 17 Dec 2003, Lewick, Taylor wrote:

> No didn't take the class, but now I know I shouldn't, since the
> instructor was clueless... (joking, maybe)
>
> Someone (Chris Costa) responded and said that both the
> /usr/openv/netbackup/NET_BUFFER_SZ and the
> /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS should be set and
> should match one another.  As I understand it, these are for two
> different buffers, one is for reading data from the client, and one is
> for writing to the tape. (makes sense) Ideally they should be set equal,
> and in an LTO/Unix setting I have read a good value to use is 256K, or
> 262144.  I did set this, but in the bptm log I am still getting the
> following,
>
> io_set_recvbuf: setting receive network buffer to 262144 bytes   (great)
> io_set_recvbuf: receive network buffer is 65535 bytes     (why, what
> gives)
>
> So again, it looks as if NetBackup acknowledges they should be set to
> the 262144 value, but is setting it back to the default.  Is there any
> other file/parameter I need to change, or a kernel parameter that I need
> to modify?
>
> Thanks,
> Taylor
>
> _______________________________________________
> 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>