Re: [PATCH 7/8] xprtrdma: Split the completion queue

Sagi Grimberg
2014-04-17T19:11:56Z

On 4/17/2014 5:34 PM, Steve Wise wrote:

<SNIP>
> You could use a small array combined with a loop and a budget count. So the code would
> grab, say, 4 at a time, and keep looping polling up to 4 until the CQ is empty or the
> desired budget is reached...

Bingo... couldn't agree more.

Poll Arrays are a nice optimization, but large arrays will just burden
the stack (and might even make things worse in high workloads...)

Sagi.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in