Instead of hard coding this, should this be a function of some performance indicator? Like `5e6 / os.cpus()[0].speed` or something.