Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 14 Feb 2005 07:36:57 -0500
From: Jason Tishler <jason@tishler.net>
To: cygwin@cygwin.com
Subject: Re: hyperthreading fix try #2
Message-ID: <20050214123657.GA3952@tishler.net>
Mail-Followup-To: cygwin@cygwin.com
References: <20050211223119.GA29168@trixie.casa.cgf.cx> <420F626A.9030409@iinet.net.au> <420F6F6F.6030903@iinet.net.au> <20050213170921.GB8586@trixie.casa.cgf.cx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050213170921.GB8586@trixie.casa.cgf.cx>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes

On Sun, Feb 13, 2005 at 12:09:21PM -0500, Christopher Faylor wrote:
> On Mon, Feb 14, 2005 at 01:17:03AM +1000, Nick Coghlan wrote:
> >Nick Coghlan wrote:
> >Command lines looked like (with thread and file counts filled in): $
> >python /lib/python2.4/test/test_threadedtempfile.py -t <threads> -f
> ><files>
> >
> >The results weren't particularly deterministic, beyond a general
> >'more threads, more files' -> 'more likely to hang'. 10 & 10 seemed
> >to do it fairly effectively although even that would occasionally
> >succeed (the default is 20 & 20).
> >
> >When it *did* hang, it was with a number of threads successfully
> >opening their files on an iteration, with the remainder of the
> >threads locking up attempting to open a new temporary file. The next
> >time around, the remaining threads would hang while attempting to
> >open the temporary file.
> >
> >The main script hangs because it is waiting for the threads to
> >terminate.
> 
> Is this a regression?

I don't know.

> Was this also problem with 1.5.12?

AFAICT, no.

However, another threaded regression test hung in 1.5.12 as indicated in
the README:

    Under XP Pro SP1, Cygwin 1.5.12-1, ntsec, and NTFS, Cygwin Python
    passes all tests except for following:

    ...
    test_threaded_import (occasionally hangs)

So, maybe I was just "lucky" test_threadedtempfile did not hang when I
ran the regression test especially since it hung under 1.5.10-3.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

