netdev
[Top] [All Lists]

Re: route cache DoS testing and softirqs

To: dipankar@xxxxxxxxxx
Subject: Re: route cache DoS testing and softirqs
From: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
Date: Tue, 6 Apr 2004 14:55:19 +0200
Cc: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, Andrea Arcangeli <andrea@xxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, kuznet@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, paulmck@xxxxxxxxxx, akpm@xxxxxxxx
In-reply-to: <20040405212220.GH4003@xxxxxxxxxx>
References: <200403302005.AAA00466@xxxxxxxxxxxxxxx> <20040330211450.GI3808@xxxxxxxxxxxxxxxxx> <20040330133000.098761e2.davem@xxxxxxxxxx> <20040330213742.GL3808@xxxxxxxxxxxxxxxxx> <20040331171023.GA4543@xxxxxxxxxx> <16491.4593.718724.277551@xxxxxxxxxxxx> <20040331203750.GB4543@xxxxxxxxxx> <20040331212817.GQ2143@xxxxxxxxxxxxxxxxx> <20040331214342.GD4543@xxxxxxxxxx> <16497.37720.607342.193544@xxxxxxxxxxxx> <20040405212220.GH4003@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Dipankar Sarma writes:

 > Looks better atleast. Can you apply the following patch (rs-throttle-rcu)
 > on top of rcu-softirq.patch in your tree and see if helps a little bit more ?
 > Please make sure to set the kernel paramenters rcupdate.maxbatch to 4
 > and rcupdate.plugticks to 0. You can make sure of those parameters
 > by looking at dmesg (rcu prints them out during boot). I just merged
 > it, but have not tested this patch yet.

OK!

Well not tested yet but I don't think we will get rid overflow totally in my 
setup. I've done a little experimental patch so *all* softirq's are run via 
ksoftirqd. 
 
 total    droppped tsquz    throttl  bh_enbl  ksoftird irqexit  other  
009bee0c 00000000 00004aa7 00000000 00000000 0336a637 00000078 00000000
0054d381 00000000 00004ca0 00000000 00000000 032f8e48 00000000 00000000

I still see dst overflows. But the priority of the ksoftird's can now control 
the user apps behavior even during softirq DoS.

Attachment: softirq_limit-040405.pat
Description: Binary data


Cheers.
                                        --ro
<Prev in Thread] Current Thread [Next in Thread>