Re: Debuging A MFC project Highily multithreaded and Realtime
- From: "Panks" <pankajiq@xxxxxxxxxxx>
- Date: 3 Oct 2006 11:07:34 -0700
Hi Joe
Thanks for comment. let me tell ya abt scenario in my project. Here
each thread represent an object (Trading symbol) montioring activity of
market realtime. These are hyper active entities any delay due to
queuing or any subclassificatiuon in threads may disrupt the buisness
logice. Hence bunching them will degrade buisness logic implementation
and my users performance expectation.
Pankaj
Joseph M. Newcomer wrote:
Use a tiny fraction of those threads. I can't imagine a problem that could use 500
threads.
Of course, if you wanted to report something meaningful, you would probably specify what
the crash was, instead of the vague and meaningless term "crash". Without that critical
knowledge, it is impossible to guess what has happened.
Note that if you have compute bound threads, you can't effectively use more threads than
you have CPUs. In fact, your performance goes DOWN if you use more threads.
Consider changing the architecture. But in the future, if you want to report a problem,
report what actually happens! Nothing is more meaningless than the word "crash" as the
complete and total description of a failure.
I suggest downloading WinDbg from the Microsoft site, installing it, and using !analyze -v
to analyze the crash dump and tell us what it says.
joe
On 27 Sep 2006 13:19:30 -0700, "Panks" <pankajiq@xxxxxxxxxxx> wrote:
HI GuysJoseph M. Newcomer [MVP]
I need some help with debugging a multithreaded application. It has
currentily 500 Concurrent threads running. When i try debugging in VC++
IDE with all threads my system crashes. I am new to multithreading. Can
some one give me idea how to develop a debugger module or any built in
tool to debug my application.
Thanks
Pankaj
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Debuging A MFC project Highily multithreaded and Realtime
- From: Scott McPhillips [MVP]
- Re: Debuging A MFC project Highily multithreaded and Realtime
- References:
- Re: Debuging A MFC project Highily multithreaded and Realtime
- From: Joseph M . Newcomer
- Re: Debuging A MFC project Highily multithreaded and Realtime
- Prev by Date: Re: Embedding Simple MFC GUI app into website
- Next by Date: Re: Missing Focus Rect
- Previous by thread: Re: Debuging A MFC project Highily multithreaded and Realtime
- Next by thread: Re: Debuging A MFC project Highily multithreaded and Realtime
- Index(es):
Relevant Pages
|