8.5. Process and Thread Execution

As a process or thread begins execution, the operating system looks at its magic type and other attributes that may have been specified at link time or with the chatr(1) command. Based on the attributes, the operating system will use a specific allocation scheme when allocating virtual memory. Processes are created via fork(2)/vfork(2) system calls, while threads are created with the pthread_create(3T) call.

8.5.1. fork and vfork

Virtual memory bottlenecks may also occur as the result of the fork(2) system call, which creates a new process derived from a currently running one. With fork(2), the VAS data structures—virtual frame descriptors (VFDs) and disk block descriptors (DBDs)—are copied for use by the child ...

Get HP-UX 11i Tuning and Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.