From owner-freebsd-current@FreeBSD.ORG Thu Jun 7 19:09:34 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46A5016A468 for ; Thu, 7 Jun 2007 19:09:34 +0000 (UTC) (envelope-from astrodog@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id AB17513C44C for ; Thu, 7 Jun 2007 19:09:33 +0000 (UTC) (envelope-from astrodog@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so855923uge for ; Thu, 07 Jun 2007 12:09:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=XvegoVglVIQxMSvbKM2TMnTlaCwLxuU9Kjn4Ur6ArWCcsZUJboSMQPMqIAk3tilNivSD7hJhCs/7OyQ/wgWrrTSN7+cFKCUZ3Uz00SE0UUiv95b868pNuToKcNuyx1thrNt5yrCn10pDKNjp2wDz7KE7S73I+uqhX+9kMLzM/JE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=j5hezYaDVhVUN31Zgg599RIBKQTvmJU/pRT6esPWMRcZyzCTPyaBqR99dtjSKScj/8zjsCNqhTica21MosRonYSnlGXEouFt+cmSppBtSI+6sHpxC+PEKT+fIfyEKdeQUawpQHETgxbuluyv293LwxfxfeCEQhdXs3OEAwSxceQ= Received: by 10.67.48.6 with SMTP id a6mr2174184ugk.1181241775759; Thu, 07 Jun 2007 11:42:55 -0700 (PDT) Received: by 10.67.10.15 with HTTP; Thu, 7 Jun 2007 11:42:55 -0700 (PDT) Message-ID: <2fd864e0706071142u127b275ahda831db2751a810f@mail.gmail.com> Date: Thu, 7 Jun 2007 13:42:55 -0500 From: Astrodog To: "Chuck Swiger" In-Reply-To: MIME-Version: 1.0 References: <499c70c0706070210v39f7016hbd80e9780902e992@mail.gmail.com> <20070607093027.GA4784@heff.fud.org.nz> <499c70c0706070236x28d781e6yb8ba4c8ccd251372@mail.gmail.com> <29EFA5CA-6232-45AA-A10D-0A45BB3E2100@mac.com> <499c70c0706071118l6410dc5dqce32b86fd919de3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, Abdullah Ibn Hamad Al-Marri Subject: Re: Why not remove polling(4) from 7.0? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 19:09:34 -0000 On 6/7/07, Chuck Swiger wrote: > > On Jun 7, 2007, at 11:18 AM, Abdullah Ibn Hamad Al-Marri wrote: > [ ... ] > > So it's recommended to use polling if I run pf and deals with DDoS? > > polling tends to handle a DDoS attack well compared with the default > interrupt-driven approach. Whether you are using pf or some other > firewall doesn't make any particular difference. > > -- > -Chuck > As an aside, in the rare cases where the extra system load is worth it, polling combined with a high value for HZ can also be a good way to insure consistent low latency, even under heavy load.