Assistance with >~95% CPU usage when calling pread64 when using LUKS

abraunegg alex.braunegg at gmail.com
Sun Mar 10 19:59:40 UTC 2019


Hi all,

I was wondering if I could seek some guidance on tracking an 
issue down.

As the current maintainer of the Linux OneDrive client 
(https://github.com/abraunegg) I have two open issues which are 
both high CPU, on Ubuntu, where both file systems reside on a 
LUKS encrypted volume.

* https://github.com/abraunegg/onedrive/issues/394
* https://github.com/abraunegg/onedrive/issues/404

Essentially, from the strace, it appears that the application is 
spending nearly all of it's time calling pread64.

Currently I am also not able to replicate this issue locally.

Is there any sort of extra debugging that I could do to 
understand what else is going on, or can you suggest any code 
changes which may improve the reading of files?

Any suggestions are greatly appreciated.


More information about the Digitalmars-d mailing list