Oracle Linux kernel engineer Dai Ngo provides an introduction on how to analyse a live Oracle Linux system using SystemTap.IntroductionThere are a wealth of tools available for tracing and debugging the Linux kernel on a live system. These include Kprobes, Ftrace, trace-cmd, Dtrace, eBPF, SystemTap, crash, gdb, etc. Among these tools, few allow the user to develop and re-use scripts that can filter events and…
Click to Read More at Oracle Linux Kernel Development
In recent years, processors have experienced growth in core counts which have pushed software to be multi-threaded and increased contention in the virtual memory data structure. The memory management subsystem uses the mmap_sem lock for write protection of the VMAs. Optimizing the mmap_sem lock into a rw-semaphore helped contention but did not solve the underlying issue. Even with a single threaded program and a well-intended system admin, contention does arise through proc file accesses for application monitoring.