Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
6. 工具更新
重要
All the IBM Java components are available online due to a late detection of missing COPYRIGHT notice. This applies to the Supplementary CD contents for Red Hat Enterprise Linux 5 on all architectures and releases. For more information, see the Red Hat Knowledgebase.
SystemTap
is now fully supported, and has been re-based to the latest upstream version. This update features improved user-space probing through shared libraries, experimental DWARF unwinding, and a new<sys/sdt.h>
header file which provides dtrace-compatible markers.This re-base also enhances support fordebuginfo-less
operations. Typecasting (through the @cast operator) is now supported, along with kernel tracepoint probing. Several'kprobe.*'
probe bugs that hampereddebuginfo-less
operations are also now resolved.SystemTap also features several documentation improvements. A new '3stap
' feature provides users with useful man pages on most SystemTap probes and functions. Thesystemtap-testsuite
package also features a larger library of sample scripts.欲取得更多有關於 SystemTap 更新上的相關資訊,請參閱技術公告的套件更新章節中的 SystemTap 部份。- Systemtap tracepoint 放置在 kernel 的重要部份中,它可讓系統管理員分析程式碼的效能和針對於程式碼的一部分進行除錯。在 Red Hat Enterprise Linux 5.4 中,tracepoint 已被新增至下列的 kernel 子系統部份中作為技術預覽:
- 記憶體管理(Memory Management,mm)(BZ#493444)
- 區塊裝置 I/O(blktrace)(Bugzilla #493454)
- 網路檔案系統(NFS)(BZ#499008)
- 頁面快取(Page Cache)和網路作業堆疊(Networking Stacks)(BZ#475719)
- 排程器(Scheduler)(BZ#497414)
- Gnu Compiler Collection 版本 4.4(GCC4.4)現在已包含在此發行版中作為技術預覽。這組編譯器包含了 C、C++ 以及 Fortran 編譯器和支援函式庫。
glibc new MALLOC behaviour:
上游的 glibc 最近已被更改並改善了許多 socket 與核心的規模可伸縮性。這是透過指派給線程它們自己的記憶體池(memory pool)並避免在某些情況下被鎖定來完成的。使用來作為記憶體池的額外記憶體(若存在的話)可透過使用環境變數 MALLOC_ARENA_TEST 和 MALLOC_ARENA_MAX 來進行控制。MALLOC_ARENA_TEST 指定當記憶體池的數量到達了核心數量的值之後便會進行核心的測試。MALLOC_ARENA_MAX 是用來設定所使用的記憶體池的最大數量,無論核心的數量為何。RHEL 5.4 發行版中的 glibc 已整合了這項功能作為上游 malloc 的技術預覽。若要啟用個別的線程記憶體池,環境中就必須設定記憶體變數 MALLOC_PER_THREAD。當這個新的 malloc 特性在未來的發行版中成為了預設特性時,此環境變數便無須再被使用。遇上 malloc 資源衝突的用戶應啟用此選項。