Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29943

Clangd worker thread number limit does not work

    XMLWordPrintable

Details

    • Linux/X11
    • f4916b312 (13.0), 3b80da711 (master)

    Description

      Setting the limit of the number of clangd worker threads does not seem to have effect. In my settings, I have this limit set to 4 and still while editing C++ source code I can often see 100% CPU utilization on all 8 cores/16 threads by clangd processes.

      I've attached a screenshot of htop during one of these high CPU utilization spikes. In this screenshot, htop is configured to display userland threads separately, so you can see the number of active threads is definitely much more than 4.

      This is a regression in QtCreator 12. With QtCreator 11.0.3 CPU load during code editing is considerably lower.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            lastique Andrey Semashev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes