• P
    tty: Use unbound workqueue for all input workers · e052c6d1
    Peter Hurley 提交于
    The commonly accepted wisdom that scheduling work on the same cpu
    that handled interrupt i/o benefits from cache-locality is only
    true if the cpu is idle (since bound kworkers are often the highest
    vruntime and thus the lowest priority).
    
    Measurements of scheduling via the unbound queue show lowered
    worst-case latency responses of up to 5x over bound workqueue, without
    increase in average latency or throughput.
    
    pty i/o test measurements show >3x (!) reduced total running time; tests
    previously taking ~8s now complete in <2.5s.
    Signed-off-by: NPeter Hurley <peter@hurleysoftware.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    e052c6d1
tty_buffer.c 15.5 KB