> -Original Message-
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Wednesday, December 20, 2017 11:18 PM
> To: Chris Mi
> Cc: netdev@vger.kernel.org; gerlitz...@gmail.com
> Subject: Re: [patch iproute2] tc: add -bs option for batch mode
>
>
On 12/20/17 8:17 AM, Stephen Hemminger wrote:
> On Wed, 20 Dec 2017 09:23:34 +
> Chris Mi wrote:
>
>>> Your real performance win is just not asking for ACK for every rule.
>> No. Even if batch_size > 1, we ack every rule. The real performance win is
>> to send multiple rules in one system c
On Wed, 20 Dec 2017 09:23:34 +
Chris Mi wrote:
> > Your real performance win is just not asking for ACK for every rule.
> No. Even if batch_size > 1, we ack every rule. The real performance win is
> to send multiple rules in one system call. If we are not asking for ACK for
> every rule,
>
> -Original Message-
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Tuesday, December 19, 2017 11:23 PM
> To: Chris Mi
> Cc: netdev@vger.kernel.org; gerlitz...@gmail.com
> Subject: Re: [patch iproute2] tc: add -bs option for batch mode
>
> O
On Tue, Dec 19, 2017 at 5:15 PM, Stephen Hemminger
wrote:
> On Tue, 19 Dec 2017 15:33:46 +0900
> Chris Mi wrote:
>
>> Currently in tc batch mode, only one command is read from the batch
>> file and sent to kernel to process. With this patch, we can accumulate
>> several commands before sending to
On Tue, 19 Dec 2017 15:33:46 +0900
Chris Mi wrote:
> Currently in tc batch mode, only one command is read from the batch
> file and sent to kernel to process. With this patch, we can accumulate
> several commands before sending to kernel. The batch size is specified
> using option -bs or -batchsi
On Tue, 19 Dec 2017 15:33:46 +0900
Chris Mi wrote:
> Currently in tc batch mode, only one command is read from the batch
> file and sent to kernel to process. With this patch, we can accumulate
> several commands before sending to kernel. The batch size is specified
> using option -bs or -batchsi
Currently in tc batch mode, only one command is read from the batch
file and sent to kernel to process. With this patch, we can accumulate
several commands before sending to kernel. The batch size is specified
using option -bs or -batchsize.
To accumulate the commands in tc, we allocate an array o