https://bugs.kde.org/show_bug.cgi?id=451197

            Bug ID: 451197
           Summary: Poor performance of encrypted device when opened by
                    kded
           Product: frameworks-kded
           Version: 5.86.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: omega.player.1...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

Created attachment 147330
  --> https://bugs.kde.org/attachment.cgi?id=147330&action=edit
The pop-up asking for the password

SUMMARY
If an external device which has a luks encrypted partition is plugged in, a
pop-up asking for the password shows up. After typing the password the
partition is decrypted and the file system is mounted, but file transfers
suffer of poor performance.
I can experience the same lack of performance when opening the encrypted device
manually by doing the following:
    cryptsetup open /dev/sdXY luks-device
If I open the encrypted device with the following options, I can experience
better performance and better latency during operations:
    cryptsetup open --perf-no_write_workqueue --perf-no_read_workqueue
/dev/sdXY luks-device



STEPS TO REPRODUCE
1. Plug in a device with a luks encrypted partition;
2. Wait for the pop-up asking for the password to show up;
3. Type the password and click "OK";
4. Start any file transfer toward or from the encrypted device.

OBSERVED RESULT
Poor file transfer performance, during both read and write operations.
Same poor results can be achieved if the device is opened manually with:
    cryptsetup open /dev/sdXY luks-device

EXPECTED RESULT
The same performance I would get if I opened the device manually with:
    cryptsetup open --perf-no_write_workqueue --perf-no_read_workqueue
/dev/sdXY luks-device



SOFTWARE/OS VERSIONS
OS: Kubuntu 21.10
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATIONS
The writings on the attached picture reads as follow:
"WD Elements 2621" needs a password to access it. Please insert a password."

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to