- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- looking to improve remote replication process.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 05:33 AM
09-20-2006 05:33 AM
looking to improve remote replication process.
looking for solution to replicate 1.5GB files to a remote location...
Currently, this process looks like the following:
move 1.5GB files into a staging area.
compress files.
rsync files to remote server.
remove compressed files.
I have performed some timings, and compress seems more efficent over gzip.
Is there an efficient way to move and compress in a single step?
wondering how to improve process listed above...
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 05:36 AM
09-20-2006 05:36 AM
Re: looking to improve remote replication process.
If you have enough space on the local server then you can compress before you copy to remote server.
you can use scp which is secure copy over the network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 06:06 AM
09-20-2006 06:06 AM
Re: looking to improve remote replication process.
You could use a named pipe:
mkfifo cmp_pipe
sleep 5
nohup tar cvf - /path/to/files/* | compress -c - > cmp_pipe &
# copy to remote server...
wait
rm -f cmp_pipe
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 06:15 AM
09-20-2006 06:15 AM
Re: looking to improve remote replication process.
It may make more sense to compress at remote box...
Will post stats on copy later, but the compression stats are as follows:
# time /usr/bin/compress bigFILE
real 2:29.3
user 1:46.6
sys 23.2
# ll
-rw-r----- 1 root sys 549384653 Sep 20 10:10 bigFILE.Z
1566427136-549384653
1017042483 amt. compressed
1017042483/149 sec
6825788.47 per sec
gzip file:
# time /usr/local/bin/gzip bigFILE
real 5:02.2
user 4:21.2
sys 22.5
# ll
total 778816
-rw-r----- 1 root sys 398751664 Sep 20 10:10 bigFILE.gz
1566427136-398751664
1167675472 amt. compressed
1167675472/302 sec
3866475.07 per sec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 06:30 AM
09-20-2006 06:30 AM
Re: looking to improve remote replication process.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 06:50 AM
09-20-2006 06:50 AM
Re: looking to improve remote replication process.
stats on sending compressed file:
(your milage may vary :D )
551499.52 bytes/sec
total size is 549384653 speedup is 1.00
real 16m35.83s
user 0m10.71s
sys 0m30.54s
uncompressed file:
1566427136 100% 2.08MB/s 0:11:58 (xfer#1, to-check=0/1)
sent 42 bytes received 397960981 bytes 552340.07 bytes/sec
total size is 1566427136 speedup is 3.94
real 12m0.30s
user 0m56.81s
sys 0m28.56s
How about the best of both worlds?
rsync uncompressed file, and gzip on remote box...sounds good to me :D