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

C#

 
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 
AnswerRe: Optimize the maximum number of threads Pin
BobJanova25-Jul-11 23:54
BobJanova25-Jul-11 23:54 
The maximum number of threads which can be executing at once is the number of cores available. (Any more than that and you are time slicing.) Threads which are in waits don't count (including asynchronous UI/network calls). Threads are relatively cheap* to create so there is no problem with having your pool, say, twice the size of the maximum number of simultaneous threads.

Once you start getting into large scale multithreading, though, your performance issues are not related to full use of the CPU, but marshalling shared data, synchronisation between threads and making best use of the cores' caches. Optimising your data partitioning is likely to be a better place to gain speed than the thread count.

(*: Relatively. Don't create 200 threads. But a modern OS can handle 20 threads from your application without noticing.)
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 
AnswerRe: Strange Syntax- public string NewPassword { get; set; }and more Pin
Matt Meyer26-Jul-11 5:30
Matt Meyer26-Jul-11 5:30 

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.