This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: locking timeout error ?
- From: Martin Hunt <hunt at redhat dot com>
- To: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>
- Cc: Badari Pulavarty <pbadari at us dot ibm dot com>, "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>
- Date: Fri, 06 Jan 2006 18:29:21 -0800
- Subject: RE: locking timeout error ?
- Organization: Red Hat Inc
- References: <CBDB88BFD06F7F408399DBCF8776B3DC0606B068@scsmsx403.amr.corp.intel.com>
On Fri, 2006-01-06 at 16:37 -0800, Stone, Joshua I wrote:
> This is in CVS: tests/testsuite/systemtap.samples/topsys.stp
>
> In fact the problem here is that the script is *not* using stats - it's
> incrementing a counter in a global array. So Badari must be running on
> an SMP machine, and two threads are trying to access the array at the
> same time.
>
> A few days ago Frank checked in code to let it wait longer to attain a
> lock, so you might have better luck with a newer CVS build.
I should have recognized the name. As you point out that bug was fixed a
few days ago. topsys runs fine on a quad-processor machine for me.
Martin