On Wednesday 07 October 2020 01:03:07 pm deloptes via tde-users wrote:
Michael via tde-users wrote:
Not horribly important, but whenever KMail checks
mail is ‘freezes’ for a
bit and interrupts typing/mouse clicks (just for KMail, rest of system
runs fine).
Would it be hard to make KMail multi-threaded? I’m assuming that’d ‘fix’
the freezes…
Again, not at all critical, but if it’s easy, I’ll get off my butt and
put in a feature request.
Explain what you are exactly doing so that someone can reproduce it. I
think it is multithreaded already and the mail checking is done via
background job (if I am not totally wrong it is run in another thread) that
has nothing to do with the GUI. But I am not exactly an expert in the
internals of KMail.
Ah, sure!
- Start KMail
- Setup ~50 filters.
- Setup mail checking every ~15 minutes [1]
- When KMail checks mail the whole program is 'frozen' until it finishes
checking for mail. [2]
- You can use any other program on the machine with no ill effects.
[1] I average slightly over 50 downloaded messages per 15 minute check.
[2] e.g. If you're in the middle of typing a mail, you can no longer type
anything into KMail. If you try to click on some other folder, nothing
happens. If you drag some other program’s window over KMail, the KMail GUI
gets whitened/blanked out until the mail check stops.
This is on my work machine (info below), so it’s not a 10 year old laptop,
which was why I was thinking it was a multi-thread issue?
Best,
Michael
michael@local [~/.trinity/share/apps/kmail]# du -sh mail
2.6G mail
Computer Info {inxi junk snipped for brevity}:
System:
Host: <filter> Kernel: 4.19.0-11-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/vmlinuz-4.19.0-11-amd64
root=UUID=<filter> ro
Desktop:
Trinity R14.0.8 tk: Qt 3.5.0 info: kicker wm: Twin 3.0 dm: LightDM 1.26.0
Distro: MX-19.2_x64 patito feo May 31 2020 base: Debian GNU/Linux 10 (buster)
Machine:
Type: Desktop Mobo: ASRock model: X470 Taichi serial: <filter>
UEFI: American Megatrends v: P1.50 date: 07/03/2018
CPU:
Topology: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Micro-Star MSI driver:
nvidia
v: 418.152.00 bus ID: 2e:00.0 chip ID: 10de:1c03
Display: x11 server: X.Org 1.20.4 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa alternate: nv resolution:
1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1060 6GB/PCIe/SSE2 v: 4.6.0 NVIDIA 418.152.00
direct render: Yes
Drives:
Local Storage: total: 11.83 TiB used: 5.04 TiB (42.6%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB
Info:
Processes: 412 Uptime: 9d 1h 41m Memory: 62.90 GiB used: 7.99 GiB (12.7%)
Init: SysVinit v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8
Shell: quick-system-in running in: quick-system-in inxi: 3.0.36