Skip to content

Slower than expected with DietPi #7092

Answered by MichaIng
Just2Confuse asked this question in Q&A
Discussion options

You must be logged in to vote

Since firmware and kernel are the same, there is two possible reasons/differences:

  1. APM (Advanced Power Management) value set via hdparm: Most SSDs do not support APM at all, but we had one case, where it was supported, and where the default of 127 lead to slower disk I/O. 127 is the highest possible value which still allows idle spin down of spinning disks, hence we set it. Does this not report an error, and have an effect on your benchmark?
    hdparm -B 254 /dev/sda
    # or even (disabling APM compeletely)
    hdparm -B 255 /dev/sda
  2. The CPU governor, where DietPi uses schedutil by default, while RPi OS, AFIAK, still ondemand. schedutil is the more modern governor, meant as successor, which is mo…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Just2Confuse
Comment options

@Just2Confuse
Comment options

@MichaIng
Comment options

Answer selected by Just2Confuse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment