Solaris SPARC speed issue


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris SPARC speed issue
# 8  
Old 09-11-2012
Quote:
Originally Posted by Pug
1. 'hergp' is saying that if the issue is that they are using a T1 T2 type multi core SPARC than the issue is not so much the 32 vs 64 bit compile as it is the single threaded vs multi-threaded processing. Correct?
Yes.
Quote:
On Windows x86 vs X64 we found that the increase in compiling to X64 is just under 20% (comparing the running of one process on the same input data). Would you expect something similar on SPARC?
No. The gain observed when moving from x86 to x64 is generally due to the small number of registers available on x86 vs the larger one on x64. SPARC 32 bit doesn't have this deficiency.
Quote:
2. 'jlliagreis' saying that if it is possible to design our program to be multi-threaded (which I don't think we can) or if we run the program in parallel processes on different sets of data instead of in sequence, then we should be able to see some improvement. However, the amount will depend on the type of bottle neck we are experiencing (which we do not know yet). So for example, if it is straight CPU bound then we should see the best improvement, whereas if it is I/O bound then they may be less improvement, etc.
Currently, your process is likely CPU bound otherwise you wouldn't have open this thread in the first place.
Quote:
3. How do I know if we are running T1 or T2 with regard to floating point? I noticed that you said it is niagara based on the sun4v. How do I tell what T level they have?
Run
Code:
psrinfo -pv
prtdiag -v

to get the CPU model you have.
Quote:
4. What Solaris SPARC hardware would be better for doing this type of processing? I am not sure we have a choice but I am certainly curious.
SPARC64, T2+, T4
Quote:
One other things. They have two servers. One is a T2 and the other a T3 and specifically they are:SunOS 5.10 Generic_147440-09 sun4u sparc SUNW,Sun-Fire-V245 (T2)
SunOS 5.10 Generic_147440-01 sun4v sparc sun4v (T3)
The V245 is not a T2, it uses a single thread, single core CPU.
Quote:
What does this tell us about single thread / multi-thread or floating point etc?
Use psrinfo -pv to see what kind of CPU it is.
Quote:
How does sun4v differ from sun4u?
sun4v is CMT (chip multi-threading)
sun4u = UltraSPARC I, II, III, IV, IV+, SPARC64
sun4v = UltraSPARC T1, T2, T2+, T4
See Category:SPARC microprocessors - Wikipedia, the free encyclopedia for details on each model.
# 9  
Old 09-12-2012
What compiler are you using? What are your compiler optimization options?
# 10  
Old 09-12-2012
Quote:
Originally Posted by Pug
It is written in C/C++ and is compiled to mostly native code with a few calls to the C run time library (static linkage)
What do you mean with "mostly native code" ? C/C++ should be fully native code.
Also, from Solaris 10 onward, static link is not supported (and not possible) with the C run time (libc). It is only provided as a shared object.
# 11  
Old 09-19-2012
Thank you again for all those answers. Sorry I was not able to reply sooner.

To answers your questions:

Regarding the compiler and optimizations, I am not sure what settings we were using during the 32 bit compile on Solaris 7. I would have to look for that info. I know it was using the native compiler and not GNU.

Regarding the 'native' code comment. My mistake, what I really meant to say is that it is mostly C code with very few calls into the C run time library or the OS. Very few dependencies on other code. Even the C++ is really minimal. The point is that what it spends time doing is mainly there in the code. The main thing we use that is not in the code are all the basic File I/O calls.

I am sure we can switch to dynamic C run time linkage, it was only done static because it has been done that way historically. This code was originally porting in 1992.

Thank you all again for your help. I feel fully informed and will talk to our customer about it all. We also plan to get a newer platform for porting. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

How to read this Solaris version:-Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC?

Hi Guys, Could you please tell me how to read this Solaris version:- Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC Thanks. (3 Replies)
Discussion started by: manalisharmabe
3 Replies

2. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

3. Solaris

hba speed Solaris 9

Hello, In Solaris 10 I can use fcinfo to find what speed the hba ports are running at, am I able to find this out using Solaris 9? I have tried a few variations on luxadm but cant find anything relevant. Thanks. (1 Reply)
Discussion started by: Actuator
1 Replies

4. Infrastructure Monitoring

Nagios on Solaris 10 Sparc issue

I've got it installed but when I logging to the interface to http://localhost/nagios I get the following: Forbidden You don't have permission to access /nagios/ on this server. Apache/2.0.63 (Unix) DAV/2 Server at localhost Port 80 im running Solaris Version: SunOS dotstoas442 5.10... (0 Replies)
Discussion started by: frenchykd
0 Replies

5. Solaris

Issue while installing: Solaris 10 SPARC Recommended Patch Cluster (2009.10.23)

Hello, As explained, I've encountered an issue while installing Solaris 10 SPARC Recommended Patch Cluster (2009.10.23). Actually, patch no 120011-14 stops with the following error: ERROR: attribute verification of </var/run/.patchSafeMode/root/usr/bin/passwd> failed file type <f>... (6 Replies)
Discussion started by: a.mauger
6 Replies

6. Solaris

CC 5.5 compiler flag to issue 64bit porting warnings on sparc-solaris

Hi, We are porting our application from 32bit to 64bit. We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings. But we are not getting any porting warninings WE are using CC 5.5 compiler on sparc-solaris m/c. Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies

7. UNIX for Dummies Questions & Answers

Running Solaris Sparc Apps on X86 Solaris

I know that Sun make s a version of Solaris for Sparc platforms and also an x86 (Intel/AMD) release of Solaris. Can an application that runs on Solaris/Sparc also run on a PC running the x86 release of Solaris? Would a different release be required or any re-compling of the application? jim (1 Reply)
Discussion started by: stocksj
1 Replies

8. UNIX Desktop Questions & Answers

Issue with installing solaris 10 OS on sparc 5

Rebooting with command: boot cdrom -s Boot device: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0:f File and args: -s Evaluating: boot cdrom -s Can't open boot device If any one knows please advise. I have changed the CDrom but it did not help. (1 Reply)
Discussion started by: ark
1 Replies
Login or Register to Ask a Question