Oracle HSM: Remote Disk Archiving (sam-rftd) Poor Perfomance (Doc ID 2016286.1)

Last updated on APRIL 19, 2017

Applies to:

Oracle Hierarchical Storage Manager (HSM) and StorageTek QFS Software - Version 5.3 and later
Information in this document applies to any platform.

Symptoms

Customer reports poor performance when writing to a remote disk archive over a WAN.

The /var/opt/SUNWsamfs/trace/sam-archiverd trace file showed that the sam-rftd data_len writes were only 1 MB, even when the 'blksize' was set to a higher value in the /etc/opt/SUNWsamfs/rft.cmd file.


# grep "sam-arcopy\[43722" sam-archiverd | head -30
2015-04-10 09:53:24 sam-archiverd[62007:1]: Started sam-arcopy[43722] archive_set_all.3.1841.0
2015-04-10 09:53:24 sam-arcopy[43722:1]: Start: archive_set_all.3.1841.0
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft connect host 'hostname'
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft [8] connect complete
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft [8] flags 0 af 2
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft [8] open file /remote_disk_archive/diskvols.seqnum 2 0
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft Block size configuration= 16777216
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft TCP window size configuration= 16777216
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft init data connection 10
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft Setting TCP window size= 16777216
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft set throughput option level 0
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft Get TCP window (RCVBUF) size= 16779308
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft Get TCP window (SNDBUF) size= 16777216
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft [8] open file /remote_disk_archive/diskvols.seqnum 2 0
2015-04-10 09:53:24 sam-arcopy[43722:1]: RFT [11] reading socket for 4 bytes (0xffbff594)
2015-04-10 09:53:24 sam-arcopy[43722:1]: RFT [11] read complete 4 bytes
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft read socket 11 for 56 bytes [0xffbff6a8]
2015-04-10 09:53:24 sam-arcopy[43722:1]: RFT [11] reading socket for 56 bytes (0xffbff6a8)
2015-04-10 09:53:24 sam-arcopy[43722:1]: RFT [11] read complete 56 bytes
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft write socket 11 for 56 bytes [0xffbff6a8]
2015-04-10 09:53:24 sam-arcopy[43722:1]: Samrft [8] open file /remote_disk_archive/d255/f59 9473 ffbff76c
2015-04-10 09:53:24 sam-arcopy[43722:1]: cirbuf create - data_len 1048576, blk_len 16777216, blk_count 5, lock_buf 0
2015-04-10 09:53:24 sam-arcopy[43722:1]: cirbuf create cb_count 5, cb_buf_len 83886080, buffer block_length 16777216
2015-04-10 09:53:24 sam-arcopy[43722:1]: blockSize 1048576, writeCount 16777216, readCount 2, blockCount 5
2015-04-10 09:53:24 sam-arcopy[43722:4]: Samrft write socket 11 for 1048576 bytes [0x107b8a8]
2015-04-10 09:53:25 sam-arcopy[43722:4]: Samrft write socket 11 for 1048576 bytes [0x207b8a8]
2015-04-10 09:53:25 sam-arcopy[43722:4]: Samrft write socket 11 for 1048576 bytes [0x307b8a8]
2015-04-10 09:53:26 sam-arcopy[43722:4]: Samrft write socket 11 for 1048576 bytes [0x407b8a8]

Changes

Attempted making changes to rft.cmd file, modifying the tcpwindow and the blksize values.

Ran the command  "samcmd trace sam-archiverd.options all queue"  as requested by Engineering, for additional archiver tracing.  This can be added to the /etc/opt/SUNWsamfs/defaults.conf file, to make it persistent.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms