Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. CPU hogs are not ordered in graph. Hoping they can be sorted in next release.

CPU hogs are not ordered in graph. Hoping they can be sorted in next release.

Scheduled Pinned Locked Moved Support
cpugraphs
4 Posts 2 Posters 598 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d19dotcaD Online
      d19dotcaD Online
      d19dotca
      wrote on last edited by girish
      #1

      Hello! 🙂 Hope everyone is well. I realized with the new graphs in 7.3 that the CPU hogs aren’t showing quite right. I’d expect them to be sorted by overall at top then by descending order. However I notice that’s not often the case. Screenshot included.

      B8BC4AD0-FE2B-411A-975D-C8375F5DC540.jpeg

      In my example above, the one ending in centre.com is 43.6% but it’s below the one that’s only 1.78%.

      Slightly related, I noticed it has text beneath it showing that only apps using 20% or more CPU will be shown; but that also isn’t my experience so far as you can tell in the screenshot where there are ones showing with 0 usage still showing.

      This seems a bit buggy to me so far, not sure if that’s fixed already in the next update to 7.3.x but hoping this can be addressed soon as I rely on these graphs from time to time and am finding it a bit hard to trust them (especially the disk stuff I had another post on but that was thankfully already addressed in the next update I read which is fantastic).

      Thank you! 🙂

      --
      Dustin Dauncey
      www.d19.ca

      1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        Currently the strategy is to show apps which use above 20% cpu as peak within the selected time-frame. So if an app has around 0% for most of the time with one peak above 20% then it will be included and shown for the entire selected duration, to not leave holes in the graph.

        For the sorting, I am not sure what is expected. Should the apps be sorted by peak or average cpu usage there?

        d19dotcaD 1 Reply Last reply
        0
        • nebulonN nebulon

          Currently the strategy is to show apps which use above 20% cpu as peak within the selected time-frame. So if an app has around 0% for most of the time with one peak above 20% then it will be included and shown for the entire selected duration, to not leave holes in the graph.

          For the sorting, I am not sure what is expected. Should the apps be sorted by peak or average cpu usage there?

          d19dotcaD Online
          d19dotcaD Online
          d19dotca
          wrote on last edited by
          #3

          @nebulon For the sorting, I’m thinking it should be ordered by whatever is highest as shown in the graph. For example when I look at the screenshot the second highest blue line was for the larger CPU usage app but yet it’s third in the list there rather than second. Just seems strange and unexpected.

          I think most users would naturally expect those to be sorted highest to lowest generally speaking although if it’s to simply stay consistent across the entire graph (for dragging the mouse over it) then I guess that may be more difficult to implement and thats understandable in that it may not be worth the effort to have it auto sort at any given time point.

          --
          Dustin Dauncey
          www.d19.ca

          nebulonN 1 Reply Last reply
          0
          • d19dotcaD d19dotca

            @nebulon For the sorting, I’m thinking it should be ordered by whatever is highest as shown in the graph. For example when I look at the screenshot the second highest blue line was for the larger CPU usage app but yet it’s third in the list there rather than second. Just seems strange and unexpected.

            I think most users would naturally expect those to be sorted highest to lowest generally speaking although if it’s to simply stay consistent across the entire graph (for dragging the mouse over it) then I guess that may be more difficult to implement and thats understandable in that it may not be worth the effort to have it auto sort at any given time point.

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            @d19dotca to be honest, I think can be quite debatable, for example say three apps shape a rough sine curve across the time period, there would not be an easy visual winner. But what is also important here, currently we use what the graph library gives us and reworking this for little value is currently not worth while 🙂

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search