Odroid HC2 missing CPU usage statistics

    • OMV 4.x
    • Odroid HC2 missing CPU usage statistics

      Hi all,
      I have latest OMV4 with Odroid HC2. Everything is fine with it except that I haven't any CPU usage statistics in my Performance statistics.
      I disabled and enabled the Monitoring in the System menu but same result.

      Here is an image about the my problem




      Do you have an idea why isn't?

      Thanks for your help!
    • nzoli wrote:

      Here is an image about the my problem

      It's the other way around. As soon as you enable monitoring and still run off SD card you have a problem. Enabled monitoring results in constant writing of small data chunks to the rootfs with an ugly high Write Amplification. Your SD card will wear out pretty fast.
    • Dropkick Murphy wrote:

      Thought the flashplugin was made for exactly that
      The flashmemory plugin takes care about some directories with high write activity. Simply to check using 'df':

      Source Code

      1. root@raspberrypi:~# df -h | grep folder2ram
      2. folder2ram 489M 2.7M 486M 1% /var/log
      3. folder2ram 489M 0 489M 0% /var/tmp
      4. folder2ram 489M 296K 489M 1% /var/lib/openmediavault/rrd
      5. folder2ram 489M 24K 489M 1% /var/spool
      6. folder2ram 489M 10M 479M 3% /var/lib/rrdcached
      7. folder2ram 489M 8.0K 489M 1% /var/lib/monit
      8. folder2ram 489M 4.0K 489M 1% /var/lib/php
      9. folder2ram 489M 4.0K 489M 1% /var/lib/netatalk/CNID
      10. folder2ram 489M 0 489M 0% /var/cache/samba
      This is on one of the supported ARM boards monitoring the block device layer. I started at around 10:40, then enabled monitoring at 10:50:58 and stopped it at 10:53:29:

      Source Code

      1. root@raspberrypi:~# armbianmonitor -d mmcblk0
      2. Mon Jul 30 10:50:13 UTC 2018 1/12 pages written after 30 sec
      3. Mon Jul 30 10:50:39 UTC 2018 5/40 pages written after 26 sec
      4. Mon Jul 30 10:50:58 UTC 2018 9/36 pages written after 19 sec
      5. Mon Jul 30 10:51:00 UTC 2018 2/8 pages written after 2 sec
      6. Mon Jul 30 10:51:01 UTC 2018 1/4 pages written after 1 sec
      7. Mon Jul 30 10:51:04 UTC 2018 2/184 pages written after 3 sec
      8. Mon Jul 30 10:51:09 UTC 2018 12/76 pages written after 5 sec
      9. Mon Jul 30 10:51:10 UTC 2018 5/16 pages written after 1 sec
      10. Mon Jul 30 10:51:16 UTC 2018 1/4 pages written after 6 sec
      11. Mon Jul 30 10:51:30 UTC 2018 2/49448 pages written after 14 sec
      12. Mon Jul 30 10:51:31 UTC 2018 14/0 pages written after 1 sec
      13. Mon Jul 30 10:51:32 UTC 2018 10/0 pages written after 1 sec
      14. Mon Jul 30 10:51:33 UTC 2018 11/0 pages written after 1 sec
      15. Mon Jul 30 10:51:34 UTC 2018 21/4 pages written after 1 sec
      16. Mon Jul 30 10:51:35 UTC 2018 12/0 pages written after 1 sec
      17. Mon Jul 30 10:51:36 UTC 2018 20/0 pages written after 1 sec
      18. Mon Jul 30 10:51:37 UTC 2018 9/0 pages written after 1 sec
      19. Mon Jul 30 10:51:49 UTC 2018 1/68 pages written after 12 sec
      20. Mon Jul 30 10:52:05 UTC 2018 4/49448 pages written after 16 sec
      21. Mon Jul 30 10:52:06 UTC 2018 21/0 pages written after 1 sec
      22. Mon Jul 30 10:52:07 UTC 2018 20/0 pages written after 1 sec
      23. Mon Jul 30 10:52:08 UTC 2018 19/0 pages written after 1 sec
      24. Mon Jul 30 10:52:09 UTC 2018 6/0 pages written after 1 sec
      25. Mon Jul 30 10:52:10 UTC 2018 12/0 pages written after 1 sec
      26. Mon Jul 30 10:52:11 UTC 2018 9/0 pages written after 1 sec
      27. Mon Jul 30 10:52:12 UTC 2018 7/0 pages written after 1 sec
      28. Mon Jul 30 10:53:20 UTC 2018 5/40 pages written after 68 sec
      29. Mon Jul 30 10:53:29 UTC 2018 1/24 pages written after 9 sec
      30. Mon Jul 30 10:53:30 UTC 2018 10/44 pages written after 1 sec
      31. Mon Jul 30 10:53:31 UTC 2018 2/8 pages written after 1 sec
      32. Mon Jul 30 10:53:36 UTC 2018 7/28 pages written after 5 sec
      33. Mon Jul 30 10:58:45 UTC 2018 2/332 pages written after 309 sec
      34. Mon Jul 30 10:58:50 UTC 2018 12/324 pages written after 5 sec
      35. Mon Jul 30 10:58:51 UTC 2018 17/0 pages written after 1 sec
      36. Mon Jul 30 10:58:52 UTC 2018 11/0 pages written after 1 sec
      37. Mon Jul 30 10:58:53 UTC 2018 10/0 pages written after 1 sec
      38. Mon Jul 30 10:58:54 UTC 2018 5/0 pages written after 1 sec
      Display All
      Now it's 8 minutes later and only some concentrated write activity after few minutes while with enabled monitoring constant writes happened:


      Source Code

      1. root@raspberrypi:~# date
      2. Mon Jul 30 11:01:42 UTC 2018
      (I added this code to armbianmonitor a while ago to monitor exactly that --> write activity below the filesystem layer to get a clue how writes at the flash layer might look like)
    • tkaiser wrote:

      nzoli wrote:

      Here is an image about the my problem
      It's the other way around. As soon as you enable monitoring and still run off SD card you have a problem. Enabled monitoring results in constant writing of small data chunks to the rootfs with an ugly high Write Amplification. Your SD card will wear out pretty fast.
      Thanks for your answer!
      So in your opinion I should rather turn off my Monitoring to keep a longer life time of my SD card?