Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I wish I knew about this site years ago. It would have saved me a lot of heartaches..."

Geography

Where in the world do Tek-Tips members come from?

massive bad performance on a sun sparc versus x86 platform

kater96 (IS/IT--Management)
6 Jun 12 5:57
A C + + program we run on an x86 platform twice as fast as on a comparable, if not faster Sparc platform On both platforms running Solaris 10 Can you help us with regard to the Compileroption or with an other tip there.
SamBones (Programmer)
6 Jun 12 12:44
You may have to live with the difference.

Let me ask you, is the clock speed on the x86 roughly twice as fast as the clock speed of the SPARC platform? A lot of programs that are CPU intensive perform based on clock speed more than anything else. Even though the SPARC design is supposed to be "doing more" with fewer cycles, in real world applications I've found that you can predict performance by looking at the clock speed of the processors. You may be able to gain an advantage by using parallel processing or multiple threads, but a lot of times that requires a major rewrite of the program and that would benefit performance on either architecture.

This even extends to Java based apps. I've found that a Java JVM runs MUCH faster on Intel chips, regardless of the OS it's using. Again, this comes down to clock speed.

SamBones (Programmer)
6 Jun 12 12:47
On the other hand, I would look at your compiler's options. Look for any SPARC specific parameters and then try them. You may find one that gives a nice boost. Also, try the various optimization options (-O2, -O3, etc). Again, it depends on what options your compiler has available.

Despite that, I don't think you're get them equal unless you find a SPARC chip that has a clock speed similar to the Intel chip you are using.


Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close