EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Open PGP decrypt performance problem

Posted: 09/29/2009 04:30:05
by Allister Green (Standard support level)
Joined: 10/10/2008
Posts: 6

When processing a file that will have a large compression ratio the decryption routine takes a large amount of time to complete.

For example I have a 1.2GB database file that is for the moment largely empty. Processing it through OpenPGP with compression enabled results in a 6MB output file and takes around 7 minutes to complete.

When processing this through the decrypt routine it takes 60 minutes to create the output file.

When using files that compress to say 60% of their original size the encrypt and decrypt routines take similar amounts of time.

I performed the testing using the PGPFiles Demo Application.

Why is this happening?
Posted: 09/29/2009 06:08:46
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 442

Possible reason of slow decompression/decryption could be slow disk i/o (writing 1.2Gb of data).
Posted: 09/29/2009 08:29:22
by Allister Green (Standard support level)
Joined: 10/10/2008
Posts: 6

This is definitely not a disk I/O issue.

If I process a file of the same size that has a lower compression ratio the decryption takes the same amount of time as the encryption.

I can supply you with a sample file to demonstrate this behaviour.
Posted: 09/29/2009 08:46:26
by Eugene Mayevski (Team)

Moved to HelpDesk.

Sincerely yours
Eugene Mayevski



Topic viewed 1424 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!