[Akonadi] [Bug 469279] New: Running akonadi servers easily doubles or triples VRAM usage

Kai Krakow bugzilla_noreply at kde.org
Tue May 2 18:43:04 BST 2023


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

            Bug ID: 469279
           Summary: Running akonadi servers easily doubles or triples VRAM
                    usage
    Classification: Frameworks and Libraries
           Product: Akonadi
           Version: 5.23.0
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: kai at kaishome.de
                CC: carl at carlschwan.eu
  Target Milestone: ---

SUMMARY

After a long time, I wanted to give Akonadi a new chance and installed it.
After some time I noticed much worse gaming performance related to VRAM
pressure. I've monitored nvidia-smi to see that my idle desktop now uses 3.8 GB
of VRAM, with a lot of akonadi resource processes allocating 4 MB each from the
driver directly but also the Xorg process was ballooned up to 2.7 GB of VRAM
usage even after a fresh reboot.

Usually, after reboot, Xorg would use around 800 MB of VRAM with some
background processes having 4 MB allocated each, result in around 1.2 GB of
VRAM usage for a freshly booted desktop, and up to 2.5 GB after some time of
use (that's still a lot but a different concern).


STEPS TO REPRODUCE
1. Install akonadi
2. Reboot
3. Observe nvidia-smi output after fresh boot and after some time of use

OBSERVED RESULT

Over 3 GB of VRAM usage after a fresh boot, increasing to almost 5 GB after
some time of use.

EXPECTED RESULT

Stay below 2.5 GB of VRAM with some web browser windows open and Steam running.

SOFTWARE/OS VERSIONS

Operating System: Gentoo Linux 2.13
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.1.26-gentoo (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700K
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2
Manufacturer: ASRock
Product Name: Z690 Pro RS

# equery l nvidia-drivers
 * Searching for nvidia-drivers ...
[IP-] [  ] x11-drivers/nvidia-drivers-525.116.03:0/525

ADDITIONAL INFORMATION

Dual-monitor setup with "force full composition pipeline" enabled in
nvidia-settings.

nvidia-smi without akonadi running:

Tue May  2 19:33:30 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.116.03   Driver Version: 525.116.03   CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
|  0%   48C    P5    46W / 370W |   2494MiB / 12288MiB |     30%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1625      G   /usr/libexec/Xorg                1734MiB |
|    0   N/A  N/A      2328      G   /usr/bin/kwin_x11                 149MiB |
|    0   N/A  N/A      2329      G   /usr/bin/ksmserver                  4MiB |
|    0   N/A  N/A      2331      G   /usr/bin/kded5                      4MiB |
|    0   N/A  N/A      2509      G   /usr/bin/plasmashell              180MiB |
|    0   N/A  N/A      2570      G   ...de-authentication-agent-1        4MiB |
|    0   N/A  N/A      2573      G   ...ec/xdg-desktop-portal-kde        4MiB |
|    0   N/A  N/A      2680      G   /usr/bin/python3.10                 4MiB |
|    0   N/A  N/A      2684      G   ...lib64/libexec/kdeconnectd        4MiB |
|    0   N/A  N/A      2685      G   /usr/bin/kleopatra                  4MiB |
|    0   N/A  N/A      2686      G   /usr/bin/keepassxc                  4MiB |
|    0   N/A  N/A      2698      G   /usr/bin/kaccess                    4MiB |
|    0   N/A  N/A      2702      G   .../libexec/DiscoverNotifier        4MiB |
|    0   N/A  N/A      3942      G   ...aw,WebRTCPipeWireCapturer       88MiB |
|    0   N/A  N/A      3945      G   /usr/bin/kwalletd5                  4MiB |
|    0   N/A  N/A      4159      G   ...b64/libexec/kf5/klauncher        4MiB |
|    0   N/A  N/A      4301      G   ...-browser-integration-host        4MiB |
|    0   N/A  N/A      6838      G   ...veSuggestionsOnlyOnDemand      108MiB |
|    0   N/A  N/A      7318      G   /usr/bin/krunner                   13MiB |
|    0   N/A  N/A      7386      G   ...lib64/libexec/baloorunner        4MiB |
|    0   N/A  N/A      7744      G   /usr/bin/konsole                    4MiB |
|    0   N/A  N/A   1094333      G   ...e/Steam/ubuntu12_32/steam        8MiB |
|    0   N/A  N/A   1094620      G   ...buntu12_64/steamwebhelper       43MiB |
+-----------------------------------------------------------------------------+

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list