On Thu, 2004-09-23 at 16:14, Daniel Smith wrote: > A coworker had the follwoing question. I was wondering if anyone out > there knew what need to be done. > > "We have a simulator that is being targetted for a Sun Fire V440 > server with two 1.065 MHz processors and 4 GB memory. > When we build the application then compare its execution times on the > server with the exec time on a 550MHz 1GB workstation, the app runs > faster on the workstation (by about 40%!). > > My questions: > > Are there specific compiler options that we need to identify to > optimize for the multiprocessor environment?
Most likely. Try experimenting with the different optimize levels. Also realize that performance of a program on a multiprocessor machine depends on the architecture of the program itself. Unless you use threads, you most likely won't notice any benefit on the 2-processor machine. > > We are currently running Solaris 9.0 and using the gcc compiler v > 3.2.2. Are there more suitable tools available (e.g. the Sun Compiler > suite)?" Yes. GCC promotes portability and correctness over speed. GCC is also much more optimized on the popular x86 platforms. If you want speed, go with the native compilers. For example, the intel compiler on x86 kicks gcc's butt. > > Any thoughts? > > Danny > > ____________________ > BYU Unix Users Group > http://uug.byu.edu/ > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list -- Michael Torrie <[EMAIL PROTECTED]> ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
