Home » Developing U++ » U++ Developers corner » MT anomaly...
Re: MT anomaly... [message #15844 is a reply to message #15324] |
Sun, 11 May 2008 19:18 |
|
tvanriper
Messages: 85 Registered: September 2007 Location: Germantown, MD, USA
|
Member |
|
|
Maybe I'm totally off-base here, and I haven't looked at the code, but are you multi-threading at the kernel or user level?
If you're using the POSIX library calls, you're probably multi-threading through user level threading, which means you probably won't get at multiple cores. You're still multi-threading, but at the user level, you can't get at the other core; that requires a system call of some kind that most user level libraries know nothing about.
If you're using the system calls that Linux offers (kernel level threading), then I don't know why you're seeing this kind of performance; you should be seeing both cores used.
|
|
|
Goto Forum:
Current Time: Mon Apr 29 12:40:58 CEST 2024
Total time taken to generate the page: 0.02674 seconds
|