Sponsored Content
Full Discussion: Solaris SPARC speed issue
Operating Systems Solaris Solaris SPARC speed issue Post 302697499 by Pug on Friday 7th of September 2012 12:34:51 AM
Old 09-07-2012
Java Solaris SPARC speed issue

Hello helpful Unix gurus!

First, I appreciate any help I can get.

I have a product that we have ported (for years now) on Solaris SPARC 7.x OS from 1998 (or around that time I guess) that is compiled to a 32 executable. It has run (with various modifications over the years) on any Solaris SPARC platform (as far as I know).

Recently I have a customer that expects the program to run much faster. This program is a number crunching type of utility that goes off and does file input, parsing, bit manipulation and output and then exits, so normally it is pretty fast). 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).

So my question is this: is the fact that this is a 32 bit SPARC executable slowing down its running on a 64 bit SPARC. It is running on the following Solaris platform:

Code:
uname -a
SunOS appomahadev2 5.10 Generic_147440-01 sun4v sparc sun4v Solaris

isainfo -v
64-bit sparcv9 applications
        hpc vis3 fmaf asi_blk_init vis2 vis popc
32-bit sparc applications
        hpc vis3 fmaf asi_blk_init vis2 vis popc v8plus div32 mul32

I am asking to see:

1. if there is a known reason why the 32bit exe should run slower on a 64 bit platform?

2. if re-compiling this code on a newer Solaris SPARC 64 OS
will generate a SIGNIFICANTLY faster executable?

Getting a new Solaris SPARC box seems to be expensive and is not something we really want to do unless we need to.

Does anyone know of a cross compiling method whereby we can compile on a cheaper platform and target this platform?
Any ideas?

Last edited by Don Cragun; 01-14-2016 at 03:13 AM.. Reason: Add CODE tags; drop FONT and SIZE tags.
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
isainfo(1)							   User Commands							isainfo(1)

NAME
isainfo - describe instruction set architectures SYNOPSIS
isainfo [ [-v] [-b | -n | -k] | [-x]] DESCRIPTION
The isainfo utility is used to identify various attributes of the instruction set architectures supported on the currently running system. Among the questions it can answer are whether 64-bit applications are supported, or whether the running kernel uses 32-bit or 64-bit device drivers. When invoked with no options, isainfo prints the name(s) of the native instruction sets for applications supported by the current version of the operating system. These are a subset of the list returned by isalist(1). The subset corresponds to the basic applications environ- ments supported by the currently running system. OPTIONS
The following options are supported: -b Prints the number of bits in the address space of the native instruction set. -k Prints the name of the instruction set(s) used by the operating system kernel components such as device drivers and STREAMS mod- ules. -n Prints the name of the native instruction set used by portable applications supported by the current version of the operating sys- tem. -v When used with the- b, -k or -n options, prints more detailed information. -x Prints instruction extensions to the native ABI which are supported by the platform. EXAMPLES
Example 1: Invoking isainfo on a 32-bit x86 Platform The following example invokes isainfo on a 32-bit x86 platform: example% isainfo -v 32-bit i386 applications example% isainfo -k i386 Example 2: Invoking isainfo on a System Running the 64-bit Operating System on a 64-bit SPARC Processor The following example invokes isainfo on a system running the 64-bit operating system on a 64-bit SPARC processor: example% isainfo sparcv9 sparc example% isainfo -n sparcv9 example% isainfo -v 64-bit sparcv9 applications 32-bit sparc applications example% isainfo -vk 64-bit sparcv9 kernel modules Example 3: Invoking isainfo -x on an AMD Opteron CPU The following example invokes isainfo with the -x option on an AMD Opteron CPU: example% isainfo -x i386: fpu tsc cx8 sep cmov mmx ammx a3dnow a3dnowx fxsr sse sse2 pause EXIT STATUS
Non-zero Options are not specified correctly, or the command is unable to recognize attributes of the system on which it is running. An error message is printed to stderr. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
isalist(1), uname(1), psrinfo(1M), sysinfo(2), attributes(5), isalist(5) SunOS 5.10 20 Jul 2004 isainfo(1)
All times are GMT -4. The time now is 10:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy