Skip to content

Commit

Permalink
arc: 1msec tick gives more stable scheduling
Browse files Browse the repository at this point in the history
I notice that many of the other boards here use 1msec for the tick.
I notice also that when switching to unified kernel, scheduling based
on time has a lot more jitter with a 5msec tick.

I think a better default is 1000 ticks per second for em_starterkit.

Change-Id: Icc93345762dbea7d71ca9f4735bcf73f75cde273
Signed-off-by: Chuck Jordan <[email protected]>
  • Loading branch information
cjordan44 authored and Anas Nashif committed Dec 3, 2016
1 parent 3cabbfd commit 314d94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/arc/em_starterkit/em_starterkit_defconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CONFIG_ARC=y
CONFIG_SOC_EM9D=y
CONFIG_BOARD_EM_STARTERKIT=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=200
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_XIP=n
CONFIG_NANO_TIMERS=y
CONFIG_PRINTK=y
Expand Down

0 comments on commit 314d94e

Please sign in to comment.