Index | About | Me | Jump to Menu Section

System Performance

Last modified: Wed May 11 2022 11:00:32 GMT+0000 (Coordinated Universal Time)

Notes on Systems Performance by Brendan Gregg


OS Terminolgy

Hardware related

How OS works?

Creating a process

Processes are normally created using the fork(2) system call on Unix systems (in Linux, it’s normally a wrap around clone(2) syscall). The exec(2) system call can be then called to begin execution of another program.


A stack is a memory storage area for temporary data, organized as a LIFO list. It’s used to store less important data than that whitch fits the CPU register set.

While executing a syscall, a process thread has two stacks: a user-level stack and a kernel-level stack.



Tooling / Kernel

Application performance techniques