Files
android_kernel_xiaomi_sm8450/include/linux/sunrpc
Trond Myklebust edc1b01cd3 SUNRPC: Move TCP receive data path into a workqueue context
Stream protocols such as TCP can often build up a backlog of data to be
read due to ordering. Combine this with the fact that some workloads such
as NFS read()-intensive workloads need to receive a lot of data per RPC
call, and it turns out that receiving the data from inside a softirq
context can cause starvation.

The following patch moves the TCP data receive into a workqueue context.
We still end up calling tcp_read_sock(), but we do so from a process
context, meaning that softirqs are enabled for most of the time.

With this patch, I see a doubling of read bandwidth when running a
multi-threaded iozone workload between a virtual client and server setup.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2015-10-08 08:27:04 -04:00
..
2015-06-02 13:30:35 -04:00
2013-07-01 17:23:06 -04:00
2015-01-30 10:47:48 -05:00
2013-07-01 17:23:06 -04:00
2014-05-30 17:32:01 -04:00
2015-06-10 18:37:26 -04:00