Salut tout le monde,
j'aimerai comment peut-on partager l'ex�cution des thread ( qu'on d�finit nous m�me dans un programme ) sur deux c�urs dans le cas d'un �P multicoeurs.
j'ai besoin d'un coup de main![]()
Salut tout le monde,
j'aimerai comment peut-on partager l'ex�cution des thread ( qu'on d�finit nous m�me dans un programme ) sur deux c�urs dans le cas d'un �P multicoeurs.
j'ai besoin d'un coup de main![]()
Quel est ton syst�me d'exploitation ?
Via la fonction SetThreadAffinityMask.
Mac LAK.
___________________________________________________
Ne prenez pas la vie trop au s�rieux, de toutes fa�ons, vous n'en sortirez pas vivant.
Sources et composants Delphi sur mon site, L'antre du Lak.
Pas de question technique par MP : posez-la dans un nouveau sujet, sur le forum ad�quat.
Rejoignez-nous sur : ► Serveur de fichiers [NAS] ► Le Tableau de bord projets ► Le groupe de travail ICMO
Une remarque au passage :
Performance Effect of Localized Thread Schedules in Heterogeneous Multi-Core ProcessorsWe previously proposed a heterogeneous 16-core architecture and a nearest neighbor priority-based thread scheduling algorithm which values core affinity and permits inter-core thread migration in [1]. In this paper, we run simulation experiments under localized core affinities limited to a very small number of specific cores within core classes. These localized schedules represent applications that are user- or system-confined to specific cores or their vicinity. They may also represent stressful scenarios with high contention to specific - and possibly scarce - cores with unique functionality or computational might. The results indicate that under these localized initial core affinity scenarios, non-migratory thread scheduling algorithms perform much worse than non-affinity algorithms while the algorithms which consider core affinity and allow inter-core thread migration are best.
Sibai, F.N.
Innovations in Information Technology, 2007. IIT apos;07. 4th International Conference on
Volume , Issue , 18-20 Nov. 2007 Page(s):292 - 296
Digital Object Identifier 10.1109/IIT.2007.4430377
PS : qui rejoint d'ailleurs la remarque de MSDN.
Partager