1Userspace Scheduler Microbenchmark 2################################## 3 4This is a scheduler microbenchmark, designed to measure minimum 5latencies (not scaling performance) of specific low level scheduling 6primitives independent of overhead from application or API 7abstractions. Contrary to the non-userspace version, it runs threads 8in userspace with different memory domains. 9 10 It works very simply: a main thread creates n "yielders" 11threads at a higher priority, from this initial state: 12 131. The main thread starts all yielders 142. Each yielder yields k times 155. The main thread joins all yielders 16 17This is run for multiples values of n, reporting each time the 18average time taken for a yield context switch. 19