Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
196 views
in Technique[技术] by (71.8m points)

How to estimate 7z compression+encryption speed

I have an application where we need to store about 1GB/s of data, consisting of video and text. To handle this amount we buffer the files into a RAMdisk until they reach 4 GB and then start to write them to one of the connected drives. Thanks to this we can write in parallel and achieve the required throughput.

However to save some space and for security reasons, we'd like to compress&encrypt the data while on the RAM before writing to disk. We thought of using 7z for the job.

Now the GUI of 7z already estimates the amount of RAM it's going to need for the process, but it doesn't really predict how long it's going to take and gives little information as to how different parameters like dictionary size influence the compression rates/speeds.

Is there a formula I can use to estimate speed and compression rates for the different parameters? Testing all possible combinations might take too long.

question from:https://stackoverflow.com/questions/65898841/how-to-estimate-7z-compressionencryption-speed

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...