[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-user-de
Subject:    [xine.de] Since most developers want good performance with little
From:       "Day Pol" <qlvk () usmma ! edu>
Date:       2007-06-16 16:59:39
Message-ID: 001001c7b037$b9e91aa0$7cda5b19 () pdasl
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


In addition, OpenMP provides a number of lock routines that can be used =
for thread synchronization. dbx Debugger The Sun Studio debugger, dbx, =
is a thread-aware debugger that can help you debug your OpenMP program. =
You may specify it either as an absolute path to wherever you have =
installed the tools, or as the command name only, provided you have set =
your path to include the installation location. Each architecture has an =
ABI that defines the register order for  passing parameters.
More information about the collect and analyze can be found in  collect. =
In addition to the standard OpenMP environment variables, Sun Studio =
compilers provide an added set of Sun-specific environment variables =
that offer more control of the runtime environment.
In addition, the OpenMP runtime must support a query that provides the =
current parallel region ID of the calling thread, and the performance =
tool records that information in every profile packet.
When OpenMP pragmas are used in a program, they direct an OpenMP-aware =
compiler to generate an executable that will run in parallel using =
multiple threads.
This behavior is for backward compatibility reasons. c With Inline =
Assembly Code Conclusions References Introduction For demonstration =
purposes, this paper uses an academic program to generate the Mandelbrot =
set.
An example a modified script with the collect command can be found in =
the file start-collector. Those metrics are attributed to user-code by =
mapping each PC from the callstacks for the packet to functions, =
source-lines, callers and callees. Save and quit the editor.
Finally, example Sun Studio inline assembly code is used and the =
computations are timed again and compared with the previous timings. =
Performance Analyzer Identify bottlenecks in your program by using the =
Sun Studio Performance Analyzer. As long as interfaces are clearly =
defined and strictly follow typing rules, it works well. In summary, Sun =
Studio compilers and tools support OpenMP natively and have many useful =
features that can help you parallelize your program.
You will also need a supported version of Java installed.
Save and quit the editor. In our example, we name it start-collector. Be =
sure to maintain timings of your serial run, so that you can decide if =
parallelization is useful.
Parallel Programming in OpenMP by Rohit Chandra and others is a good =
introduction, and is published by Morgan Kaufmann. The mechanism used =
above for the fork event can simply be used to provide other events. For =
clock-profiling, the metrics include Total-time, User-CPU-Time, =
System-CPU-Time, and a number of others.
c With -fast One of the easiest ways a developer can get faster =
performance is to use the -fast flag in the Sun Studio compilers.
With some tinkering, it would be possible to match the performance in =
-fast with inline assembly code.
It is beneficial to insert the pragma at the outermost loop, since this =
gives the most performance gain.
The tools derives OpenMP metrics from these streams, and synthesizes the =
user-model callstack from the implementation model data in the streams. =
Sun HPC ClusterTools software offers a comprehensive set of capabilities =
for parallel computing. working on enterprise deployment architectures, =
virtualization and system performance for customers of IBM WebSphere =
products on Sun Solaris platform.
[Attachment #7 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 5.50.4920.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><IMG alt="motivation" hspace=0 
src="cid:000b01c7b037$b9de6c40$7cda5b19@pdasl" align=baseline 
border=0></FONT></DIV>
<DIV><FONT face=Arial size=2>In addition, OpenMP provides a number of lock 
routines that can be used for thread synchronization. dbx Debugger The Sun Studio 
debugger, dbx, is a thread-aware debugger that can help you debug your OpenMP 
program. You may specify it either as an absolute path to wherever you have 
installed the tools, or as the command name only, provided you have set your path to 
include the installation location. Each architecture has an ABI that defines the 
register order for  passing parameters.</FONT></DIV>
<DIV><FONT face=Arial size=2>More information about the collect and analyze can 
be found in  collect. In addition to the standard OpenMP environment variables, Sun 
Studio compilers provide an added set of Sun-specific environment variables that 
offer more control of the runtime environment.</FONT></DIV>
<DIV><FONT face=Arial size=2>In addition, the OpenMP runtime must support a 
query that provides the current parallel region ID of the calling thread, and the 
performance tool records that information in every profile packet.</FONT></DIV>
<DIV><FONT face=Arial size=2>When OpenMP pragmas are used in a program, they 
direct an OpenMP-aware compiler to generate an executable that will run in parallel 
using multiple threads.</FONT></DIV>
<DIV><FONT face=Arial size=2>This behavior is for backward compatibility 
reasons. c With Inline Assembly Code Conclusions References Introduction For 
demonstration purposes, this paper uses an academic program to generate the 
Mandelbrot set.</FONT></DIV>
<DIV><FONT face=Arial size=2>An example a modified script with the collect 
command can be found in the file start-collector. Those metrics are attributed to 
user-code by mapping each PC from the callstacks for the packet to functions, 
source-lines, callers and callees. Save and quit the editor.</FONT></DIV>
<DIV><FONT face=Arial size=2>Finally, example Sun Studio inline assembly code is 
used and the computations are timed again and compared with the previous timings. 
Performance Analyzer Identify bottlenecks in your program by using the Sun Studio 
Performance Analyzer. As long as interfaces are clearly defined and strictly follow 
typing rules, it works well. In summary, Sun Studio compilers and tools support 
OpenMP natively and have many useful features that can help you parallelize your 
program.</FONT></DIV>
<DIV><FONT face=Arial size=2>You will also need a supported version of Java 
installed.</FONT></DIV>
<DIV><FONT face=Arial size=2>Save and quit the editor. In our example, we name 
it start-collector. Be sure to maintain timings of your serial run, so that you can 
decide if parallelization is useful.</FONT></DIV>
<DIV><FONT face=Arial size=2>Parallel Programming in OpenMP by Rohit Chandra and 
others is a good introduction, and is published by Morgan Kaufmann. The mechanism 
used above for the fork event can simply be used to provide other events. For 
clock-profiling, the metrics include Total-time, User-CPU-Time, System-CPU-Time, and 
a number of others.</FONT></DIV>
<DIV><FONT face=Arial size=2>c With -fast One of the easiest ways a developer 
can get faster performance is to use the -fast flag in the Sun Studio 
compilers.</FONT></DIV>
<DIV><FONT face=Arial size=2>With some tinkering, it would be possible to match 
the performance in -fast with inline assembly code.</FONT></DIV>
<DIV><FONT face=Arial size=2>It is beneficial to insert the pragma at the 
outermost loop, since this gives the most performance gain.</FONT></DIV>
<DIV><FONT face=Arial size=2>The tools derives OpenMP metrics from these 
streams, and synthesizes the user-model callstack from the implementation model data 
in the streams. Sun HPC ClusterTools software offers a comprehensive set of 
capabilities for parallel computing. working on enterprise deployment architectures, 
virtualization and system performance for customers of IBM WebSphere products on Sun 
Solaris platform.</FONT></DIV></BODY></HTML>

["abruptness.gif" (image/gif)]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
xine-user.de mailing list
xine-user.de@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-user.de


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic