Home
Learning About Clusters
Programming Clusters
Administering Clusters
Benchmarking Clusters
File Systems for Clusters
Cluster Applications/Grid
Cluster News
Site Map
 
   
Search
Monkey Support
Main Menu
Home
News
Features
Columns
Reviews
Links
FAQ's
Contact
Site Information
Cluster Classifieds
Projects
Conference Reports
Cluster Agenda
Site Map
Add This Article

Visit Basement Supercomputing

Cluster Builder

Cluster Courses


Report a comment...
Thank you for taking the time to report the following comment to the administrator of this site.

Please complete this short form and click the submit button to process your report.

Your Name:

Your Email Address:

Reason for reporting comment:



Comment in question...
Name: Galen Arnold Comment:
strace -c can do some great profiling work for you as well, helping to answer questions like: is my program spending more time reading or writing?

example with unix find command:

bash-3.1$ strace -c find . -print > /dev/null
Process 17304 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
79.96 0.075300 28 2654 getdents64
9.73 0.009163 7 1301 lstat64
4.51 0.004246 2 2599 fchdir
3.80 0.003580 1 3917 8 open
1.15 0.001082 0 3909 close
0.53 0.000497 0 1300 fcntl64
0.29 0.000275 0 1303 3 stat64
0.03 0.000031 0 1311 fstat64
0.00 0.000000 0 9 read
0.00 0.000000 0 211 write
0.00 0.000000 0 1 execve
0.00 0.000000 0 1 time
0.00 0.000000 0 2 1 access
0.00 0.000000 0 3 brk
0.00 0.000000 0 3 2 ioctl
0.00 0.000000 0 6 munmap
0.00 0.000000 0 1 uname
0.00 0.000000 0 3 mprotect
0.00 0.000000 0 20 mmap2
0.00 0.000000 0 1 set_thread_area
------ ----------- ----------- --------- --------- ----------------
100.00 0.094174 18555 14 total
bash-3.1$
Rated Article:
IP Logged as: 141.142.239.37 HomePage: Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Dated: 2008-01-28 15:41:33 Report This Comment

 

Creative Commons License
  ©2005-2008 Seagrove LLC, Some rights reserved. Except where otherwise noted, this site is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.
Cluster Monkey Logo and Monkey Character are Trademarks of Seagrove LLC.