Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-6643

New MongoDB exporter has higher CPU usage compared with old

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.10.0
    • Fix Version/s: 2.10.1
    • Component/s: MongoDB_Exporter
    • Labels:
      None
    • Environment:

      To create this with aws-staging just use the following parameters:

      --addclient=mo,1 --mongomagic --with-sharding

    • Story Points:
      1
    • Sprint:
      Platform Sprint 25
    • Needs Review:
      Yes
    • Needs QA:
      Yes

      Description

      The new MongoDB exporter clearly has a very high CPU usage as compared to the older version which we shipped with 2.9.1. 

      Attaching two images to compare, one from 2.9.1 while the other from dev-latest with new MongoDB exporter, both under the same very basic load. 

        Attachments

        1. cpu-mem-usage_half_million_load_run.png
          67 kB
          Puneet Kala
        2. cpu-mem-usage_metrics_end_point_heavy_load.png
          92 kB
          Puneet Kala
        3. cpu-mem-usage_very_basic_crud.png
          57 kB
          Puneet Kala
        4. cpu-mem-usage_very_basic_crud.png
          57 kB
          Puneet Kala
        5. image (29).png
          84 kB
          Puneet Kala
        6. image (29).png
          84 kB
          Puneet Kala
        7. image-2020-09-20-13-16-06-143.png
          225 kB
          Puneet Kala
        8. image-2020-09-21-15-28-56-661.png
          87 kB
          Puneet Kala
        9. MongoDB Exporter 2.9.1_usage.png
          219 kB
          Puneet Kala
        10. new MongoDb exporter Usage.png
          220 kB
          Puneet Kala
        11. out.prof
          22 kB
          Carlos Salguero
        12. plot3.png
          29 kB
          Carlos Salguero
        13. pprof.samples.cpu.001.pb.gz
          15 kB
          Alexey Palazhchenko
        14. pprof001.svg
          156 kB
          Carlos Salguero
        15. Screenshot from 2020-09-20 21-00-20.png
          100 kB
          Puneet Kala

          Activity

            People

            Assignee:
            carlos.salguero Carlos Salguero
            Reporter:
            puneet.kala Puneet Kala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 5 hours
                5h

                  Smart Checklist