delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/14/07:35:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 14 Feb 2005 07:36:57 -0500
From: Jason Tishler <jason AT tishler DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: hyperthreading fix try #2
Message-ID: <20050214123657.GA3952@tishler.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20050211223119 DOT GA29168 AT trixie DOT casa DOT cgf DOT cx> <420F626A DOT 9030409 AT iinet DOT net DOT au> <420F6F6F DOT 6030903 AT iinet DOT net DOT au> <20050213170921 DOT GB8586 AT trixie DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019