Re: [RFC PATCH 1/2] pipe: introduce busy wait for pipe

2018-09-05 Thread Steven Sistare
On 9/4/2018 8:50 PM, Subhra Mazumdar wrote: > On 08/31/2018 09:09 AM, Steven Sistare wrote: >> On 8/30/2018 4:24 PM, subhra mazumdar wrote: >>> Introduce pipe_ll_usec field for pipes that indicates the amount of micro >>> seconds a thread should spin if pipe is empty or full before sleeping. This >

Re: [RFC PATCH 1/2] pipe: introduce busy wait for pipe

2018-09-04 Thread Subhra Mazumdar
On 08/31/2018 09:09 AM, Steven Sistare wrote: On 8/30/2018 4:24 PM, subhra mazumdar wrote: Introduce pipe_ll_usec field for pipes that indicates the amount of micro seconds a thread should spin if pipe is empty or full before sleeping. This is similar to network sockets. Workloads like hackbe

Re: [RFC PATCH 1/2] pipe: introduce busy wait for pipe

2018-08-31 Thread Steven Sistare
On 8/30/2018 4:24 PM, subhra mazumdar wrote: > Introduce pipe_ll_usec field for pipes that indicates the amount of micro > seconds a thread should spin if pipe is empty or full before sleeping. This > is similar to network sockets. Workloads like hackbench in pipe mode > benefits significantly from

[RFC PATCH 1/2] pipe: introduce busy wait for pipe

2018-08-30 Thread subhra mazumdar
Introduce pipe_ll_usec field for pipes that indicates the amount of micro seconds a thread should spin if pipe is empty or full before sleeping. This is similar to network sockets. Workloads like hackbench in pipe mode benefits significantly from this by avoiding the sleep and wakeup overhead. Othe