commit | fa80feae51331fb170e784459fa1359d7ec3a963 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sun Dec 09 20:29:00 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Dec 09 20:29:00 2012 +0100 |
tree | aa23a345eb99081d44b1afb92bf60c7d4d6eec10 | |
parent | 5a90bb5f50f641a65f879ae09dbd65440e0ab2a6 [diff] |
Add check for invariant TSC on x86 and use TSC is default clock if reliable TSC is by far the fastest clock we can use. Check the CPUID bits for whether it is both constant rate AND synced across cores. If it is, we can use it as our default clock source. Fio will default to this clock source on x86 if no other clock source is specifically given with clocksource= in the job file. Signed-off-by: Jens Axboe <axboe@kernel.dk>