Solaris系统性能管理.ppt

Solaris系统性能管理;我们首先要做的;Solaris 性能分析的目的;性能管理;性能管理的定义;一般术语;性能的层面;Solaris 性能分析;基本的原则;从哪做起;潜在的瓶颈问题;磁盘性能分析;硬盘瓶颈;确认硬盘瓶颈;相关的访问时间;iostat -x 30;iostat;iostat;使用 iostat查问题;iostat;解决在iostat 找到的问题;怎么处理磁盘瓶颈;数据库和文件系统;Raw vs. UFS ;大型数据库的优化建议;网络性能分析;netstat;测量网络吞吐;内存性能分析;内存瓶颈;我们应该关心的;不同Memory的种类;r: Run queue length. b: Processes blocked while waiting for I/O. w: Idle processes which have been swapped. swap, free - available space in KB sr - scan rate,total number of pages scanned;procs/r: Run queue length. procs/b: Processes blocked while waiting for I/O. procs/w: Idle processes which have been swapped. memory/swap: Free, unreserved swap space (Kb). memory/free: Free memory (Kb). page/re: Pages reclaimed from the free list. (If a page on the free list still contains data needed for a new request, it can be remapped.) page/mf: Minor faults (page in memory, but not mapped). (If the page is still in memory, a minor fault remaps the page. It is comparable to the vflts value reported by sar -p.) page/pi: Paged in from swap (Kb/s). (When a page is brought back from the swap device, the process will stop execution and wait. This may affect performance.) page/po: Paged out to swap (Kb/s). (The page has been written and freed. This can be the result of activity by the pageout scanner, a file close, or fsflush.) page/fr: Freed or destroyed (Kb/s). (This column reports the activity of the page scanner.) page/de: Freed after writes (Kb/s). (These pages have been freed due to a pageout.) page/sr: Scan rate (pages). Note that this number is not reported as a rate, but as a total number of pages scanned. disk/s#: Disk activity for disk # (I/Os per second). faults/in: Interrupts (per second). faults/sy: System calls (per second). faults/cs: Context switches (per second). cpu/us: User CPU time (%). cpu/sy: Kernel CPU time (%). cpu/id: Idle + I/O wait CPU time (%). ;vmstat;解决在vmstat 找到的问题;解决在vmstat 找到的问题;找到问题;CPU 性能分析;CPU 瓶颈;查看 CPU 使用率mpstat 5;mpstat;解决在mpstat找到的问题;I/O 等待时间;I/

文档评论(0)

1亿VIP精品文档

相关文档