Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Investigate ChibiOS scheduler #55

Open
kylc opened this issue Apr 11, 2016 · 0 comments
Open

Investigate ChibiOS scheduler #55

kylc opened this issue Apr 11, 2016 · 0 comments
Assignees
Milestone

Comments

@kylc
Copy link
Member

kylc commented Apr 11, 2016

We may be missing out on a lot of performance in the ChibiOS scheduler because we don't really understand it. Some things to investigate:

  • Tuning CH_CFG_TIME_QUANTUM. We may be able to go to zero because we don't run threads at equal priority. More info here: http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:round_robin
  • Tune CH_FREQUENCY. Right now it is set much higher than the default, but still potentially low. It was reduced to accommodate the much slower F3.

Before doing this, we should try to monitor our CPU usage.

@kylc kylc self-assigned this Apr 11, 2016
@kylc kylc added this to the v1.0 milestone Apr 11, 2016
@yoos yoos modified the milestones: Future, v1.0 Apr 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants