Re: A good OS centric discussion on performance

  • From: Tanel Põder <tanel.poder.003@xxxxxxx>
  • To: "ORACLE-L" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 21 Feb 2006 18:43:58 -0700


Search for "dynamic instrumentation" or "dynamic binary instrumentation" with 
AIX, HP-UX or other OS keyword. 

There are really lots of such tools available, developed mostly by HPC & 
academic people. Most of such products work by rewriting binary code in memory 
during load or runtime. This means that in order to have a stable, foolproof 
and high-performing dynamic instrumentation framework, you have to implement it 
from very bottom of your OS. DTrace is doing pretty well in this area, their 
instrumentation code is also in the kernel.

Many other instrumentation tools use ptrace() interface, which imposes some 
limitations, as not being able to launch a debugger on the process when running 
in instrumented mode. Some tools require spawning the process using 
instrumentation tool, some can attach to an already running process and 
instrument it on the fly. 

However, with dynamic instrumentation tools (especially the non-kernel ones) we 
have to be very careful - a tool which can instrument "ls" perfectly, might 
crash when dealing with forking, IPC, shared memory etc... 

Few other keywords not already mentioned in the article: linux trace toolkit 
(LTT), Dyninst, Pintool, valgrind, callgrind, kprobes

  ----- Original Message ----- 
  From: Allen, Brandon 
  To: john.kanagaraj@xxxxxxx ; oracle-l@xxxxxxxxxxxxx 
  Sent: Tuesday, February 21, 2006 1:28 PM
  Subject: RE: A good OS centric discussion on performance

  Yep, good article.  Is anyone aware of anything similar to Solaris' DTrace 
for HPUX or AIX?

  -----Original Message-----
  From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]On 
Behalf Of John Kanagaraj
  Sent: Tuesday, February 21, 2006 11:21 AM
  To: oracle-l@xxxxxxxxxxxxx
  Subject: A good OS centric discussion on performance

  Hi all,

  Came across this link (from a SQLServer newsletter of all places!) This is a 
very interesting Q & A from a "Cary" clone (if I may use this term!) in the 
UNIX/Linux/Java/C world. It is a bit long, but he does cover a lot of ground.

  John Kanagaraj <><
  DB Soft Inc
  Phone: 408-970-7002 (W)

  ** The opinions and facts contained in this message are entirely mine and do 
not reflect those of my employer or customers **
  Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

Other related posts: