Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2011 23:42:21 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Adrian Chadd <adrian@FreeBSD.org>
Cc:        Oleksandr Tymoshenko <gonzo@FreeBSD.org>, "freebsd-embedded@freebsd.org" <freebsd-embedded@FreeBSD.org>
Subject:   Re: Updated switch/glue patch?
Message-ID:  <2CBD8651-E132-49DC-A082-37A8F5C626EA@bsdimp.com>
In-Reply-To: <CAJ-VmokgiQCEG4et3X=3o_MuCMkO9MqkKqa-fjdpEqQNucn=Lw@mail.gmail.com>
References:  <CAJ-Vmon8%2BOXQ4g752zZEB-O0BR0sFWO0QUvw--xp2jsBDkx6tQ@mail.gmail.com> <0F6CC18F-6973-42A2-AC03-F01BF59458AE@lassitu.de> <CAJ-Vmo=Y8pp4iFnw%2B1hcPae6QXFboz=a7puwgC1kVSZ3JwMgPQ@mail.gmail.com> <1100F70E-9DA9-4163-AC9A-423ECE5AA9A3@lassitu.de> <CAJ-VmonrnJ7cC6u2LsL9AGusz_%2BkSwY62Rr1__sg5U_NynJ1SQ@mail.gmail.com> <CAJ-Vmo=WSN1oLM=B2HqSHrWyOaOD9BSwwu8=1Wys0CLRJ_N-TA@mail.gmail.com> <C637C171-A1A2-4296-84FA-6DE97137DC42@lassitu.de> <CAJ-Vmon2boy7OCh_4O0MeCi0yCdZu0OYb5dxHCEK=-%2B46zBGtg@mail.gmail.com> <CAJ-Vmoku5eLEYi5_DXVxK=0=4Ewn2aGepv3YUw4ApuVh_7y2%2Bw@mail.gmail.com> <CAJ-VmonvpnaS1rAO%2BsDRh1E5WfsrZTYE297Kc96prhfKjrM89Q@mail.gmail.com> <CAJ-VmokQxQs2DUKL=ONyxnnS7Q28ytmwZJ_thqvc4SvMkmS=cQ@mail.gmail.com> <18CABB46-9B9A-41CB-8742-6723C5FF4D67@lassitu.de> <C0BF20FD-E30F-4E9C-A0FE-500BE4807B99@bsdimp.com> <CAJ-VmokgiQCEG4et3X=3o_MuCMkO9MqkKqa-fjdpEqQNucn=Lw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 18, 2011, at 9:20 PM, Adrian Chadd wrote:

> On 18 December 2011 16:29, Warner Losh <imp@bsdimp.com> wrote:
>=20
>> What is it without WITNESS?  The performance numbers with WITNESS are =
generally uninteresting for a deployed system.
>=20
> It's still ridiculously CPU intensive. :( It turns out trying to do
> those locks three times one each GPIO IO line fiddle is a bit over the
> top.

That's the real problem.  WITNESS is a known pigdog on low-end systems, =
so measurements with it tend to skew the results a tad too much.  On the =
other hand, it did magnify the problem to the point it was fixed :)

The insane locking should be fixed.

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2CBD8651-E132-49DC-A082-37A8F5C626EA>