Are there any other steps I can take to improve the performance of the
archive-restore?
Using HPUX 11.23 and IDS 11.50.FC3.
_______________________________________________
Informix-list mailing list
Inform...@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list
What I already used to improve performance over archive/restore to
configure HDR/RSS and I get great improve over total execution time (30
minutes to 7 minutes), is using the pigz utility, where it will
parallelize your CPU , force more I/O throughput (ontape reading) and
will optimize your network transfer.
- It isn't an Informix utility
- I don't know if is easy to compile it for HP-UX (I used it only with
Linux)
- Will help only if you have multicore machine and great I/O throughput.
Regards
Cesar
ontape -s -d -v -L 0 -t STDIO | pgiz -1c | \
ssh informix@otherserver ". myenvs.sh ; pigz -cd | ontape -p -t STDIO"
Along the same lines, but maybe easier:
I tried using STDIO and piping the output across the network to an "ontape -p" process on the other server, but found that our old way of doing the transfer was still much faster overall. That process involved breaking the archive into smaller disk files (for historical reasons, we were using 2GB for TAPESIZE). As each piece was completed, it was sent off to a background script to be compressed and then sent via 'scp' over to the other server. Thus, as the archive progresses, there can be several compressed pieces being sent over the network in parallel. Also, having the archive write directly to disk files meant that the archive itself was not being slowed down by waiting for network throughput. Now, of course, YMMV, depending on server horsepower (the compresses use a lot of CPU), I/O capacity and throughput, and mainly network bandwidth. But, for us, it really paid off to parallelize the file transfers over the network.
HTH,
Paul Mosser
I don't know the answer to this, so it's a genuine question: might not the
outbound block size have at least as much impact on the network performance
as the stripe size for restore ...?