- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compress is slow
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
Discussions
Discussions
Forums
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
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
тАО06-11-2001 09:31 AM
тАО06-11-2001 09:31 AM
Compress is slow
The compression of files takes very long time.
I need to know why is it running very slow and how we resolve it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2001 09:53 AM
тАО06-11-2001 09:53 AM
Re: Compress is slow
How big is the dump file that you are compressing?
How long does it actually take? ("A very long time is not very helpful, sorry).
What kind of machine is this running on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2001 11:13 AM
тАО06-11-2001 11:13 AM
Re: Compress is slow
The Script runs on a N box with HP-UX 11.x.
Approx dump size is of 240 GB. This usually used take 7 hours, Now it runs for 14 hrs some time! There was no system changes in recent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2001 11:37 AM
тАО06-11-2001 11:37 AM
Re: Compress is slow
I can think of a few things that might speed up the compression of a 240GB file.
1) What command are you using to perform the compression? If you are using compress, you may wish to consider using gzip instead. Also, if you are using "gzip -9", you may wish to instead try using "gzip" without any options -- gzip -9 is noticeably slower than a straight gzip.
2) Are you doing a gzip followed by a copy? If that is the case, then you may wish to do the following:
# gzip < infile > /path/to/other/device/outfile.gz
This will spread I/O over two separate devices and also significantly reduce the amount if I/O this has to do.
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2001 02:15 PM
тАО06-11-2001 02:15 PM
Re: Compress is slow
The command being used is 'compress'without any syntex. The script compress each db file and then copy it over.
I'll try with gzip. Is there any syntex you can recommend for gzip..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2001 04:23 PM
тАО06-11-2001 04:23 PM
Re: Compress is slow
Databases are usually preallocated chunks of space and compression is not only fast but VERY effective (10:1 up to 50:1) when it is empty. Fill the database with random records and the ratio drops while the compression time goes up. gzip is a good choice as there are more options to control behavior.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2001 06:59 AM
тАО06-18-2001 06:59 AM
Re: Compress is slow
Script is still using compress command!
This script runs over on a N box with 11.x and Oracle 8.1. and DLT is the device
Any clue why reboot made hot-backup faster ..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2001 07:28 AM
тАО06-18-2001 07:28 AM
Re: Compress is slow
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2001 08:34 AM
тАО06-18-2001 08:34 AM
Re: Compress is slow
I think if you have a multi CPU box, and your job uses concurrent compression in parallel, one of your CPUs might have been blocked.
As stated before, compressing is CPU intensive. If you are doing a hot backup (database keeps running), i found gzip to eat more cpu than compress, although it mostly does a better compression than compress. So if you use gzip, I would recommend to use less processes in parallel, to keep some cpu for your application.
Since gzip has a better compression, you might benefit in terms of network load for your backup. I guess you have to try out, which one is more suitable for you.
Just my 2 ?
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2001 08:38 AM
тАО06-18-2001 08:38 AM
Re: Compress is slow
On the other hand: Why do you compress at all ? DLT Hardwarcompression should do fine, be much faster and takes CPU-load from your box.
(and 0.20 more cents :-)
Volker