HFHenrique Cota Freitas

Henrique Cota Freitas

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Henrique Cota Freitas has a total of 130 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Learning Parallel Computing with Multilayer Perceptron Neural Networks

    by Mateus Henrique Medeiros Diniz, Henrique Cota de Freitas

    As multi-core architectures become the standard for computational efficiency, parallel programming has evolved into a primary avenue for optimization and resource management. However, an integrated design-and-evaluation method is often difficult for beginners to envision, leading to incorrect intuition about the relationship between theory and practice. This article proposes an implementation-driven methodological approach using a Multilayer Perceptron (MLP) to bridge this gap, comprising three main components: (1) establishing a sequential baseline, (2) applying parallelization and data containerization strategies to the MLP, and (3) evaluating through key metrics such as speedup and hardware efficiency. By addressing data dependencies and synchronization challenges inherent to backpropagation, the proposed trajectory provides a framework for comprehending data integrity in parallel systems through an exemplified parallel implementation. Our approach led to successful optimization of the feedforward and backpropagation routines, resulting in a speedup, e.g., of 4 times the baseline execution time using 8 hardware threads. Furthermore, the results indicate that outer-loop nesting and data containerization should be considered for managing structures with high data dependencies.

  • Open Access

    Evaluation of Thread Scalability and Compiler Optimization in Parallel Job Execution Using Unity’s Job System

    by Patrick Rodney De Souza Machado, Matheus Alcântara Souza, Henrique Cota De Freitas

    Performance optimization is a critical concern in modern game development. Common bottlenecks arise from the high computational demands of game processing, physics simulations, and object interactions, challenges often exacerbated by the limitations of sequential processing. To address these issues, Unity, one of the most widely adopted game engines, offers the Unity Jobs System and Burst Compiler, which enable data-oriented parallel execution of code for improved efficiency. This study investigates the application of these tools to parallelize and optimize sequential algorithms. We analyze key performance factors, including thread scalability, agent count, and batch size. The results demonstrate that tailored configurations can yield performance improvements of up to 15.06×, with the Burst Compiler being essential in all scenarios. It is worth noting that single-threaded job implementations can sometimes rival multithreaded performance, particularly in smaller workloads, highlighting the benefits of transitioning from the MonoBehaviour architecture to Unity’s Data-Oriented Technology Stack (DOTS). As a contribution, this paper presents an in-depth evaluation of parallelization and optimization strategies within Unity’s Jobs System, with a focus on performance and scalability.


  • Open Access

    Retrieval-Augmented Large Language Models for Computer Architecture Learning and Design Assistance

    by Wenderson Júnio de Souza, Humberto Torres Marques Neto, Henrique Cota de Freitas

    The field of computer architecture is highly specialized and demands skilled expertise. Large Language Models (LLMs) can support this process by improving the quality of project development. Moreover, they can be employed as training tools, progressively enhancing individual skills and facilitating the identification of suitable components to address specific architectural gaps. In this work, we propose the use of an LLM combined with the Retrieval-Augmented Generation (RAG) technique to expand the model’s knowledge and assist in identifying components of computer architectures. Experimental results indicate that LLMs can successfully identify some architectural components, while also revealing significant opportunities to refine the proposed methodology and advance research in architecture design supported by LLMs.


  • Open Access

    Performance Evaluation of Convolutional Neural Networks with oneAPI and OpenMP for Network Intrusion Detection

    by Rafael Rodrigues Oliveira, Thiago Augusto Demeto Leão, Henrique Cota de Freitas

    The accelerated evolution in the Machine Learning (ML) field has made the use of hardware solutions indispensable for training and inferring models. This article presents the performance evaluation of three implementations of a Convolutional Neural Network: a sequential version and two parallel versions, one using Intel oneAPI and the other with OpenMP, all running on the CPU. The comparative analysis is based on a network intrusion dataset (NSL-KDD), focusing on speedup and scalability. It shows that the implementation using Intel® oneAPI achieves the best performance compared to the sequential and OpenMP versions.


  • Open Access

    Performance Evaluation of k-means using CPU and GPU with oneAPI and OpenMP for Network Intrusion Detection

    by Laura Caetano Costa, Luiz Fernando Antunes da Silva Frassi, Henrique Cota de Freitas

    This article describes the application of the k-means algorithm for network intrusion detection, evaluating both sequential and parallel CPU and GPU versions using oneAPI and OpenMP. Based on a network intrusion dataset (CIC-IDS2017), which contains millions of instances of modern attacks, the experiments showed that the parallel versions achieved significant performance gains over the sequential version. The good scalability of the CPU solutions and GPU acceleration stand out, with oneAPI performing slightly better than OpenMP. The results reinforce that parallelization is essential for applying k-means in contexts where the data volume is large.


  • Open Access

    NUMA-Aware Task Scheduling Strategy Aiming to Reduce Cache Conflicts

    by Thiago de Campos Ribeiro Nolasco, Pedro Henrique Penna, Henrique Cota de Freitas

    This paper presents a NUMA-aware scheduling strategy that reduces cache conflicts by analyzing recent cache index access histories through cumulative distribution functions (CDF). The approach aims to minimize last-level cache (LLC) interference while maintaining load balance across CPUs. We developed a Rust-based simulator to evaluate the strategy under Zipf-distributed workloads, comparing it against the Distributed Intensity Online (DIO) strategy. Results show that the proposed method improves cache hit rates by up to 8.2%, reduces load imbalance up to 18%, and decreases tail latency by 14% relative to DIO. These improvements highlight the potential of fine-grained cacheoblivious scheduling strategies for real-world operating systems.

  • Open Access

    A Performance Analysis of System Rollback Techniques

    by Antônio Drumond Cota de Sousa, Henrique Cota de Freitas

    System restorations are crucial for maintaining operational continuity, yet the lack of comparative performance data makes selecting the right rollback tool a significant challenge. This paper addresses this gap by conducting a quantitative performance analysis of four popular techniques: NixOS Generations, Snapper, Timeshift (in RSYNC mode), and Windows System Restore. We evaluated each tool based on two key metrics: rollback duration and snapshot storage size, using a controlled virtualized environment. Our results reveal significant performance disparities, with rollback speeds differing by up to a factor of four, indicating that filesystem-integrated, copy-on-write tools are demonstrably more efficient for performance-critical applications.


  • Open Access

    Avaliação do Consumo Energético e Desempenho de Clusters Baseados em Banana Pi e Raspberry Pi

    by Luís Fillipe Magalhães Conrado Pereira, Henrique Cota de Freitas

    Este artigo apresenta uma avaliação da eficiência energética e do desempenho de clusters Raspberry Pi e Banana Pi. Experimentos com NAS Parallel Benchmarks (CG, Classe B) variaram processos (1-32), coletando potência consumida e tempo gasto na execução. Ambos se beneficiam do paralelismo. O Banana Pi encontra melhor resultado em oito processos, com consumo energético aumentando depois. O Raspberry Pi, porém, reduz continuamente energia e tempo até 32 processos. A análise evidencia uma eficiência energética do Raspberry Pi superior à do Banana Pi no contexto do experimento, especialmente, com maior paralelismo.

  • Open Access

    Proposta e Avaliação de um Cluster de Banana Pi Single Boards com NAS Parallel Benchmarks

    by Marcos Ani Cury Vinagre Silva, Henrique Cota de Freitas

    Clusters para programação paralela de alto desempenho podem ser um grande problema para projetos de pesquisas com baixo orçamento. Pensando nisso, esse artigo propõe um cluster de Banana Pi single boards como solução viável financeiramente para uso em pesquisa e ensino. O artigo apresenta também uma comparação com outro cluster baseado em Raspberry Pi desenvolvido no passado pelo mesmo grupo. Durante os testes, foi possível avaliar resultados que verificam o desempenho e escalabilidade de aplicações do NAS benchmarks. Um speedup máximo de 13.18 foi alcançado com uma eficiência de 165% com 8 núcleos para a carga CG de classe B.


  • Open Access

    Reinforcement Learning-Based Cache Replacement Policies for Multicore Processors

    by Matheus A. Souza, Henrique C. Freitas

    High-performance computing (HPC) systems need to handle ever-increasing data sizes for fast processing and quick response times. However, modern processors’ caches are unable to handle massive amounts of data, leading to significant cache miss penalties that affect performance. In this context, selecting an effective cache replacement policy is crucial to improving HPC performance. Existing cache replacement policies fall short of Bélády’s optimal algorithm, and we propose a new approach that leverages the coherence state and sharers’ bit-vector of a cache block to make better decisions. We suggest a reinforcement learning-based strategy that learns from past eviction decisions and applies this knowledge to make better decisions in the future. Our approach uses a next-attempt method that combines the results from classic cache replacement algorithms with reinforcement learning. We evaluated our approach using the Sniper simulator and seven kernels from CAP Benchmarks. Our results show that our approach can significantly reduce the cache miss rate by 41.20% and 27.30% in L1 and L2 caches, respectively. In addition, our approach can improve the IPC by 27.33% in the best case and reduce energy consumption by 20.36% compared to an unmodified policy.