New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
avoid_pwm_pll=1 changes mmc clock #726
Comments
The sdhost interface, which is what Pis now use to drive the SD card, doesn't use the MMC clock (I wish it did) - instead it has to make do with the system clock. What you have observed doesn't sound like a bug - it just suggests that your core frequency is 250MHz. What other settings do you have, and why do you think you should be able to hit 100MHz? |
So |
The sdhost clock is the same as the core clock - try measuring the core clock instead:
The sdhost interface can only run at integer divisions of the core clock, so the requested speed is only a target (and never exceeded). |
In both cases Running sd benchmarks seems to correlate. Read speeds are about 20% slower when adding |
I don't see the same effect. Using a Pi3 with this config.txt:
I get:
Note that running with force_turbo=1 is not recommended, particularly without a heat sink, but in this case it is required in order to keep the core running at 500MHz (core_freq only sets the turbo frequency, and the Pi will only go into turbo mode when under load). It's probably worth checking that your core isn't being throttled, either for voltage or thermal reasons. Finally, the "actual clock" displayed in the mmc0 metrics is the maximum of the turbo/non-turbo values - it is not updated when the Pi switches into and out of turbo so may not reflect reality, but your throughput measurements will not lie. |
Huh, I can't seem to replicate it any more. User error maybe, not sure. force_turbo was always on so I don't know what it was. Although: I could close this otherwise. |
600MHz is very high - many Pi's won't be able to achieve stability at that frequency. These are the active config.txt settings I used:
And the results:
|
And for the record, |
FYI the setting was removed here: Hexxeh/rpi-firmware@260bc9c |
Specifically, dtparam=sd_overclock=100 with avoid_pwm_pll=1 changes the real mmc clock to 83.3.
The text was updated successfully, but these errors were encountered: