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

.NET (Core and Framework)

 
AnswerRe: So I can't build a Winforms App in F#? Pin
Richard MacCutchan20-Apr-11 23:00
mveRichard MacCutchan20-Apr-11 23:00 
AnswerRe: So I can't build a Winforms App in F#? Pin
Richard A. Dalton29-Apr-11 0:54
Richard A. Dalton29-Apr-11 0:54 
QuestionHow to open Perl files / Perl Module files in Design Layout Pin
sr15919-Apr-11 23:41
sr15919-Apr-11 23:41 
AnswerRe: How to open Perl files / Perl Module files in Design Layout Pin
jschell20-Apr-11 7:56
jschell20-Apr-11 7:56 
QuestionDiagramming tool Using WPF...is it the right choice? Pin
Bharat Mane19-Apr-11 23:29
Bharat Mane19-Apr-11 23:29 
AnswerRe: Diagramming tool Using WPF...is it the right choice? Pin
RobCroll24-Apr-11 5:18
RobCroll24-Apr-11 5:18 
GeneralRe: Diagramming tool Using WPF...is it the right choice? Pin
Bharat Mane24-Apr-11 17:41
Bharat Mane24-Apr-11 17:41 
Question'Load balancing' CPU cores in multithreaded applications [modified] Pin
CDP180218-Apr-11 19:54
CDP180218-Apr-11 19:54 
Hello,

I am working on a GUI for XNA. I deliberately work on an older computer with a GeForce 7900 graphics card, so that I run into performance issues quicker than on a more up to date system. There is a small testing application that displays a GUI window with controls over an animated 3D scene. Here is a screenshot (sorry for the models, I'm not much of an artist):

http://img829.imageshack.us/i/screenshotja.jpg/[^]

Most work is done in two threads. One does the rendering, the other one is the UI thread. I have noticed, that both threads are always running on the same CPU core. For testing this is great. It forces me to do some profiling and refactoring when the CPU hits the ceiling. Under normal circumstances I would prefer to have the rendering thread on one core and the UI thread on the other. This way both thread would have lots of reserves left and should never get into any performance problems.

The problem is that I don't appear to have much influence on where the system schedules the threads. Am I overlooking something? Is there a way to make more efficient use of the CPU cores?


Edit: Sorry, I forgot: Pls gimme codez. Its urgentz. Smile | :)
"I just exchanged opinions with my boss. I went in with mine and came out with his." - me, 2011
---
I am endeavoring, Madam, to construct a mnemonic memory circuit using stone knives and bearskins - Mr. Spock 1935 and me 2011



modified on Tuesday, April 19, 2011 2:17 AM

AnswerRe: 'Load balancing' CPU cores in multithreaded applications Pin
Bernhard Hiller18-Apr-11 20:38
Bernhard Hiller18-Apr-11 20:38 
GeneralRe: 'Load balancing' CPU cores in multithreaded applications Pin
CDP180218-Apr-11 22:22
CDP180218-Apr-11 22:22 
AnswerRe: 'Load balancing' CPU cores in multithreaded applications Pin
GenJerDan19-Apr-11 4:03
GenJerDan19-Apr-11 4:03 
GeneralRe: 'Load balancing' CPU cores in multithreaded applications Pin
CDP180219-Apr-11 4:07
CDP180219-Apr-11 4:07 
GeneralRe: 'Load balancing' CPU cores in multithreaded applications Pin
GenJerDan19-Apr-11 4:17
GenJerDan19-Apr-11 4:17 
QuestionHow to get F# IDE? Pin
swampwiz14-Apr-11 6:49
swampwiz14-Apr-11 6:49 
AnswerRe: How to get F# IDE? [modified] Pin
DaveyM6914-Apr-11 9:36
professionalDaveyM6914-Apr-11 9:36 
AnswerRe: How to get F# IDE? Pin
Richard MacCutchan14-Apr-11 22:30
mveRichard MacCutchan14-Apr-11 22:30 
QuestionGenerics instead of parameters? Pin
Sander Rossel13-Apr-11 7:55
professionalSander Rossel13-Apr-11 7:55 
AnswerRe: Generics instead of parameters? Pin
jschell13-Apr-11 8:39
jschell13-Apr-11 8:39 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel13-Apr-11 11:51
professionalSander Rossel13-Apr-11 11:51 
AnswerRe: Generics instead of parameters? Pin
dasblinkenlight13-Apr-11 11:56
dasblinkenlight13-Apr-11 11:56 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel13-Apr-11 19:50
professionalSander Rossel13-Apr-11 19:50 
GeneralRe: Generics instead of parameters? Pin
dasblinkenlight14-Apr-11 5:40
dasblinkenlight14-Apr-11 5:40 
GeneralRe: Generics instead of parameters? Pin
jschell14-Apr-11 9:09
jschell14-Apr-11 9:09 
AnswerRe: Generics instead of parameters? Pin
MicroVirus14-Apr-11 1:42
MicroVirus14-Apr-11 1:42 
AnswerRe: Generics instead of parameters? Pin
Prasanta_Prince16-Apr-11 4:37
Prasanta_Prince16-Apr-11 4:37 

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.