Re: [REVIEW/TEST] polling(4) changes

From: Gleb Smirnoff (glebius_at_FreeBSD.org)
Date: 09/30/05

  • Next message: Andre Oppermann: "Re: [REVIEW/TEST] polling(4) changes"
    Date: Fri, 30 Sep 2005 22:23:25 +0400
    To: Pawel Jakub Dawidek <pjd@FreeBSD.org>
    
    

    On Fri, Sep 30, 2005 at 08:13:22PM +0200, Pawel Jakub Dawidek wrote:
    P> On Fri, Sep 30, 2005 at 08:03:02PM +0400, Gleb Smirnoff wrote:
    P> +> On Fri, Sep 30, 2005 at 04:40:00PM +0400, Gleb Smirnoff wrote:
    P> +> T> [please, follow-up on net@ only]
    P> +> T>
    P> +> T> Colleagues,
    P> +> T>
    P> +> T> here are some patches for review.
    P> +>
    P> +> I have some changes to patch after last compile, and haven't tested them
    P> +> befire sending patch. Here is an updated one.
    P>
    P> BTW. Not compiling in DEVICE_POLLING has any advantages except few bytes
    P> smaller kernel?
    P> I wonder if we could drop yet another kernel option and just set
    P> kern.poll.enable to 0 by default.
    P> If adding DEVICE_POLLING to the kernel doesn't cost additional locking, etc.
    P> in network data flow paths (which could lead to performance impact in some
    P> specific environments) can we just compile the code in always?

    It adds a stub function call every tick. The function returns almost
    immediately if no interfaces do polling.

    -- 
    Totus tuus, Glebius.
    GLEBIUS-RIPN GLEB-RIPE
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Andre Oppermann: "Re: [REVIEW/TEST] polling(4) changes"

    Relevant Pages

    • Re: [REVIEW/TEST] polling(4) changes
      ... P> +> I have some changes to patch after last compile, ... P> +> befire sending patch. ... P> I wonder if we could drop yet another kernel option and just set ... It adds a stub function call every tick. ...
      (freebsd-net)
    • Re: Distributions
      ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be ... and slower than if you compile those packages, ... can have that stability with virtually any distro. ...
      (Debian-User)
    • Re: Distributions
      ... Ubuntu is based on Debian, ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be larger ... and slower than if you compile those packages, ...
      (Debian-User)
    • Problems with custom kernel fbsd 6.2
      ... My kernel for freebsd 6.2 is not compiling but only with my custom config. ... I was able to compile it with the GENERIC kernel included, but my modified one will not compile. ... # Power management support ...
      (freebsd-questions)
    • Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
      ... >optimisations independently of each other', is fairly simple, (in ... >concept), and elegant, (as it lets you compile the most finely tuned ... >Up to now, selecting a CPU to compile for basically means, "Use ... it's silly to include them all in a kernel for a 386. ...
      (Linux-Kernel)