Bug 459944 - Choppy performance when resizing window when ~/.config/yakuakerc is on slow media
Summary: Choppy performance when resizing window when ~/.config/yakuakerc is on slow m...
Status: REPORTED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: 22.08.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-03 17:04 UTC by André Kugland
Modified: 2022-10-03 17:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Kugland 2022-10-03 17:04:44 UTC
SUMMARY
Choppy performance when resizing window when ~/.config/yakuakerc is on a slow media (such as rotational), due to repeated calls to syscall fdatasync. (When under very slow media, like an old USB drive, the performance is unbearable.)

STEPS TO REPRODUCE
1. Run yakuake with ~/.config/yakuakerc on rotational medium or other slow medium.
2. Resize the window vertically.

OBSERVED RESULT
While resizing the window vertically, Yakuake process calls fdatasync multiple times, forcing a physical write to the rotational media, making the resizing very choppy.

EXPECTED RESULT
At least it should sync only once, using some kind of debouncing. But ideally not sync at all, since the height of the window is not such an important piece of configuration.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.12-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 2 × Intel® Core™ i7-5500U CPU @ 2.40GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500
Manufacturer: Acer
Product Name: Aspire E5-573G
System Version: V3.72

ADDITIONAL INFORMATION