Showing posts with label threads. Show all posts
Showing posts with label threads. Show all posts

Tuesday, March 11, 2014

Seven Concurrency Models in Seven Weeks: When Threads Unravel

Seven Concurrency Models in Seven Weeks
Seven Concurrency Models in Seven Weeks: When Threads Unravel
Paul Butcher (Author)

New!: $38.00 $30.97 (as of 03/11/2014 19:42 PST)

Hardware

Your software needs to leverage multiple cores, handle thousands of users and terabytes of data, and continue working in the face of both hardware and software failure. Concurrency and parallelism are the keys, and Seven Concurrency Models in Seven Weeks equips you for this new world. See how emerging technologies such as actors and functional programming address issues with traditional threads and locks development. Learn how to exploit the parallelism in your computer's GPU and leverage clusters of machines with MapReduce and Stream Processing. And do it all with the confidence that comes from using tools that help you write crystal clear, high-quality code.

This book will show you how to exploit different parallel architectures to improve your code's performance, scalability, and resilience.

Learn about the perils of traditional threads and locks programming and how to overcome them through careful design and by working with the standard library. See how actors enable software running on geographically distributed computers to collaborate, handle failure, and create systems that stay up 24/7/365. Understand why shared mutable state is the enemy of robust concurrent code, and see how functional programming together with technologies such as Software Transactional Memory (STM) and automatic parallelism help you tame it.

You'll learn about the untapped potential within every GPU and how GPGPU software can unleash it. You'll see how to use MapReduce to harness massive clusters to solve previously intractible problems, and how, in concert with Stream Processing, big data can be tamed.

With an understanding of the strengths and weaknesses of each of the different models and hardware architectures, you'll be empowered to tackle any problem with confidence.

What You Need:

The example code can be compiled and executed on *nix, OS X, or Windows. Instructions on how to download the supporting build systems are given in each chapter.

  • Rank: #34033 in Books
  • Published on: 2014-04-25
  • Original language: English
  • Number of items: 1
  • Dimensions: 9.02" h x 7.52" w x .0" l, .0 pounds
  • Binding: Paperback
  • 300 pages

Monday, March 10, 2014

Functional Programming in Java: Harnessing the Power Of Java 8 Lambda Expressions

Functional Programming in Java
Functional Programming in Java: Harnessing the Power Of Java 8 Lambda Expressions
Venkat Subramaniam (Author)

New!: $33.00 $25.82 (as of 03/10/2014 04:56 PST)
9 Used! | New! from $25.82 (as of 03/10/2014 04:56 PST)

Hardware

Get ready to program in a whole new way. Functional Programming in Java will help you quickly get on top of the new, essential Java 8 language features and the functional style that will change and improve your code. This short, targeted book will help you make the paradigm shift from the old imperative way to a less error-prone, more elegant, and concise coding style that's also a breeze to parallelize. You'll explore the syntax and semantics of lambda expressions, method and constructor references, and functional interfaces. You'll design and write applications better using the new standards in Java 8 and the JDK.

Print books will be available after the final version of Java 8 is released.

Lambda expressions are lightweight, highly concise anonymous methods backed by functional interfaces in Java 8. You can use them to leap forward into a whole new world of programming in Java. With functional programming capabilities, which have been around for decades in other languages, you can now write elegant, concise, less error-prone code using standard Java. This book will guide you though the paradigm change, offer the essential details about the new features, and show you how to transition from your old way of coding to an improved style.

In this book you'll see popular design patterns, such as decorator, builder, and strategy, come to life to solve common design problems, but with little ceremony and effort. With these new capabilities in hand, Functional Programming in Java will help you pick up techniques to implement designs that were beyond easy reach in earlier versions of Java. You'll see how you can reap the benefits of tail call optimization, memoization, and effortless parallelization techniques.

Java 8 will change the way you write applications. If you're eager to take advantage of the new features in the language, this is the book for you.

What you need:

Java 8 with support for lambda expressions and the JDK is required to make use of the concepts and the examples in this book.

  • Rank: #40513 in Books
  • Published on: 2014-03-01
  • Original language: English
  • Number of items: 1
  • Dimensions: .42" h x 7.50" w x 9.25" l, .76 pounds
  • Binding: Paperback
  • 160 pages

Monday, September 16, 2013

Intel{R} Xeon Phi Coprocessor Architecture and Tools: The Guide for Application Developers

IntelA{R} Xeon PhiA Coprocessor Architecture and Tools
Intel{R} Xeon Phi Coprocessor Architecture and Tools: The Guide for Application Developers
Rezaur Rahman (Author)

New!: $24.99 $20.58 (as of 09/15/2013 23:07 PST)
19 Used! | New! from $18.16 (as of 09/15/2013 23:07 PST)

Hardware

Intel® Xeon Phi™ Coprocessor Architecture and Tools: The Guide for Application Developers provides developers a comprehensive introduction and in-depth look at the Intel Xeon Phi coprocessor architecture and the corresponding parallel data structure tools and algorithms used in the various technical computing applications for which it is suitable. It also examines the source code-level optimizations that can be performed to exploit the powerful features of the processor.

Xeon Phi is at the heart of world’s fastest commercial supercomputer, which thanks to the massively parallel computing capabilities of Intel Xeon Phi processors coupled with Xeon Phi coprocessors attained 33.86 teraflops of benchmark performance in 2013. Extracting such stellar performance in real-world applications requires a sophisticated understanding of the complex interaction among hardware components, Xeon Phi cores, and the applications running on them.

In this book, Rezaur Rahman, an Intel leader in the development of the Xeon Phi coprocessor and the optimization of its applications, presents and details all the features of Xeon Phi core design that are relevant to the practice of application developers, such as its vector units, hardware multithreading, cache hierarchy, and host-to-coprocessor communication channels. Building on this foundation, he shows developers how to solve real-world technical computing problems by selecting, deploying, and optimizing the available algorithms and data structure alternatives matching Xeon Phi’s hardware characteristics. From Rahman’s practical descriptions and extensive code examples, the reader will gain a working knowledge of the Xeon Phi vector instruction set and the Xeon Phi microarchitecture whereby cores execute 512-bit instruction streams in parallel.

What you’ll learn

 

  • How to calculate theoretical Gigaflops and bandwidth numbers on the hardware and measure them through code segment
  • How to estimate latencies in fetching data from different cache hierarchies, including memory subsystems
  • How to measure PCIe bus bandwidth between the host and coprocessor
  • How to exploit power management and reliability features built into the hardware
  • How to select and manipulate the best tools to tune particular Xeon Phi applications
  • Algorithms and data structures for optimizing Xeon Phi performance
  • Case studies of real-world Xeon Phi technical computing applications in molecular dynamics and financial simulations

 

 

Who this book is for

This book is for developers wishing to design and develop technical computing applications to achieve the highest performance available in the Intel Xeon Phi coprocessor hardware. It provides a solid base on the coprocessor architecture, as well as algorithm and data structure case studies for Xeon Phi coprocessor. The book may also be of interest to students and practitioners in computer engineering as a case study for massively parallel core microarchitecture of modern day processors.

Table of Contents

1.  Introduction to Xeon Phi Architecture

2.  Programming Xeon Phi

3.  Xeon Phi Vector Architecture and Instruction Set

4.  Xeon Phi Core Microarchitecture

5.  Xeon Phi Cache and Memory Subsystem

6.  Xeon Phi PCIe Bus Data Transfer and Power Management

7.  Xeon Phi System Software

8.  Xeon Phi Application Development Tools

9.  Xeon Phi Application Design and Implementation Considerations

10.  Application Performance Tuning on Xeon Phi

11.  Algorithms and Data Structures for Xeon Phi

12.  Xeon Phi Application Development on Windows OS

13.  OpenCL on Intel

14.  Shared Memory Programming on Intel Xeon Phi

 

  • Rank: #111059 in Books
  • Published on: 2013-09-04
  • Original language: English
  • Number of items: 1
  • Dimensions: 9.09" h x 7.40" w x .47" l, .85 pounds
  • Binding: Paperback
  • 232 pages

Tuesday, March 19, 2013

Intel Xeon Phi Coprocessor High Performance Programming

Intel Xeon
Intel Xeon Phi Coprocessor High Performance Programming
James Jeffers (Author), James Reinders (Author)

New!: $59.95 $44.80 (as of 03/19/2013 13:28 PST)
15 Used! | New! from $44.80 (as of 03/19/2013 13:28 PST)

Hardware

Authors Jim Jeffers and James Reinders spent two years helping educate customers about the prototype and pre-production hardware before Intel introduced the first Intel Xeon Phi coprocessor. They have distilled their own experiences coupled with insights from many expert customers, Intel Field Engineers, Application Engineers and Technical Consulting Engineers, to create this authoritative first book on the essentials of programming for this new architecture and these new products.

This book is useful even before you ever touch a system with an Intel Xeon Phi coprocessor. To ensure that your applications run at maximum efficiency, the authors emphasize key techniques for programming any modern parallel computing system whether based on Intel Xeon processors, Intel Xeon Phi coprocessors, or other high performance microprocessors. Applying these techniques will generally increase your program performance on any system, and better prepare you for Intel Xeon Phi coprocessors and the Intel MIC architecture.


    • A practical guide to the essentials of the Intel Xeon Phi coprocessor
    • Presents best practices for portable, high-performance computing and a familiar and proven threaded, scalar-vector programming model
    • Includes simple but informative code examples that explain the unique aspects of this new highly parallel and high performance computational product
    • Covers wide vectors, many cores, many threads and high bandwidth cache/memory architecture

    • Rank: #26364 in Books
    • Published on: 2013-03-01
    • Original language: English
    • Number of items: 1
    • Dimensions: 9.25" h x .98" w x 7.52" l, 1.60 pounds
    • Binding: Paperback
    • 432 pages