Re: HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLE branchnear you - FreeBSD

This is a discussion on Re: HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLE branchnear you - FreeBSD ; On Mon, 11 Aug 2008, Mike Tancsa wrote: > At 05:21 PM 8/8/2008, Robert Watson wrote: > >> http://www.watson.org/~robert/freebs...ock-inpcb.diff >> >> These incude the inpcb/inpcbinfo read/write locking changes (although not >> yet for raw/divert sockets). Any testing, especially with heavy ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLE branchnear you

  1. Re: HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLE branchnear you


    On Mon, 11 Aug 2008, Mike Tancsa wrote:

    > At 05:21 PM 8/8/2008, Robert Watson wrote:
    >
    >> http://www.watson.org/~robert/freebs...ock-inpcb.diff
    >>
    >> These incude the inpcb/inpcbinfo read/write locking changes (although not
    >> yet for raw/divert sockets). Any testing, especially with heavy UDP loads,
    >> would be much appreciated -- this are fairly complex changes, and also
    >> quite a complex MFC.

    >
    > So far so good with the patches. I am running them on a busy sendmail
    > server that also does a lot of DNS locally for itself and a number of other
    > boxes.


    Excellent news. I have a couple of other reviews and hopefully some more
    testing coming in, and will commit in a few days if all continues to go well.
    An updated version of the patch is here:

    http://www.watson.org/~robert/freebs...ock-inpcb.diff

    There are no changes from previous versions, but I was asked to regenerate the
    patch with function names, so have done so.

    Anyone out there running name servers, NFS over UDP, and other UDP workloads:
    your testing of this patch prior to commit would be much appreciated.

    Thanks,

    Robert N M Watson
    Computer Laboratory
    University of Cambridge
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  2. Re: HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLEbranch near you

    On Wed, Aug 13, 2008 at 05:16:27PM -0400, Mike Tancsa wrote:
    > At 04:46 PM 8/13/2008, Mike Tancsa wrote:
    >> At 04:41 PM 8/13/2008, Robert Watson wrote:
    >>> Well, it shouldn't be related, but sometimes things get tricky with
    >>> locking if it turns out that extra locking at one layer was masking
    >>> a lack of locking at another. Let's try to diagnose this one a bit
    >>> more before concluding that is the case, though. I take that the
    >>> same problems don't happen if you boot a vanilla version of the same
    >>> rev of the kernel? What command did you use to generate the list at
    >>> the bottom of your e-mail?

    >>
    >>
    >> Hi Robert,
    >> the arp messages were a snippet from just arp -na. All of
    >> those IP addresses are local to the box. I am just doing a cvsup to
    >> the same point in time and am rebuilding the kernel.

    >
    > Actually, it looks like its unrelated to your changes. I just did a full
    > cvsup, and am getting that strange proxy arp stuff and again, the
    > incomplete arp messages....
    >
    >
    > % arp -na| grep inc
    > ? (64.7.153.9) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.9) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.9) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 published (proxy only) [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 published (proxy only) [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 published (proxy only) [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 published (proxy only) [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.19) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.20) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.20) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.20) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.20) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.20) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.21) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.21) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.21) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.21) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.21) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.21) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.21) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.24) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.25) at (incomplete) on em1 published (proxy only) [ethernet]
    > ? (64.7.153.25) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.25) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.25) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.25) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.26) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.26) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.26) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.26) at (incomplete) on em1 published (proxy only) [ethernet]
    > ? (64.7.153.26) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.26) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.26) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.27) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.27) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.27) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.27) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.27) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.27) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.27) at (incomplete) on em1 [ethernet]
    > ? (64.7.153.27) at (incomplete) on em1 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 published (proxy only) [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    > ? (199.212.134.1) at (incomplete) on em0 [ethernet]
    >
    > I will try a kernel before the em changes, as thats the only other thing
    > I can think of off the top of my head.


    That almost looks like some kind of ARP storm, sans repetitive entries
    (that definitely looks odd). Does tcpdump on em1 show a particular
    machine or router demanding MACs for 64.7.153.0/24 (or whatever the
    block is)?

    Adding Jack Vogel to this, since it could be em(4)-related.

    --
    | Jeremy Chadwick jdc at parodius.com |
    | Parodius Networking http://www.parodius.com/ |
    | UNIX Systems Administrator Mountain View, CA, USA |
    | Making life hard for others since 1977. PGP: 4BD6C0CB |

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


+ Reply to Thread