11-10-2011 03:31 PM
1) What good is a high NET_BUFFER_SZ (262144) when tcp_recv_hiwat and tcp_xmit_hiwat are set to low values (49152 or 48 Kb). Solaris kernal has the default at 49152. Symantec in the following tech note states NET_BUFFER_SZ is no good unless those 2 values are also set to a higher value.
http://www.symantec.com/business/support/index?page=content&id=TECH28339
(FYI I have SIZE_DATA_BUFF = 131072 and NUMBER_DATA_BUFF=128 and tcp_time_wait_interval=1000)
I dont have an issue changing them on my Master n Media servers, but the catch is that Symantec recommends the NET_BUFFER_SZ to be the same on Media and Client servers to improve the performance. Most of my client servers are Oracle DB or Apps servers and OS is perf tuned for those apps. The DB Admin are not sure if increasing tcp_recv_hiwat and tcp_xmit_hiwat also increase the memory utilization. (RMAN itself puts them on the edge given the load it takes along with the nightly batch jobs)
I need an expert opinion about setting tcp_recv/xmit_hiwat to be the same as NET_BUFFER_SZ although i am trying this out on 6 clients to see the perf change.
2) Symantec in its performance tuning guide 6.5 page 98, says default SIZE_DATA_BUFF for tape is 64 Kb and advises to change it based on the tape drive specs. We have HP LTO-4 and LTO-5 whose spec's state that BUFFER SIZE is 64 MB and 256 MB (not KB). To what extent can we increase these values?
11-10-2011 04:39 PM
11-10-2011 04:50 PM
11-11-2011 12:15 AM
I use 256 or higer for NUMBER_DATA_BUFFERS and NUMBER_DATA_BUFFERS_RESTORE. SIZE_DATA_BUFFERS is set to 262144 (256K). This values work really good for a Linux box.
See: http://www.mass.dk/netbackup/guides/49-netbackup-buffer-tuning.html
11-11-2011 07:23 AM
I may have maxed out on the values. When i increased my number data buffers beyond 128 (to 256), i started gettng System failure errors (i think they were status 13 and 50). So i cut down on those values.
I am still not clear about the impact of increasing the tcp_recv_hiwat and tcp_xmit_hiwat values on other applications. Assuming that i set these buffers at 262144 along with NET_BUFFER_SZ, does that mean that 256 KB of buffer is allocated for every TCP connection that is made to/from that server? Assuming that /dev/tcp tcp_conn_req_max_q is set to 256, the worst case memory allocation for TCP Buffers would be 256*256 KB ??
Am i reading this right?
11-12-2011 04:58 PM
11-12-2011 05:21 PM
11-13-2011 10:39 AM
Thanks Omar,
We do have Gig-e network on most servers. I have increased incresead the tcp_tx and rx values on a few client systems. I will have to monitor their impact both at the backup level and Application level (Oracle DB/Web).