アプリケーションにメモリーマッピングが多数あると、アプリケーションのパフォーマンスが悪くなるか、イベントが停止する
Issue
- 小さいメモリー領域を非常に多く使用しているアプリケーションを拡大すると、遅くなります。perf でアプリケーションのプロファイルを作成すると、以下のコードパスで、システムがどこで多くの時間を費やしているかを確認できます。
<snip>
32.92% <comm> [kernel.kallsyms] [k]
|
--- find_vma
|
|--98.51%-- arch_get_unmapped_area_topdown
| get_unmapped_area_prot
| |
| |--99.99%-- do_mmap_pgoff
| | sys_mmap_pgoff
| | sys_mmap
| | system_call_fastpath
| | __GI___mmap64
| | |
<snip>
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
