Re: limit number of tasks on the crypto queue

2011-05-04 Thread David Gwynne
On 04/05/2011, at 3:53 AM, Mike Belopuhov wrote: > hi, > > recently me and jsg have figured out that a traffic burst can kill > your interface (deplete the rx ring) if you're using ipsec. the > problem is that there's no limit on number of outstanding crypto > operations. every job contains a po

Re: limit number of tasks on the crypto queue

2011-05-03 Thread Mike Belopuhov
On Tue, May 3, 2011 at 9:24 PM, Claudio Jeker wrote: > On Tue, May 03, 2011 at 07:53:56PM +0200, Mike Belopuhov wrote: >> hi, >> >> recently me and jsg have figured out that a traffic burst can kill >> your interface (deplete the rx ring) if you're using ipsec. the >> problem is that there's no l

Re: limit number of tasks on the crypto queue

2011-05-03 Thread Claudio Jeker
On Tue, May 03, 2011 at 07:53:56PM +0200, Mike Belopuhov wrote: > hi, > > recently me and jsg have figured out that a traffic burst can kill > your interface (deplete the rx ring) if you're using ipsec. the > problem is that there's no limit on number of outstanding crypto > operations. every jo

limit number of tasks on the crypto queue

2011-05-03 Thread Mike Belopuhov
hi, recently me and jsg have figured out that a traffic burst can kill your interface (deplete the rx ring) if you're using ipsec. the problem is that there's no limit on number of outstanding crypto operations. every job contains a pointer to a cluster that comes from the nic driver. under hig