Click here to Skip to main content
15,936,988 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionVB6.0 to VB.NET Pin
sntkn18-Dec-08 20:11
sntkn18-Dec-08 20:11 
AnswerRe: VB6.0 to VB.NET Pin
Oshtri Deka18-Dec-08 21:13
professionalOshtri Deka18-Dec-08 21:13 
AnswerRe: VB6.0 to VB.NET Pin
Dragonfly_Lee24-Dec-08 19:01
Dragonfly_Lee24-Dec-08 19:01 
NewsFree Help from Microsoft for Your Windows Client Applications Pin
brucedkyle18-Dec-08 19:03
brucedkyle18-Dec-08 19:03 
QuestionThreadPool not executing queued jobs Pin
Helfdane18-Dec-08 3:14
Helfdane18-Dec-08 3:14 
AnswerRe: ThreadPool not executing queued jobs Pin
led mike18-Dec-08 7:05
led mike18-Dec-08 7:05 
GeneralRe: ThreadPool not executing queued jobs Pin
Helfdane18-Dec-08 21:53
Helfdane18-Dec-08 21:53 
GeneralRe: ThreadPool not executing queued jobs Pin
led mike19-Dec-08 7:15
led mike19-Dec-08 7:15 
Helfdane wrote:
the MSDN documentation where they mention that 25 threads per core is the max ideal number where the overhead would still be smaller than the improvement per thread.

Yes but for what use model? Threading is mostly related to multi-user processing. You want to maximize threads in that use model to share the compute cycles across users so that they don't wait one at a time for a reply. This is not your use model.
Helfdane wrote:
why the threads are not working (are they on hold/in wait?)

Debugging threaded code is difficult when you are there, we are not. We are mostly guessing at this based on the information you have provided. One thing we do not know is how many jobs you queued. You threw out some numbers like 15 million. That's a large number for a PC. Given your use model I would research using two threads and a design that allows each thread to process half the calculations.

Resources are another issue when you start talking numbers like 15 million. I would wonder how much resources each calculation requires, I mean if there is some source data used for each calculation and you load all 15 million calculation resources at once you probably start having a lot of paging which slows everything down, as opposed to getting the resources only when needed.

I don't know what your experience and background is but writing efficient code requires a lot of in depth knowledge and experience. You have to understand hardware as well as software. Most of that is beyond my expertise, but I do understand you can't just read a threading article to get up to speed.



led mike

GeneralRe: ThreadPool not executing queued jobs Pin
Helfdane21-Dec-08 23:27
Helfdane21-Dec-08 23:27 
AnswerRe: ThreadPool not executing queued jobs Pin
Dave Kreskowiak18-Dec-08 8:21
mveDave Kreskowiak18-Dec-08 8:21 
GeneralRe: ThreadPool not executing queued jobs Pin
led mike18-Dec-08 8:35
led mike18-Dec-08 8:35 
GeneralRe: ThreadPool not executing queued jobs Pin
Dave Kreskowiak18-Dec-08 9:03
mveDave Kreskowiak18-Dec-08 9:03 
GeneralRe: ThreadPool not executing queued jobs Pin
led mike18-Dec-08 9:05
led mike18-Dec-08 9:05 
QuestionRoaming AND local settings ? Pin
koosquarto17-Dec-08 23:23
koosquarto17-Dec-08 23:23 
Questionwinsock error 10014 Plz help Pin
abhiabstract16-Dec-08 14:22
abhiabstract16-Dec-08 14:22 
AnswerRe: winsock error 10014 Plz help Pin
Dave Kreskowiak16-Dec-08 17:35
mveDave Kreskowiak16-Dec-08 17:35 
AnswerRe: winsock error 10014 Plz help Pin
Paul Conrad17-Dec-08 5:31
professionalPaul Conrad17-Dec-08 5:31 
QuestionCS file invocation at the end of task? Pin
NetQuestions16-Dec-08 6:52
NetQuestions16-Dec-08 6:52 
AnswerRe: CS file invocation at the end of task? Pin
Dave Kreskowiak16-Dec-08 8:58
mveDave Kreskowiak16-Dec-08 8:58 
QuestionFree or opensource versioning tool for Visual Studio 2008 Pin
Azghar Hussain16-Dec-08 3:20
professionalAzghar Hussain16-Dec-08 3:20 
AnswerRe: Free or opensource versioning tool for Visual Studio 2008 Pin
AndrewSmith16-Dec-08 6:10
AndrewSmith16-Dec-08 6:10 
GeneralRe: Free or opensource versioning tool for Visual Studio 2008 Pin
Azghar Hussain16-Dec-08 17:23
professionalAzghar Hussain16-Dec-08 17:23 
GeneralRe: Free or opensource versioning tool for Visual Studio 2008 Pin
Simon P Stevens16-Dec-08 21:39
Simon P Stevens16-Dec-08 21:39 
QuestionAdding button at runtime in MDI Pin
NetQuestions16-Dec-08 2:02
NetQuestions16-Dec-08 2:02 
AnswerRe: Adding button at runtime in MDI Pin
Simon P Stevens16-Dec-08 2:58
Simon P Stevens16-Dec-08 2:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.