Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: hyperthreading P4 slowdown

  1. #11

    hyperthreading P4 slowdown

    Fantastic, glad you found that. That will probably solve the problem I have at work as well

    Good Detective work there
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  2. #12

    hyperthreading P4 slowdown

    good, now has anybody the magic function that let me just have an app run on one CPU (discarding the virtual one). I'm clueless about the usage of

    SetThreadAffinityMask

    The SetThreadAffinityMask function sets a processor affinity mask for the specified thread.

    DWORD_PTR SetThreadAffinityMask(
    HANDLE hThread,
    DWORD_PTR dwThreadAffinityMask
    );

    Parameters

    hThread
    [in] Handle to the thread whose affinity mask is to be set.

    This handle must have the THREAD_SET_INFORMATION and THREAD_QUERY_INFORMATION access rights. For more information, see Thread Security and Access Rights.
    dwThreadAffinityMask
    [in] Affinity mask for the thread.
    http://www.birth-of-america.com/
    <br />The game on American War of Independence and French-Indians war.

  3. #13

    hyperthreading P4 slowdown

    an interesting page, I tweaked my executable with the utility posted there. I hope this will fix the problem.

    http://www.robpol86.com/Pages/imagecfg.php
    http://www.birth-of-america.com/
    <br />The game on American War of Independence and French-Indians war.

  4. #14

    hyperthreading P4 slowdown

    [pascal]SetThreadAffinityMask(GetCurrentThread(), 1);[/pascal]

  5. #15

    hyperthreading P4 slowdown

    ah, nice this GetCurrentThread call, I wondered how in the hell I could find which thread I was on.

    Thank you much.
    http://www.birth-of-america.com/
    <br />The game on American War of Independence and French-Indians war.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •