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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:28:00+00:00 2026-05-17T17:28:00+00:00

I am having a performance sensitive .net application. It is capable of doing parallel

  • 0

I am having a performance sensitive .net application.

It is capable of doing parallel threading upto 32 threads. We have need of improving it even further. Increasing the thread may not really help since the number of failure attempts to process increases as we increase the number of threads.

My question here is,

  1. What are the options leftover to improve the performance?

  2. Would there be any possible improvement if I do run two instances of the same application each running 32 threads in parellel? Its just a wild idea considering that each application is going to be run in different AppDomains.

  • 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-17T17:28:00+00:00Added an answer on May 17, 2026 at 5:28 pm

    Your best bet is to measure performance rigorously and identify bottleneck(s) before you make any more change. Throwing extra threads or processes at the problem is unlikely to result in the best solution. Start here for extensive .Net profiler information.

    Why is 32 threads a magic number? Does that give you better throughput than 31/30/29 etc?

    What are those threads doing when they are not working? No more threads can be active at any given time than the number of processor cores in your system. If you are CPU-bound then adding more threads is counter-productive.

    How much context switching overhead is involved?

    What are your external bottleneck candidates – direct I/O, network, database? You have not yet said very much about what the app actually does.

    Do your threads share resources? A single shared data item can be a significant bottleneck and again, adding threads does not help in this case. Replace shared data by thread-local if possible.

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

Sidebar

Related Questions

I'm having performance problems when inserting many rows into a GTK treeview (using PyGTK)
We were having a performance issue in a C# while loop. The loop was
I'm having a performance issue in my Excel macro. One particular piece of code
I have a production performance issue that I'm stumped on. I'm hoping that someone
I have been using VS2010 with Resharper 5 for several weeks and am having
Will TFS performance be degraded by having too many user workspaces? Our IT group
Does having separate file for each table improve InnoDB performance in MySQL. Are there
We have a data grid on a window that is bound to a collection
Having a few problems with output buffering. Mainly, I'm trying to run output buffering
I am having problems trying to use a different MySQL database engine. (I want

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.