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 6693231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:57:31+00:00 2026-05-26T05:57:31+00:00

Here is an output of Compute Visual Profiler for my kernel on GT 440:

  • 0

Here is an output of Compute Visual Profiler for my kernel on GT 440:

  • Kernel details: Grid size: [100 1 1], Block size: [256 1 1]
  • Register Ratio: 0.84375 ( 27648 / 32768 ) [35 registers per thread]
  • Shared Memory Ratio: 0.336914 ( 16560 / 49152 ) [5520 bytes per
    Block]
  • Active Blocks per SM: 3 (Maximum Active Blocks per SM: 8)
  • Active threads per SM: 768 (Maximum Active threads per SM: 1536)
  • Potential Occupancy: 0.5 ( 24 / 48 )
  • Occupancy limiting factor: Registers

Please, pay your attention to the bullets marked bold. Kernel execution time is 121195 us.

I reduced a number of registers per thread by moving some local variables to the shared memory. The Compute Visual Profiler output became:

  • Kernel details: Grid size: [100 1 1], Block size: [256 1 1]
  • Register Ratio: 1 ( 32768 / 32768 ) [30 registers per thread]
  • Shared Memory Ratio: 0.451823 ( 22208 / 49152 ) [5552 bytes per Block]
  • Active Blocks per SM: 4 (Maximum Active Blocks per SM: 8)
  • Active threads per SM: 1024 (Maximum Active threads per SM: 1536)
  • Potential Occupancy: 0.666667 ( 32 / 48 )
  • Occupancy limiting factor: Registers

Hence, now 4 blocks are simultaneously executed on a single SM versus 3 blocks in the previous version. However, the execution time is 115756 us, which is almost the same! Why? Aren’t the blocks totally independent being executed on different CUDA cores?

  • 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-26T05:57:32+00:00Added an answer on May 26, 2026 at 5:57 am

    You are implicitly assuming that higher occupancy automatically translates into higher performance. That is most often not the case.

    The NVIDIA architecture needs a certain number of active warps per MP in order to hide the instruction pipeline latency of the GPU. On your Fermi based card, that requirement translates to a minimum occupancy of about 30%. Aiming for higher occupancies than that minimum will not necessarily result in higher throughput, as the latency bottleneck can have moved to another part of the GPU. Your entry level GPU doesn’t have a lot of memory bandwidth, and it is quite possible that 3 blocks per MP is sufficient to make you code memory bandwidth limited, in which case increasing the number of blocks won’t have any effect on performance (it might even go down because of increased memory controller contention and cache misses). Further, you said you spilled variables to shared memory in order to reduce the register foot print of the kernel. On Fermi, shared memory only has about 1000 Gb/s of bandwidth, compared to about 8000 Gb/s for registers (see the link below for the microbenchmarking results which demonstrate this). So you have moved variables to slower memory, which may also have a negative effect on performance, offsetting any benefit which high occupancy affords.

    If you have not already seen it, I highly recommend Vasily Volkov’s presentation from GTC 2010 “Better performance at lower occupancy” (pdf). Here is it shown how exploiting instruction level parallelism can increase GPU throughput to very high levels at very, very low levels of occupancy.

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

Sidebar

Related Questions

I am beginner to javascript and i am getting unexpected output here is the
So here's the output of inspect on a class: <Recurly::BillingInfo::CreditCard:0x1036a8a98 @prefix_options={}, @attributes={month=>1, last_four=>1, type=>bogus,
Alright, here is the output I get: arm-none-linux-gnueabi-ld --entry=main -dynamic-linker=/system/bin/linker -rpath-link=/home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib -L/home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib -nostdlib -lstdc++
I've installed gtk2hs-buildtools with no problem, but here's the output when I try to
Here is some dprofpp -I output, for almost the same program on different input
Here is a simple program to output to a text file: #include <iostream> #include
Here is my upsert code: UPDATE LastTicket SET LastTicketNumber=LastTicketNumber+1 OUTPUT INSERTED.LastTicketNumber WHERE CategoryId='1'; IF
Here is a simple php program which gives a strange output. Can anyone explain
Here is the sample code, which produces interesting output: > gg<-data.frame(x=c(a,b),y=as.integer(c(1000,100000))) > gg x
Here is the code i wrote,when i execute the code,the terminal didn't output anything

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.