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

Details

    • Bug
    • Status: Done
    • Critical
    • Resolution: Fixed
    • 2.10.0
    • 2.10.1
    • MongoDB_Exporter
    • None
    • To create this with aws-staging just use the following parameters:

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

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

        Activity

          People

            carlos.salguero Carlos Salguero (Inactive)
            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