On the Performance and Energy Efficiency of Fpgas and Gpus For

On the Performance and Energy Efficiency of Fpgas and Gpus For

International Conference on ReConFigurable Computing and FPGAs, Mexico, 2014. On the Performance and Energy Efficiency of FPGAs and GPUs for Polyphase Channelization Vignesh Adhinarayanan∗, Thaddeus Koehny, Krzysztof Kepay, Wu-chun Feng∗y, Peter Athanasy ∗Department of Computer Science, yDepartment of Electrical and Computer Engineering Virginia Polytechnic Institute and State University, Blacksburg, U.S.A. favignesh, tkoehn, kepa, wfeng, [email protected] Abstract—Wideband channelization is an important and com- the application characteristics can significantly affect the putationally demanding task in the front-end subsystem of several performance and energy efficiency obtained in practice. We software-defined radios (SDRs). The hardware that supports this seek to understand the differences in performance and energy task should provide high performance, consume low power, and allow flexible implementations. Several classes of devices have efficiency in low-power FPGAs and mobile GPUs while been explored in the past, with the FPGA proving to be the performing wideband channelization using a polyphase filter most popular as it reasonably satisfies all three requirements. bank (PFB) channelizer for a range of problem sizes. Our key However, the growing presence of low-power mobile GPUs holds contributions include the following: much promise with improved flexibility for instant adaptation to different standards. • Optimized circuit architectures for FPGA implementa- Thus, in this paper, we present optimized polyphase chan- tions of a polyphase channelizer that trades off accuracy nelizations for the FPGA and GPU, respectively, that must for performance. consider power and accuracy requirements in the context of • An optimized implementation of the PFB channelizer on a military application. The performance in mega-samples per a discrete GPU and an integrated GPU. second (MSPS) and energy efficiency in MSPS/watt are compared between the two classes of hardware platforms: FPGA and GPU. • A comparison of FPGAs and GPUs with respect to per- The results show that by exploiting the flexible datapath width formance, energy efficiency (i.e., performance per watt), of FPGAs, FPGA implementations generally deliver an order-of- and performance per dollar at varying channel sizes and magnitude better performance and energy efficiency over fixed- precision levels. width GPU architectures. The results show that the optimized FPGA implementation outperforms the optimized GPU implementations by a factor I. INTRODUCTION of 11.0-12.3 in performance and by a factor of 7.8-12.0 in Wideband channelizers are widely used in software-defined energy efficiency in most cases. The main reason for this radios (SDRs) to extract channels from a wideband spec- large difference is that GPUs are optimized for floating- trum. Military applications such as communication intelli- point performance and cannot obtain benefits by using fixed- gence (COMINT) and signal intelligence (SIGINT) use these point reduced-precision computations when applications re- channelizers for real-time demodulation of wideband spread quire only limited accuracy, such as in PFB channelization [6]. spectrum signals [1]. For the channelizers to be useful in In terms of performance per dollar, the GPUs were 2.35-fold such scenarios, the underlying hardware should be capable of better than the FPGAs. providing high performance under small power budgets while The rest of the paper is organized as follows. Section II allowing flexibility through reconfiguration [2]–[5]. covers background on the PFB channelizer, GPU architecture, Past research with several devices such as ASICs, multi- and FPGA architecture. The optimized FPGA and GPU core CPUs, CellBE, and GPGPUs have shown that utmost implementations are presented in Sections III and IV, two out of the three requirements (performance, power, and respectively. Results are discussed in V. Related work is flexibility) can be met simultaneously [6]–[9]. FPGAs, on the presented in Section VI and conclusion in Section VII. other hand, can provide the necessary performance under the required power budget. Though adapting to different standards instantaneously remains a problem for the FPGAs owing to the II. BACKGROUND time consuming reconfiguration process, static reconfiguration In this section, we present the following background ma- at the site remains an option. Considering the limitations of terial to provide context for the rest of the paper: polyphase the alternatives, FPGAs remain the most popular choice. filter bank (PFB) channelization, FPGA architecture, and GPU Advances in mobile graphics processors promise high per- architecture. formance, low power consumption and instant adaptability to different standards required for SDRs with the additional A. Polyphase Filter Bank (PFB) Channelization advantage of significantly reduced monetary costs. However, Polyphase filter bank (PFB) channelization (Fig. 1) is an Adhinarayanan and Koehn contributed to this work equally. efficient technique to extract channels from a wideband sig- 978-1-4799-5944-0/14/$31.00 c 2014 IEEE 1 International Conference on ReConFigurable Computing and FPGAs, Mexico, 2014. nal [10]. The major stages within PFB are briefly described pipelined multipliers that have been optimized to perform at below: clock speeds of 500MHz and greater. In the Virtex 6 and 7, pipelined multipliers are combined with both pre- and X(n) post-adders specifically for digital signal processing (DSP) -1 Z Digital Down y0(n) H (n) applications. They are especially useful in filters where the Conversion 0 additions can be performed in dedicated hardware. Z-1 Digital Down y (n) Implementing an algorithm involves combining these re- H (n) 1 Conversion 0 sources in an efficient manner such that resources are balanced M-point . and timing constraints can be met. There are many tools for . FFT . FPGA design. At a low level, similar to assembly for a CPU, Z-1 are hardware description languages (HDL), which describe Digital Down y (n) H (n) M-1 the hardware at the register-transfer level (RTL). Dedicated Conversion M-1 hardware components, such as block memory or multiplier, can be specified or can be inferred in synthesis. There are also many tools that have been developed to Fig. 1. Polyphase filter bank (PFB) channelizer. Wideband input signal is divided into M equally spaced channels. The first block represents FIR filter decrease the time and difficulty of using such a low-level banks and the second block represents FFT. language. These tools include pre-generated cores as well as graphical user interfaces (GUIs), like the Xilinx System FIR Filtering. In the first stage, a number of finite impulse Generator, which abstract the hardware to a higher level. At response (FIR) filters operate in parallel. Each filter performs this level, the designer is generally working with higher-level a dot product on the filter taps and input signal. The output components such as an FFT block or an FIR filter block. The of an FIR filter can be mathematically written as system generator is a library of higher-level components; they T have been parametrized to allow the designer to construct their X design more easily. These tools can save a significant amount y(n) = tix(n − i) i=1 of time, but they restrict the flexibility of the device, and thus, an optimal algorithm may be impossible at this level. In where x(n) and y(n) represent input and output signals at practical terms, this results in a design that may require more time n; t , the filter coefficients; T , the number of taps. i power. Also, these tools are impractical for designs requiring FFT. The fast Fourier transform (FFT) transforms the input throughputs greater than the base clock speed. signal from the time domain to the frequency domain. As shown in Fig. 2, this stage has the highest computational C. GPU Architecture complexity requiring O(N log N) computations per iteration, GPUs consist of one or more compute units (CU) and where N is the number of points, and takes the most time. each CU consists of an array of processing elements (PE). Mathematically, the output of an FFT operation can be written In our target devices, each PE is made up of multiple ALUs, as N−1 which can all be simultaneously used via a VLIW instruction. X −i2πk n The GPU’s memory hierarchy is made up of five types of Xk = x(n)e N n=0 memory: private, constant, local, image, global. The peak read bandwidth of the different types of memory is shown where x(n) and X(k) represent input and output. in Table I. 100 Memory Type Peak Read BW Private 48 bytes/cycle Constant 16 bytes/cycle 75 Local 8 bytes/cycle Stage Image 4 bytes/cycle 50 FFT FIR Global 0.6 bytes/cycle TABLE I 25 PEAK READ BANDWIDTH OF DIFFERENT MEMORY TYPES Avg. operations/sample Avg. 0 128 256 512 1024 2048 4096 8192 Channels GPUs can be programmed through OpenCL, which is Fig. 2. Number of operations per sample vs. number of channels. an open standard framework for programming a variety of devices, including CPUs, APUs (i.e., accelerated processing units), and co-processors like Intel Xeon Phi. An application B. FPGA Architecture written in OpenCL is composed of several OpenCL threads FPGAs contain large amounts of configurable logic and known as work-items. The application is mapped onto the memory along with a significant amount of silicon area GPU as follows. Work-items map to PEs with multiple ALUs, dedicated to interconnects. Modern devices also contain highly which makes vectorization necessary. A group of work-items 2 International Conference on ReConFigurable Computing and FPGAs, Mexico, 2014. make up a work-group and can share the fast local memory for channelizer. First, because it breaks each FFT into a smaller communication within a work-group. A collection of 64 work- FFT, each a power of two, it allows the channelizer size to items (in AMD GPUs) make a wavefront which is mapped to be easily parameterized into any power of two.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us