Skip to content
Snippets Groups Projects
  • Peter Hurley's avatar
    e052c6d1
    tty: Use unbound workqueue for all input workers · e052c6d1
    Peter Hurley authored
    
    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: default avatarPeter Hurley <peter@hurleysoftware.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    e052c6d1
    History
    tty: Use unbound workqueue for all input workers
    Peter Hurley authored
    
    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: default avatarPeter Hurley <peter@hurleysoftware.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>