Skip to content

Techempower benchmark spends 9% of time in System.nanoTime()? #30437

Answered by jfrantzius
jfrantzius asked this question in Q&A
Discussion options

You must be logged in to vote

For the records, updating the BIOS wasn't enough, I also had to set the Kernel boot parameter processor.max_cstate=1.

Now that TSC is available as clocksource, System.nanoTime() doesn't show up anymore in profiling.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jfrantzius
Comment options

@franz1981
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jfrantzius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants