2007年12月12日 (水曜日) 01:36:31 # Life opreport のXML出力機能。 oprofile はプロファイリングのためのツールで、その出力をするためのツールが opreport です。 opreport は通常は人間が読むための出力を出します。その出力はコンピュータ処理をするにはちょっと面倒な形式です。 しかし最近のバージョンでは、-X オプションを指定したらXMLの出力をしてくれるようになっています。 出力形式はシンプルで、XSLTを作成してXML出力をHTMLファイルに変換してみるのも簡単です。 sudo opcontrol --shutdown sudo opcontrol --reset sudo opcontrol --setup \ --vmlinux=/lib/modules/$(uname -r)/build/vmlinux \ --separ
最近、現実逃避でやっていた作業結果のメモ. SIGMOD'10のintel lab.論文の内容を実際に自分でプログラムして、評価してみた. 2000年以降DB研究界隈では、データ領域が全てメモリ上に載る環境を前提としたボトルネック分析/改善提案を積極的に行っていて、最近は特にその傾向が強い. 今後の研究作業の役に立つだろうと思い、上の論文を題材にoprofileを使ってCPU内処理分析をやってみた(ノウハウ獲得のために).oprofileを使うと、xxstat系では分からない、CPU使用率の内訳を取得することができる. 参考論文は以下. http://portal.acm.org/citation.cfm?id=1807167.1807206 論文内では、簡単にいえば以下3点を行っている. 1. ポインタを利用した2分木実装ではノード移動毎にCache/TLBミスが発生し、CPU内処理がス
Red Hat Support Go beyond support by engaging with our experts Our teams collaborate with you to ensure you accomplish your goals with Red Hat solutions. The relationship we build with you is designed to provide you with the tools and resources you need to find success on your IT journey. Configured for your success We develop a holistic understanding of your experience as a customer by ensuring o
このドキュメントでは組込み Linux 開発用 CPU ボード Bishop でカーネルレベルのプロファイリングを行う手順として、 最もシンプルな readprofile と今後 Linux カーネルの標準的なプロファイラとなると思われる OProfile の 簡単な使用方法を紹介します。 1. readprofile1.1. 概要Linuxカーネルに標準で含まれるシンプルなプロファイラ (kernel/profile.c) は tick 毎に実行アドレスを カーネル内部のプロファイリングバッファに保持します。 このバッファは仮想ファイル /proc/profile を通じてユーザ空間からアクセスできますが、 /proc/profile はバイナリファイルであるためそのままでは読めません。 readprofile は /proc/profile を可読化するために使用されるツールです。1.
oprofile is a low overhead, open-source tool that hooks into Linux and can keep track of CPU event monitoring information. This is a fairly general statement and for this post I'll be using the Intel Penryn microarchitecture, which should have similar event counters to most recent Intel processors. You can get the canonical list of event counters from Intel's own documentation in Chapter 30, Perfo
2005 年度上期 オープンソースソフトウェア活用基盤整備事業 「OSS 性能・信頼性評価 / 障害解析ツール開発」 OS 層 ~CPU スケーラビリティ評価編~ 作成 OSS 技術開発・評価コンソーシアム 商標表記 ・ Alicia は、ユニアデックス株式会社の登録商標です。 ・ Asianux は、ミラクル・リナックス株式会社の日本における登録商標です。 ・ Intel、Itanium および Intel Xeon は、アメリカ合衆国およびその他の国におけるイ ンテルコーポレーションまたはその子会社の商標または登録商標です。 ・ Intel は、Intel Corporation の会社名です。 ・ Linux は、Linus Torvalds の米国およびその他の国における登録商標あるいは商標で す。 ・ MIRACLE LINUX は、ミラクル・リナックス株式会社が使用許諾
This article brought to you by LWN subscribersSubscribers to LWN.net made this article — and everything that surrounds it — possible. If you appreciate our content, please buy a subscription and make the next set of articles possible. [Editor's note: welcome to part 7 of Ulrich Drepper's "What every programmer should know about memory"; this section is concerned with tools which can help programme
.......................................................................................................................................................................................................................... GOOGLE-WIDE PROFILING: A CONTINUOUS PROFILING INFRASTRUCTURE FOR DATA CENTERS .......................................................................................................
AndroidNDKによるJNI開発手法第4章 AndroidNDKによる JNI開発手法 緒方 聡 O g a t a S a t o s h i 株式会社イーフロー 事業統括本部 海外開発部 第 4 章 る最大のメリットは「実行処理の向上」と「既存のライ ブラリの有効活用」です。第2章の「Android高速化 テクニック」で紹介されている高速化テクニックの最後 の手段としてJavaコードをネイティブコードに置き換 えるのは、実行処理の向上という側面では有効です。 ただし、ネイティブコードにしてしまうと特定のプラッ トフォームに依存してしまうため、たとえばARM向け に作成したネイティブコードはx86では動作しないの で、結果として作成したアプリはARM専用ということ になってしまいます。 メリットとデメリットを比較し、JNIを使うか使わ ないかをよく考えてください。もしJNIを使う
カーネル読書会の議論から派生した、mallocのalignmentの件についてnoocyteさんが詳細なコメントをつけていただいている。ちゃんと追いきれていない。すいません。 まあ、わたしのアバウトな理解ではmallocを8バイトアラインしなければいけないというPOSIX的な標準はないけど、glibcの実装ではそうなっているというような感じではないかと。IA32(x86)では8バイトアラインでなければいけないということはなさそうなので。もちろん、8バイトアラインの方が好ましいけど。 #ifndef INTERNAL_SIZE_T #define INTERNAL_SIZE_T size_t #endif /* The corresponding word size */ #define SIZE_SZ (sizeof(INTERNAL_SIZE_T)) #define MALLOC_ALI
After profiling a Java (or other supported VM) application, the OProfile JIT support creates ELF binaries from the intermediate files that were written by the agent library. The ELF binaries are named <tgid>.jo. With the symbol information stored in these ELF files, it is possible to map samples to the appropriate symbols. The usual analysis tools (opreport and/or opannotate) can now be used to ge
If your Java code seems to have bottlenecks that make it run slow, you need to profile the code. There are a couple of options you have for that. JProfiler JProfiler is a commercial program, but you can evaluate a trial version. HPROF Use HPROF, a profiler included in Sun's Java since version 1.5. VisualVM Use VisualVM (a tutorial can be found here), which is a graphical alternative to HPROF, a
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く