EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Open PGP decrypt performance problem

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#11172
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?
#11175
Posted: 09/29/2009 06:08:46
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Possible reason of slow decompression/decryption could be slow disk i/o (writing 1.2Gb of data).
#11185
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.
#11189
Posted: 09/29/2009 08:46:26
by Eugene Mayevski (EldoS Corp.)

Moved to HelpDesk.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 1289 times

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




|

Back to top

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

Got it!