Hi Uwe, On Monday, June 6, 2016 at 12:55:28 PM UTC-4, Uwe Fechner wrote: > > I am very happy about your work. I had the hope, that the built-in method > sleep could be improved to reach this level of performance: > https://github.com/JuliaLang/julia/issues/12770 > > But perhaps it is better to have this in a separate package. > > Thank you! Yes, I'm aware of the issue you linked, and in fact I got convinced by the arguments of the Julia developers in there that this special use case may as well deserve its own package. You also mentioned tickless kernels in there, which I'm also interested in. I think one of the most promising configurations is to have a dedicated CPU core to the Julia real-time process using the isolcpus=1 kernel command line option. This is the configuration by which I got 200 us sleep with worst case latency of 40 us on a humble Intel Celeron dual core CPU as shown in the results of the 'rt_histogram.jl' example in the package. I also used the
CONFIG_NO_HZ_FULL=y Kconfig option such that the CPU core dedicated to Julia is an adaptive-ticks CPU. I'm planning on documenting more of these details in the near future. > Uwe > Best, Islam