Click here to Skip to main content
15,890,741 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to find a Node in treeview Pin
Richard MacCutchan26-Jul-11 4:52
mveRichard MacCutchan26-Jul-11 4:52 
AnswerRe: How to find a Node in treeview Pin
PIEBALDconsult26-Jul-11 8:44
mvePIEBALDconsult26-Jul-11 8:44 
AnswerRe: How to find a Node in treeview Pin
Shameel26-Jul-11 18:29
professionalShameel26-Jul-11 18:29 
GeneralRe: How to find a Node in treeview Pin
NarVish26-Jul-11 19:55
NarVish26-Jul-11 19:55 
AnswerRe: How to find a Node in treeview Pin
BillWoodruff27-Jul-11 20:18
professionalBillWoodruff27-Jul-11 20:18 
QuestionUpload file usin MTOM Pin
abbd26-Jul-11 0:11
abbd26-Jul-11 0:11 
AnswerRe: Upload file usin MTOM Pin
OriginalGriff26-Jul-11 9:12
mveOriginalGriff26-Jul-11 9:12 
QuestionOptimize the maximum number of threads Pin
devvvy25-Jul-11 22:58
devvvy25-Jul-11 22:58 
A rather philosophical question - "How to optimize the maximum number of threads housed by a thread pool/application process?"

Couple thoughts came to my mind:
OPTION 1: # core x # CPU = # threads
Example, Quad core dual CPUs, 4 x 2 = 8 threads

This way, each core gets assigned a thread? But if work load primarily comprises of execution of SQL stored procedures which actually runs on another machine, makes senses to spin off even more threads so calls are routed/started ASAP.

OPTION 2: Initialize thread pool by setting # threads = # core x # CPU
Then self adjust daily and monitor work completion history/duration.
Self tuning has advantage that it doesn't matter whether actual work is done on *this* server or *another* server or a mix between two, it'd tune autonomously.

But in any case, say Quad core dual CPUs, 4 x 2 = 8 threads ---> We can always allocate more threads but does it make any sense? Remember threads executions really are time slices of avail CPU/system resources.

How do you optimize thread pool size?
dev

AnswerRe: Optimize the maximum number of threads Pin
BobJanova25-Jul-11 23:54
BobJanova25-Jul-11 23:54 
GeneralRe: Optimize the maximum number of threads Pin
Dave Kreskowiak26-Jul-11 1:59
mveDave Kreskowiak26-Jul-11 1:59 
GeneralRe: Optimize the maximum number of threads Pin
BobJanova26-Jul-11 7:33
BobJanova26-Jul-11 7:33 
GeneralRe: Optimize the maximum number of threads Pin
Dave Kreskowiak26-Jul-11 8:58
mveDave Kreskowiak26-Jul-11 8:58 
GeneralRe: Optimize the maximum number of threads Pin
BobJanova26-Jul-11 10:21
BobJanova26-Jul-11 10:21 
GeneralRe: Optimize the maximum number of threads Pin
Dave Kreskowiak26-Jul-11 10:32
mveDave Kreskowiak26-Jul-11 10:32 
QuestionSorting on column, using mvccontrib lib [modified] Pin
omgerik25-Jul-11 22:42
omgerik25-Jul-11 22:42 
AnswerRe: Sorting on column, using mvccontrib lib Pin
omgerik26-Jul-11 2:08
omgerik26-Jul-11 2:08 
QuestionCreat New Security Group At AD Pin
treuveni25-Jul-11 21:33
treuveni25-Jul-11 21:33 
SuggestionRe: Creat New Security Group At AD Pin
Shameel25-Jul-11 23:54
professionalShameel25-Jul-11 23:54 
GeneralRe: Creat New Security Group At AD Pin
treuveni25-Jul-11 23:57
treuveni25-Jul-11 23:57 
GeneralRe: Creat New Security Group At AD Pin
Shameel27-Jul-11 1:52
professionalShameel27-Jul-11 1:52 
AnswerRe: Creat New Security Group At AD Pin
Dave Kreskowiak26-Jul-11 1:53
mveDave Kreskowiak26-Jul-11 1:53 
GeneralRe: Creat New Security Group At AD Pin
treuveni26-Jul-11 4:57
treuveni26-Jul-11 4:57 
QuestionStrange Syntax- public string NewPassword { get; set; }and more Pin
Bram van Kampen25-Jul-11 15:33
Bram van Kampen25-Jul-11 15:33 
AnswerRe: Strange Syntax- public string NewPassword { get; set; }and more Pin
PIEBALDconsult25-Jul-11 16:06
mvePIEBALDconsult25-Jul-11 16:06 
AnswerRe: Strange Syntax- public string NewPassword { get; set; }and more Pin
Mark Salsbery25-Jul-11 17:44
Mark Salsbery25-Jul-11 17:44 

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.