Skip to Content
詳解 システム・パフォーマンス 第2版
book

詳解 システム・パフォーマンス 第2版

by Brendan Gregg, 西脇 靖紘, 長尾 高弘
January 2023
Beginner to intermediate
940 pages
15h 53m
Japanese
O'Reilly Japan, Inc.
Content preview from 詳解 システム・パフォーマンス 第2版

6章CPU

CPUはあらゆるソフトウェアの原動力であり、システムパフォーマンス分析の最初のターゲットになることが多い。この章では、CPUのハードウェアとソフトウェアを説明し、パフォーマンスの改善方法を見つけるためにCPUの使用率をどのように解析すればよいかを示す。

高レベルでは、システム全体でのCPUの使用率をモニタリングしたり、プロセスやスレッドごとの使用状況を解析したりすることができる。低レベルでは、アプリケーションとカーネルのコードパスをプロファイリング、解析したり、割り込みのCPU使用状況を解析したりすることができる。最低レベルでは、CPUの命令実行やサイクルのふるまいを解析できる。さらに、タスクがCPUを使える順番を待つためのスケジューラレイテンシ(これによってパフォーマンスは下がる)などのふるまいも調べられる。

この章での学習目標は次の通り。

  • CPUのモデルとコンセプトを理解する。
  • CPUハードウェアの内部構造を頭に入れる。
  • CPUスケジューラの内部構造を頭に入れる。
  • CPU分析のさまざまなメソドロジの筋道をたどる。
  • ロードアベレージとPSIを解釈できるようになる。
  • システム全体とCPUごとの使用の特徴を明らかにする。
  • スケジューラレイテンシの問題を見つけて定量化する。
  • CPUサイクル分析で効率の悪い部分を明らかにする。
  • プロファイラとCPUフレームグラフでCPUの使用状況を調査する。
  • CPUを消費するソフトIRQとハードIRQを明らかにする。
  • 割り込みCPUフレームグラフやその他のCPU指標のビジュアライゼーションを解釈する。
  • CPUのさまざまなパラメータを意識に刻み込む。

この章は次の6つの部分に分かれる。前半の3つはCPU分析の基礎を説明する。後半の3つはLinuxベースシステムへの実践的な応用を示す。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

プロダクトマネジメント ―ビルドトラップを避け顧客に価値を届ける

プロダクトマネジメント ―ビルドトラップを避け顧客に価値を届ける

Melissa Perri, 吉羽 龍太郎

Publisher Resources

ISBN: 9784814400072Other