Skip to content
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

Tickless operation on linux #60

Closed
vext01 opened this issue Oct 16, 2015 · 5 comments
Closed

Tickless operation on linux #60

vext01 opened this issue Oct 16, 2015 · 5 comments

Comments

@vext01
Copy link
Member

vext01 commented Oct 16, 2015

As raised by ltratt, we may need to use tickless mode on linux:
http://lwn.net/Articles/549580/

Our debian 8 systems currently run idle tickless mode:

vext01@bencher3:~$ cat /boot/config-`uname -r` | grep HZ
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set <--------------------- this would need to be on!
# CONFIG_NO_HZ is not set
CONFIG_RCU_FAST_NO_HZ=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
CONFIG_MACHZ_WDT=m

To fix this, we would need to build a custom kernel. Another impractical step unfortunately.

Opening bug for discussion. @ltratt @snim2 @cfbolz

@ltratt
Copy link
Member

ltratt commented Oct 16, 2015

Impractical?

@snim2
Copy link
Collaborator

snim2 commented Oct 16, 2015

A lot of these kernel tuning issues we have found are Linux only, if we make these changes in a custom kernel then presumably we need to figure out whether any other OSs we use have similar tuning parameters?

@vext01
Copy link
Member Author

vext01 commented Oct 16, 2015

Impractical in the sense that, it's yet another thing thrown in the mix to complicate benchmark setup. Maybe impractical is the wrong word.

@Snim, yes. Although I don't expect to find controls for all of these things in every OS. As usual, it will be a "best effort" kind of affair.

@ltratt
Copy link
Member

ltratt commented Oct 16, 2015

There is, I'm fairly sure, no equivalent in OpenBSD for example.

@vext01
Copy link
Member Author

vext01 commented Oct 28, 2015

For a start, I'm going to just add a check that the kernel was compiled with full tickless support.

Automating this would be part of #56.

@vext01 vext01 self-assigned this Oct 28, 2015
@vext01 vext01 mentioned this issue Oct 29, 2015
@snim2 snim2 closed this as completed in #80 Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants