[ python-Bugs-1001150 ] hotspot profiler does not work correctly on P4 CPUs with HT

SourceForge.net noreply at sourceforge.net
Sat Jul 31 20:03:17 CEST 2004


Bugs item #1001150, was opened at 2004-07-31 06:50
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1001150&group_id=5470

Category: Python Library
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Viktor Ferenczi (complex)
Assigned to: Nobody/Anonymous (nobody)
Summary: hotspot profiler does not work correctly on P4 CPUs with HT

Initial Comment:
Using the hotspot module produces wrong timing data on
Intel P4 CPUs with HyperThreading (HT) support enabled.
For example:

Running tests...
..................................................
----------------------------------------------------------------------
Ran 50 tests in 1.782s

OK
Loading results...
Printing results...
         24087 function calls (23727 primitive calls)
in 5333.530 CPU seconds

The 50 tests run in 1.782 seconds, but the profiler
accumulates 5333.530 seconds.

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2004-07-31 14:03

Message:
Logged In: YES 
user_id=33168

There have been a few changes to hotshot which could fix
this problem.  Can you test the current version in CVS?  I'm
not sure if 2.4a1 has the fixes or not, but you could also
try that version.

Also, what test are you using?  test_hotshot only has 3 tests.

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2004-07-31 10:56

Message:
Logged In: YES 
user_id=33168

There have been a few changes to hotshot which could fix
this problem.  Can you test the current version in CVS?  I'm
not sure if 2.4a1 has the fixes or not, but you could also
try that version.

Also, what test are you using?  test_hotshot only has 3 tests.

----------------------------------------------------------------------

Comment By: Viktor Ferenczi (complex)
Date: 2004-07-31 09:25

Message:
Logged In: YES 
user_id=142612

OS: WinXP Prof ENG SP1
Python: 2.3.4 final, EXE installer (binary)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1001150&group_id=5470


More information about the Python-bugs-list mailing list