Subject:
|
Re: Any LDView users with quad-core machine?
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Wed, 12 Mar 2008 16:55:11 GMT
|
Viewed:
|
10494 times
|
| |
| |
In lugnet.cad.dev, Kevin L. Clague wrote:
> Hi Travis,
>
> Congratulations on getting SMP working in LDView.
Thanks.
> If you can run on Solaris, I have an 8 core with 8 hardware thread box in my
> office I could try things on. Maybe you'll only use 32 given the above
> algorithm.
Yowza! In theory it will run on Solaris as long as QT 3.3 is installed, but I'm
not sure if anyone has tried that. Note also that it would have to be a 32 bit
compile, which may or may not be easy on Solaris. The current source also needs
libjpg, libpng, and boost to be installed in order to build. If you want to try
building it, or can give me a user account to do it myself, it would certainly
be cool.
On your box, it would in theory use 34 total threads (1 foreground thread, 32
background threads for conditionals, and 1 background thread for sorting).
Having said that, the sorting generally takes very little time, so it wouldn't
be very apparent that that thread was using a processor. Also, unless you have
a heinously fast graphics card (probably faster than any in existence), the
conditional calculations aren't going to keep 32 cores busy for the time it
takes to draw the rest of the model. My dual-core Athlon can basically get the
conditionals calculated in the background fast enough that performance with and
without conditionals is very similar. That means that I'm being limited by my
video card (an nVidia 7800GT).
Also, while I believe my code that detects the number of available processors
will work on a Solaris box, it of course hasn't been tested there. (I use
sysconf(_SC_NPROCESSORS_ONLN) if _SC_NPROCESSORS_ONLN is defined, and
sysconf(_SC_NPROCESSORS_CONF) if _SC_NPROCESSORS_CONF is defined but
_SC_NPROCESSORS_ONLN isn't defined or the other sysconf returns -1. (The first
is the number of processors online; the second is the number of processors on
the machine.) I don't know if these would return 8 or 64, though.
> I have access to a two processor chip machine with 2x8x8 strands that I might
> be able to boot Solaris on.
What does that machine have on it? The 8-core 8-thread processors are Sparcs,
right?
--Travis
|
|
Message has 1 Reply: | | Re: Any LDView users with quad-core machine?
|
| (...) Hi Travis, Qt 4 provides threads. It can tell you how many ideal threads there are (presumably the number of hardware strands). Yes, the instruction set is SPARC, with 64 bit integer registers (31 of those), plus the usual 32, 64, 128 bit (...) (17 years ago, 12-Mar-08, to lugnet.cad.dev)
|
Message is in Reply To:
| | Re: Any LDView users with quad-core machine?
|
| (...) Hi Travis, Congratulations on getting SMP working in LDView. If you can run on Solaris, I have an 8 core with 8 hardware thread box in my office I could try things on. Maybe you'll only use 32 given the above algorithm. I have access to a two (...) (17 years ago, 12-Mar-08, to lugnet.cad.dev)
|
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|