To Pin or not to Pin: That is the question
Resumo
Arquiteturas de CPU híbridas, que combinam núcleos de alto desempenho e eficiência energética, apresentam novos desafios para aplicações seriais e paralelas. Em processadores homogêneos, problemas como balanceamento de carga, previsibilidade de desempenho, sobrecarga gerada pela migração de threads e consumo de energia podem ser mitigados pela pinagem de CPU. No entanto, dadas as características dos processadores híbridos, a pinagem de CPU é uma solução eficiente para os problemas apresentados? Nesse contexto, o principal objetivo deste trabalho é responder à pergunta: fixar ou não fixar as threads? Os resultados indicam que não há uma resposta única, dependendo da aplicação e do contexto de execução.Referências
Bilbao, C., Saez, J. C., and Prieto-Matias, M. (2023). Flexible system software scheduling for asymmetric multicore systems with pmcsched: A case for intel alder lake. Concurrency and Computation: Practice and Experience, 35(25).
Cunningham, W. E. and Weaver, V. M. (2024). Performance measurement on heterogeneous processors with papi. In SC24-W: Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis, page 1551–1561. IEEE.
Dorta, A., Rodriguez, C., de Sande, F., and González-Escribano, A. (2005). The openmp source code repository. In 13th Euromicro Conference on Parallel, Distributed and Network-Based Processing, pages 244–250.
Gonçalves, T. D. S., Beck, A. C. S., and Lorenzon, A. F. (2024). Investigating the influence of process variability on asymmetric multicore processors. In 2024 37th SBC/SBMicro/IEEE Symposium on Integrated Circuits and Systems Design (SBCCI), page 1–5. IEEE.
Karlin, I., Keasler, J., and Neely, R. (2013). Lulesh 2.0 updates and changes. Technical Report LLNL-TR-641973, LLNL.
Mazouz, A., Touati, S.-A.-A., and Barthou, D. (2013). Dynamic thread pinning for phase-based openmp programs. In Wolf, F., Mohr, B., and an Mey, D., editors, Euro-Par 2013 Parallel Processing, pages 53–64, Berlin, Heidelberg. Springer Berlin Heidelberg.
Moori, M. K., Rocha, H. M. G. d. A., Lorenzon, A. F., and Beck, A. C. S. (2023). Searching for the ideal number of threads on asymmetric multiprocessors. In 2023 XIII Brazilian Symposium on Computing Systems Engineering (SBESC), page 1–6. IEEE.
Rotem, E., Yoaz, A., Rappoport, L., Robinson, S. J., Mandelblat, J. Y., Gihon, A., Weissmann, E., Chabukswar, R., Basin, V., Fenger, R., Gupta, M., and Yasin, A. (2022). Intel alder lake cpu architectures. IEEE Micro, 42(3):13–19.
Saez, J. C. and Prieto-Matias, M. (2022). Evaluation of the intel thread director technology on an alder lake processor. In Proceedings of the 13th ACM SIGOPS Asia-Pacific Workshop on Systems, APSys ’22, page 61–67. ACM.
Smejkal, T., Khasanov, R., Castrillon, J., and Härtig, H. (2024). E-Mapper: Energy-efficient resource allocation for traditional operating systems on heterogeneous processors.
Sundfeld, D., Teodoro, G., and Melo, A. C. M. A. (2025). Pa-star2: Fast optimal multiple sequence alignment for asymmetric multicore processors. In 2025 33rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing (PDP), pages 146–153.
Yue, A. and Mehta, S. (2023). An application-oriented approach to designing hybrid cpu architectures. In 2023 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), page 92–102. IEEE.
Zhao, J., Lim, K., Anderson, T., and Enright Jerger, N. (2023). The case of unsustainable cpu affinity. In Proceedings of the 2nd Workshop on Sustainable Computer Systems, HotCarbon ’23, New York, NY, USA. Association for Computing Machinery.
Cunningham, W. E. and Weaver, V. M. (2024). Performance measurement on heterogeneous processors with papi. In SC24-W: Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis, page 1551–1561. IEEE.
Dorta, A., Rodriguez, C., de Sande, F., and González-Escribano, A. (2005). The openmp source code repository. In 13th Euromicro Conference on Parallel, Distributed and Network-Based Processing, pages 244–250.
Gonçalves, T. D. S., Beck, A. C. S., and Lorenzon, A. F. (2024). Investigating the influence of process variability on asymmetric multicore processors. In 2024 37th SBC/SBMicro/IEEE Symposium on Integrated Circuits and Systems Design (SBCCI), page 1–5. IEEE.
Karlin, I., Keasler, J., and Neely, R. (2013). Lulesh 2.0 updates and changes. Technical Report LLNL-TR-641973, LLNL.
Mazouz, A., Touati, S.-A.-A., and Barthou, D. (2013). Dynamic thread pinning for phase-based openmp programs. In Wolf, F., Mohr, B., and an Mey, D., editors, Euro-Par 2013 Parallel Processing, pages 53–64, Berlin, Heidelberg. Springer Berlin Heidelberg.
Moori, M. K., Rocha, H. M. G. d. A., Lorenzon, A. F., and Beck, A. C. S. (2023). Searching for the ideal number of threads on asymmetric multiprocessors. In 2023 XIII Brazilian Symposium on Computing Systems Engineering (SBESC), page 1–6. IEEE.
Rotem, E., Yoaz, A., Rappoport, L., Robinson, S. J., Mandelblat, J. Y., Gihon, A., Weissmann, E., Chabukswar, R., Basin, V., Fenger, R., Gupta, M., and Yasin, A. (2022). Intel alder lake cpu architectures. IEEE Micro, 42(3):13–19.
Saez, J. C. and Prieto-Matias, M. (2022). Evaluation of the intel thread director technology on an alder lake processor. In Proceedings of the 13th ACM SIGOPS Asia-Pacific Workshop on Systems, APSys ’22, page 61–67. ACM.
Smejkal, T., Khasanov, R., Castrillon, J., and Härtig, H. (2024). E-Mapper: Energy-efficient resource allocation for traditional operating systems on heterogeneous processors.
Sundfeld, D., Teodoro, G., and Melo, A. C. M. A. (2025). Pa-star2: Fast optimal multiple sequence alignment for asymmetric multicore processors. In 2025 33rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing (PDP), pages 146–153.
Yue, A. and Mehta, S. (2023). An application-oriented approach to designing hybrid cpu architectures. In 2023 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), page 92–102. IEEE.
Zhao, J., Lim, K., Anderson, T., and Enright Jerger, N. (2023). The case of unsustainable cpu affinity. In Proceedings of the 2nd Workshop on Sustainable Computer Systems, HotCarbon ’23, New York, NY, USA. Association for Computing Machinery.
Publicado
28/10/2025
Como Citar
GALANTE, Guilherme; OYAMADA, Marcio Seiji.
To Pin or not to Pin: That is the question. In: SIMPÓSIO EM SISTEMAS COMPUTACIONAIS DE ALTO DESEMPENHO (SSCAD), 26. , 2025, Bonito/MS.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2025
.
p. 470-481.
DOI: https://doi.org/10.5753/sscad.2025.16763.
