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. Feature Requests
  3. Disk IO Tracker

Disk IO Tracker

Scheduled Pinned Locked Moved Feature Requests
graphs
7 Posts 4 Posters 1.3k Views 4 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.
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by girish
    #1

    Cloudron tracks CPU usage, Memory usage, Disk space over time.

    It would be great to also add Disk IO tracking to see patterns of when IO availability is high and low and to evaluate ones hosting performance setup .

    Adding another graph that periodically tests the IO of the system at a set+randomized offset time would be an easy thing to add.

    Running something like dd or pulling those stats from an io tool would work. For ex:

     dd if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync ; rm /tmp/test1.img
    
    

    Great stuff to have when troubleshooting performance issues.

    Like Backblaze stats but for Cloudron.

    Conscious tech

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

      There is also hdparm -Tt /device... which is quite useful to evaluate disk I/O performance.

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        It seems we can get some block I/O stats per container via docker - https://docs.docker.com/config/containers/runmetrics/#metrics-from-cgroups-memory-cpu-block-io . When we started we didn't have docker stats, but we should look into moving from collectd/graphite to using docker's built-in stats probably. But it looks like we have to maintain the db stats over time, if so then it's not worth moving.

        robiR 1 Reply Last reply
        1
        • girishG girish

          It seems we can get some block I/O stats per container via docker - https://docs.docker.com/config/containers/runmetrics/#metrics-from-cgroups-memory-cpu-block-io . When we started we didn't have docker stats, but we should look into moving from collectd/graphite to using docker's built-in stats probably. But it looks like we have to maintain the db stats over time, if so then it's not worth moving.

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #4

          @girish I think these are two different things..

          One, overall system IO performance tracking

          Two, per container App IO performance tracking

          Both of these would be more efficient with a time series DB, and we don't have one on Cloudron.

          Once there is, new integrations of TS data would be quick, and I can foresee that need very soon as we get to multi-cloudron functionality.

          Conscious tech

          girishG mehdiM 2 Replies Last reply
          1
          • robiR robi

            @girish I think these are two different things..

            One, overall system IO performance tracking

            Two, per container App IO performance tracking

            Both of these would be more efficient with a time series DB, and we don't have one on Cloudron.

            Once there is, new integrations of TS data would be quick, and I can foresee that need very soon as we get to multi-cloudron functionality.

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by girish
            #5

            @robi Cloudron already has a time series db - graphite. whisper, specifically.

            1 Reply Last reply
            0
            • robiR robi

              @girish I think these are two different things..

              One, overall system IO performance tracking

              Two, per container App IO performance tracking

              Both of these would be more efficient with a time series DB, and we don't have one on Cloudron.

              Once there is, new integrations of TS data would be quick, and I can foresee that need very soon as we get to multi-cloudron functionality.

              mehdiM Offline
              mehdiM Offline
              mehdi
              App Dev
              wrote on last edited by
              #6

              @robi said in Disk IO Tracker:

              @girish I think these are two different things..
              One, overall system IO performance tracking
              Two, per container App IO performance tracking

              I holeheartedly support the effort. Both of these could be very interesting to have.

              However, I personally would be much more interested in the second one : seeing how much IO an app is using.

              Also, for the first one, I do not know of the best-practices around it : just trying to periodically write stuff and checking the performance, as suggested, would not be great IMO, as it would 1/ be influenced by what's already running on the system 2/ wear out SSDs for little benefit

              robiR 1 Reply Last reply
              1
              • mehdiM mehdi

                @robi said in Disk IO Tracker:

                @girish I think these are two different things..
                One, overall system IO performance tracking
                Two, per container App IO performance tracking

                I holeheartedly support the effort. Both of these could be very interesting to have.

                However, I personally would be much more interested in the second one : seeing how much IO an app is using.

                Also, for the first one, I do not know of the best-practices around it : just trying to periodically write stuff and checking the performance, as suggested, would not be great IMO, as it would 1/ be influenced by what's already running on the system 2/ wear out SSDs for little benefit

                robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #7

                @mehdi said in Disk IO Tracker:

                just trying to periodically write stuff and checking the performance, as suggested, would not be great IMO, as it would 1/ be influenced by what's already running on the system 2/ wear out SSDs for little benefit

                Agreed, there are better ways, the example was more for the output or datapoints.

                Aspects of BPF tools make this light on resources, but there's a whole stack of tools down the line, including 'iolatency'.

                Conscious tech

                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