Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4581730
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:58:14+00:00 2026-05-21T20:58:14+00:00

There are several ways/method to improve the performance of the HPC applications. One of

  • 0

There are several ways/method to improve the performance of the HPC applications. One of the method is to fine tune the application based on the hardware architecture. This kind of fine tuning is mostly done on multicore architecture. In order to use this method, one should really understand the underlying hardware architecture such as memory, no.of sockets, no.of cores per socket, L1/L2 cache, GFlops, etc…

Even though these technical terms looks familiar, I still don’t have a clear understanding of what exactly it means in terms of the performance of the application.

Can anyone suggest a good place/book from where I can understand the hardware architecture in terms of the performance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T20:58:15+00:00Added an answer on May 21, 2026 at 8:58 pm

    It is very important to tune the code to the target hardware architecture. However, unless you have lots of time and resources, this is impossible to do for the wide variety of systems available.

    Optimization follows the 80-20 rule. You get 80% benefit with 20% of effort. Beyond that, your returns will start to diminish.

    Here is the process I follow:
    1) Obtain the best compiler for your target architecture. Sometimes GNU maybe the best compiler for a particular platform, dont be surprised.
    2) Read through the “code optimization” section for the compiler.
    3) Identify the right flags to generate the best code for the target platform. However, make sure you validate the results of the code with every level of optimization you try. Higher optimization levels will affect the correctness of the code.
    4) Make sure any libraries you need are optimized for that system. For ex, math libraries, BLAS libraries etc.
    5) Pay special attention to platform specific hardware features, like SSE (SIMD), number of cores or accelerators. YOu may need to modify your code or provide hints to the compiler to optimize the code better for these features.

    You will have to do this for every target platform. By this time you should see the maximum benefit with minimal effort.

    If you need to extract more performance, it almost always demands you rewrite your code to make sure the hardware features are fully exploited.

    No, there are no books for this. The closest is “optimization manuals” generally provided free of cost by the vendor (IBM redbooks, Intel, AMD, Cray).

    Ex:
    support.amd.com/us/Processor_TechDocs/25112.PDF
    http://www.intel.com/products/processor/manuals/
    http://www.ibm.com/developerworks/wikis/download/attachments/137167333/Power6_optimization.pdf?version=1

    These are the most valid resources for these platforms. You should aim to find out such resources for your target platform.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are several possible ways of getting the path to the application data directory:
There are several ways google throws at me for checking if a file is
There are several different ways I can initialize complex objects (with injected dependencies and
There are several questions discussing ways in which progress indication can be added to
There are several threads on this here at SO but I didn't find one
Setting: A pseudo-random pattern has to be generated. There are several ways / or
In .NET, there appears to be several ways to get the current Windows user
There seem to be several ways to structure parent poms in a multiproject build
There are several standard ways to make a class hashable, for example (borrowing from
There are several ways to construct an immutable list in Scala (see contrived example

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.