liu.seSearch for publications in DiVA
Planned maintenance
A system upgrade is planned for 17/11-2026, at 12:00-13:00. During this time DiVA will be unavailable.
Change search
Link to record
Permanent link

Direct link
Publications (7 of 7) Show all publications
Horga, A. (2022). Performance and Security Analysis for GPU-Based Applications. (Doctoral dissertation). Linköping: Linköping University Electronic Press
Open this publication in new window or tab >>Performance and Security Analysis for GPU-Based Applications
2022 (English)Doctoral thesis, monograph (Other academic)
Abstract [en]

Graphics Processing Units (GPUs) are becoming more and more prevalent in general-purpose computing. GPUs are used in areas from embedded systems to super-computing. With applications ranging from fluid dynamics simulations to image processing, machine learning, and encryption, GPU programs need to satisfy not only performance requirements but also various other non-functional constraints. Besides the aspects regarding performance, also security and the worst case execution time (WCET) need to be considered for such GPU applications. In our work, we study such non-functional properties and present approaches to detect and solve issues regarding them.

First, we focus on the performance of GPU applications by detecting cache related performance bottlenecks. We detect the root causes of such bottlenecks and provide solutions to reduce their negative impact on performance. We also discuss and compare the impact of cache replacement policies and thread scheduling policies on the performance of GPU applications.

Then, we present a measurement-based technique, which combines symbolic execution and genetic algorithms, and is used for estimating the WCET of GPU programs. Our proposed technique helps to produce test inputs that lead towards the WCET of a program. We also propose solutions to alleviate the inherent complexity of GPU programs due to branching behavior and high number of threads running in parallel.

In continuation, we propose a technique to expose the side-channel leakage of shared memory in GPU implementations of cryptographic algorithms. We evaluate the robustness of such algorithms in the context of shared memory side-channel leakage. Also, we discuss the security and side-channel leakage for different implementations of the same algorithm.

Finally, a formal approach is presented for the detection of GPU shared memory bank conflicts. We explore and discuss the impact of such conflicts on the performance and security of GPU applications. We show how our approach can help in producing inputs that can lead towards the WCET. We also discuss how our approach can be used to evaluate the leakage of the shared memory side-channel for GPU implementations of cryptographic algorithms.

Place, publisher, year, edition, pages
Linköping: Linköping University Electronic Press, 2022. p. 182
Series
Linköping Studies in Science and Technology. Dissertations, ISSN 0345-7524 ; 2256
National Category
Computer Sciences
Identifiers
urn:nbn:se:liu:diva-189603 (URN)10.3384/9789179294885 (DOI)9789179294878 (ISBN)9789179294885 (ISBN)
Public defence
2022-12-08, Ada Lovelace, B Building, Campus Valla, Linköping, 13:15 (English)
Opponent
Supervisors
Note

Funding agencies: the Swedish Research Council (VR), the Ministry of Education of Singapore (MOE), the Singapore National Research Foundation (NRF) and the Swedish National Infrastructure for Computing (SNIC)

Available from: 2022-10-28 Created: 2022-10-28 Last updated: 2022-10-28Bibliographically approved
Horga, A., Rezine, A., Chattopadhyay, S., Eles, P. I. & Peng, Z. (2022). Symbolic identification of shared memory based bank conflicts for GPUs. Journal of systems architecture, 127, Article ID 102518.
Open this publication in new window or tab >>Symbolic identification of shared memory based bank conflicts for GPUs
Show others...
2022 (English)In: Journal of systems architecture, ISSN 1383-7621, E-ISSN 1873-6165, Vol. 127, article id 102518Article in journal (Refereed) Published
Abstract [en]

Graphic processing units (GPUs) are routinely used for general purpose computations to improve performance. To achieve the sought performance gains, care must be invested in fine tuning the way GPU programs interact with the underlying architecture, accounting for the shared memory bank conflicts and the entailed shared memory transactions. Uncovering inputs leading to particular bank conflicts can turn out to be quite hard given the intricacy of the access patterns and their dependence on the inputs. We propose a symbolic execution based framework to systematically uncover shared memory bank conflicts, to propose inputs to realize a given number of shared memory transactions, and to refute the existence of such inputs if the number of shared memory transactions is impossible to achieve during the execution. This allows programmers to more formally reason about the shared memory conflicts and to validate their impact on performance and security. We have implemented our approach and report on our experiments to explore its usefulness towards performance enhancement and quantifying shared memory side-channel leakage in security applications.

Place, publisher, year, edition, pages
Amsterdam, Netherlands: Elsevier, 2022
Keywords
GPU; Shared memory; Formal verification; Performance evaluation; Software security
National Category
Computer Sciences
Identifiers
urn:nbn:se:liu:diva-184473 (URN)10.1016/j.sysarc.2022.102518 (DOI)000797269300005 ()
Note

Funding: Swedish Research Council [2017-04194, 2018-05973]; Singapore Ministry of Education (MOE) [MOE2018-T2-1-098]; National Research Foundation (NRF) [NRF2019-NRF-ANR092]

Available from: 2022-04-22 Created: 2022-04-22 Last updated: 2022-06-08Bibliographically approved
Horga, A., Chattopadhyay, S., Eles, P. & Peng, Z. (2020). Genetic Algorithm Based Estimation of Non–Functional Properties for GPGPU Programs. Journal of systems architecture, 103
Open this publication in new window or tab >>Genetic Algorithm Based Estimation of Non–Functional Properties for GPGPU Programs
2020 (English)In: Journal of systems architecture, ISSN 1383-7621, E-ISSN 1873-6165, Vol. 103Article in journal (Refereed) Published
Abstract [en]

Non-functional properties, like execution time or memory access information, of programs running on graphics processing unit (GPUs) can raise safety and security concerns. For example, understanding the execution time is critical for embedded and real-time applications. To this end, worst-case execution time (WCET) is an important metric to check the real-time constraints imposed on embedded applications. For complex execution platforms, such as GPUs, analysis of WCET imposes great challenges due to the complex characteristics of GPU architecture as well as GPU program semantics. GPUs also have specific memory access behavior. Observing such memory access behavior may reveal sensitive information (e.g. a secret key). This, in turn, may be exploited to launch a side-channel attack on the underlying program.

In this paper, we propose GDivAn, a measurement-based analysis framework for investigating the non-functional aspects of GPU programs, specifically, their execution time and side-channel leakage capacity. GDivAn is built upon a novel instantiation of genetic algorithm (GA). Moreover, GDivAn improves the effectiveness of GA using symbolic execution, when possible. Our evaluation with several open-source GPU kernels, including GPU kernels from the OpenSSL and MRTC benchmark suite, reveals the effectiveness of GDivAn both in terms of finding WCET and side-channel leakage.

Place, publisher, year, edition, pages
Elsevier, 2020
National Category
Computer Sciences
Identifiers
urn:nbn:se:liu:diva-162627 (URN)10.1016/j.sysarc.2019.101697 (DOI)000515208600002 ()
Note

Funding agencies: Swedish Research Council (VR)Swedish Research Council [NT-2017-04194]; Ministry of Education of SingaporeMinistry of Education, Singapore [MOE2018-T2-1-098]

Available from: 2019-12-11 Created: 2019-12-11 Last updated: 2020-03-19Bibliographically approved
Horga, A., Chattopadhyay, S., Eles, P. I. & Peng, Z. (2018). Measurement Based Execution Time Analysis of GPGPU Programs via SE+GA. In: : . Paper presented at 2018 21st Euromicro Conference on Digital System Design (DSD). IEEE
Open this publication in new window or tab >>Measurement Based Execution Time Analysis of GPGPU Programs via SE+GA
2018 (English)Conference paper, Published paper (Refereed)
Abstract [en]

Understanding the execution time is critical for embedded, real-time applications. Worst-case execution time (WCET) is an important metric to check the real-time constraints imposed on embedded applications. For complex execution platforms, such as graphics processing units (GPUs), analysis of WCET imposes great challenges due to the complex characteristics of GPU architecture as well as GPU program semantics. In this paper, we propose GDivAn, a measurement-based WCET analysis tool for arbitrary GPU kernels. GDivAn systematically combines the strength of symbolic execution (SE) and genetic algorithm (GA) to maintain both the scalability and the effectiveness of the analysis process. Our evaluation with several open-source GPU kernels reveals the efficiency of GDivAn.

Place, publisher, year, edition, pages
IEEE, 2018
National Category
Computer Sciences
Identifiers
urn:nbn:se:liu:diva-152463 (URN)10.1109/DSD.2018.00021 (DOI)978-1-5386-7377-5 (ISBN)978-1-5386-7378-2 (ISBN)
Conference
2018 21st Euromicro Conference on Digital System Design (DSD)
Available from: 2018-11-02 Created: 2018-11-02 Last updated: 2018-11-30
Horga, A., Chattopadhyay, S., Eles, P. & Peng, Z. (2016). Systematic detection of memory related performance bottlenecks in GPGPU programs. Journal of systems architecture, 71, 73-87
Open this publication in new window or tab >>Systematic detection of memory related performance bottlenecks in GPGPU programs
2016 (English)In: Journal of systems architecture, ISSN 1383-7621, E-ISSN 1873-6165, Vol. 71, p. 73-87Article in journal (Refereed) Published
Abstract [en]

Graphics processing units (GPUs) pose an attractive choice for designing high-performance and energy-efficient software systems. This is because GPUs are capable of executing massively parallel applications. However, the performance of GPUs is limited by the contention in memory subsystems, often resulting in substantial delays and effectively reducing the parallelism. In this paper, we propose GRAB, an automated debugger to aid the development of efficient GPU kernels. GRAB systematically detects, classifies and discovers the root causes of memory-performance bottlenecks in GPUs. We have implemented GRAB and evaluated it with several open-source GPU kernels, including two real-life case studies. We show the usage of GRAB through improvement of GPU kernels on a real NVIDIA Tegra K1 hardware – a widely used GPU for mobile and handheld devices. The guidance obtained from GRAB leads to an overall improvement of up to 64%.

Place, publisher, year, edition, pages
Elsevier, 2016
Keywords
Performance debugging, GPGPU, Caches
National Category
Computer Sciences
Identifiers
urn:nbn:se:liu:diva-131079 (URN)10.1016/j.sysarc.2016.08.002 (DOI)000390503600008 ()2-s2.0-85007200160 (Scopus ID)
Available from: 2016-09-07 Created: 2016-09-07 Last updated: 2025-05-15Bibliographically approved
Biciusca, T., Horga, A. & Sofonea, V. (2015). Simulation of liquid-vapour phase separation on GPUs using Lattice Boltzmann models with off-lattice velocity sets. Comptes rendus. Mecanique, 343(10-11), 580-588
Open this publication in new window or tab >>Simulation of liquid-vapour phase separation on GPUs using Lattice Boltzmann models with off-lattice velocity sets
2015 (English)In: Comptes rendus. Mecanique, ISSN 1631-0721, E-ISSN 1873-7234, Vol. 343, no 10-11, p. 580-588Article in journal (Refereed) Published
Abstract [en]

We use a two-dimensional Lattice Boltzmann model to investigate the liquid-vapour phase separation in an isothermal van der Waals fluid. The model is based on the expansion of the distribution function up to the third order in terms of Hermite polynomials. In two dimensions, this model is an off-lattice one and has 16 velocities. The Corner Transport Upwind Scheme is used to evolve the corresponding distribution functions on a square lattice. The resulting code allows one to follow the liquid-vapour phase separation on lattices up to 4096 x 4096 nodes using a Tesla M2090 Graphics Processing Unit. (C) 2015 Academie des sciences. Published by Elsevier Masson SAS. All rights reserved.

Place, publisher, year, edition, pages
ELSEVIER FRANCE-EDITIONS SCIENTIFIQUES MEDICALES ELSEVIER, 2015
Keywords
Lattice Boltzmann; Corner transport upwind; Phase separation
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:liu:diva-123530 (URN)10.1016/j.crme.2015.07.011 (DOI)000365454900007 ()
Note

Funding Agencies|Romanian National Authority for Scientific Research CNCS-UEFISCDI [PN-II-ID-PCE-2011-3-0516]

Available from: 2015-12-22 Created: 2015-12-21 Last updated: 2018-01-10
Maghazeh, A., Bordoloi, U. D., Horga, A., Eles, P. & Peng, Z. (2014). Saving Energy without Defying Deadlines on Mobile GPU-based Heterogeneous Systems. In: 2014 International Conference on Hardware/Software Codesign and System Synthesis: . Paper presented at International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS 2014), New Delhi, India, October 12-17, 2014. Association for Computing Machinery (ACM)
Open this publication in new window or tab >>Saving Energy without Defying Deadlines on Mobile GPU-based Heterogeneous Systems
Show others...
2014 (English)In: 2014 International Conference on Hardware/Software Codesign and System Synthesis, Association for Computing Machinery (ACM), 2014Conference paper, Published paper (Refereed)
Abstract [en]

With the advent of low-power programmable compute cores based on GPUs, GPU-equipped heterogeneous platforms are becoming common in a wide spectrum of industries including safety-critical domains like the automotive industry. While the suitability of GPUs for throughput oriented applications is well-accepted, their applicability for real-time applications remains an open issue. Moreover, in mobile/embedded systems, energy-efficient computing is a major concern and yet, there has been no systematic study on the energy savings that GPUs may potentially provide. In this paper, we propose an approach to utilize both the GPU and the CPU in a heterogeneous fashion to meet the deadlines of a real-time application while ensuring that we maximize the energy savings. We note that GPUs are inherently built to maximize the throughput and this poses a major challenge when deadlines must be satisfied. The problem becomes more acute when we consider the fact that GPUs are more energy efficient than CPUs and thus, a naive approach that is based on maximizing GPU utilization might easily lead to infeasible solutions from a deadline perspective.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2014
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:liu:diva-112689 (URN)10.1145/2656075.2656097 (DOI)000454641600008 ()978-1-4503-3051-0 (ISBN)
Conference
International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS 2014), New Delhi, India, October 12-17, 2014
Available from: 2014-12-08 Created: 2014-12-08 Last updated: 2020-06-29Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0002-4481-6795

Search in DiVA

Show all publications