Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Sun, 13 Feb 2005 12:09:21 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: hyperthreading fix try #2 Message-ID: <20050213170921.GB8586@trixie.casa.cgf.cx> Reply-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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <420F6F6F.6030903@iinet.net.au> User-Agent: Mutt/1.4.1i On Mon, Feb 14, 2005 at 01:17:03AM +1000, Nick Coghlan wrote: >Nick Coghlan wrote: >>Christopher Faylor wrote: >>Of course, I don't actually know if this is a related problem or not. >>I'm hoping Chris can check it easily, since it happens with the standard >>Cygwin Python, not just with the version I built from Python's current CVS. > >I took the obvious step of running that test script directly, playing with >the number of threads spawned, and the number of files created by each >thread, as well as adding some more print statements to the script to see >where it was hanging. > >Command lines looked like (with thread and file counts filled in): >$ python /lib/python2.4/test/test_threadedtempfile.py -t -f > > >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? Was this also problem with 1.5.12? Unless there are pipes involved in this test, I don't see how it could be related to the problem. cgf -- 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/