Hacker News new | ask | show | jobs
by yagodragon 3205 days ago
I run the demo miner on the coinhive landing page for about 1 minute and chose 1 thread (my laptop has 4 threads). I then noticed that the 100% cpu load kept rotating between the 4 threads that my cpu has. Is this a common behavior in cpu mining (because of cpu pipelining) or is this a feature that the developer implemented? How does this affect the cpu performance and general work load? Is it possible to edit the script to target 50% cpu usage on all threads? Please excuse my ignorance.
1 comments

It's common behavior of most operating systems, tasks are not kept scheduled on the same CPU (unless configured).