Results 1 to 3 of 3

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448

    Thread affinity HT. id ?

    ,

    multithreaded . , OS- . Core i7 920, 4 hyper-threading = 8 . , "" ( 8 , - 4 ). scheduler-a , ( ) ( Linux- -, Windows (XP 64 SP2) . ).

    , SetAffinity , CPU. : CPU (.. id 0 7 .) , 4- ? SetThreadAffinityMask pthread_setaffinity_np id-, :

    * Linux, [0+4], [1+5], [2+6], [3+7]. , max performance 4 , 0, 1, 2 3.
    * Windows [0+1], [2+3], [4+5], [6+7]. 0, 2, 4, 6.
    * OSX

    , spec- , ? CPUID function 0xb, APIC id-,

    btw, , "" (. 0, 2, 5 7), , , .
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

  2. #2
    Registered User
    Join Date: Oct:2006
    Location: Plovdiv
    Posts: 305
    . ( Microsoft ) :

    [1+5] [2+6] [3+7] [4+8]


    PS: : http://www.intel.com/software/produc...d_affinity.htm
    prepBut nI vrbLike adjHungarian! qWhat's artThe adjBig nProblem?

  3. #3
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    , topology enumeration. ! !
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

Posting Permissions

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

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |