On 3/28/18 8:20 AM, Bart Van Assche wrote: > On Wed, 2018-03-28 at 11:48 +0100, Sitsofe Wheeler wrote: >> I'll note that Jens suggested we could use build time configuration in >> https://github.com/axboe/fio/issues/527#issuecomment-363804643 . With >> runtime lookup it becomes tricky to test the legacy paths on new >> systems because you can no longer force them to be taken (I don't have >> access to a Windows before 2012 R2 myself). > > Let's follow what Jens proposed. But I do not agree that my proposal would > make it tricky to test the legacy paths. One possible approach would be to > add a command-line option that forces the legacy paths to be taken. I think I've done one overhaul of the cpu mask mechanism, to make it more cross platform friendly. And that was many years ago. So I don't expect a lot of churn in this area, which should mean that the legacy code can remain mostly untouched going forward. If, at some later point in time that changes, then I'm fine with ditching the old Windows processor group code if we have no way of verifying whether it still works or not. Hence I think that Sitsofe's approach is fine - default to the code that works well on newer Windows and supports > 32 CPUs. That's a basic system these days, and what most people would run on. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html