Sunday, April 24, 2016

Is unencrypted really faster in real-world usage?

So I have 2 5x's side-by-side running MHC19Q. Exact same software loaded, exact same system settings.

One has encrypted userdata. The other has decrypted userdata. Both have dm-verity (integrity checking for /system and /vendor) disabled.

I compare start up times and they are the same.

Then I compare taking 3 HDR+ camera shots and the speed is the same and the processing of HDR completes at the same time.

I start browsers on both and they come back the same time.

I also compared start up times with stock encrypted with dm-verity enabled to decrypted with dm-verity disabled. Decrypted with dm-verity disabled might be 1 or 2 seconds faster for start up, but you get a 7 second delay with the Orange bootloader warning screen.

I tried starting Riptide GP2, Cut The Rope, and a offline GPS program I use. The games started maybe .25 seconds faster on the unencrypted phone. The GPS started the same.

I was surprised at how little difference, so I rebooted to make sure nothing was cached, and retried. Same startup time results.

So I'm wondering what else to test to show off how fast decrypted userdata is? If there is a noticeable benefit on something I use often I'd probably end up keeping the userdata unencrypted.

I'm not interested in artificial benchmarks showing throughput.

For the record, I haven't experienced any lagginess on any of the configurations, encrypted or not, for my own usage patterns, even on the original MDA89E.

The camera is definitely faster to start up on MHC19Q but only by about .5 second over the one in MDA89E.

Standby battery time is the same whether encrypted or not. That is really dominated by whether you have wifi turned on all time (either on purpose or through android bug) or going to sleep and whether you have strong or weak cell signal.


from xda-developers http://ift.tt/1XQRKi8
via IFTTT

No comments:

Post a Comment