You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can a User Process Consume Kernel Mode CPU Without a Syscall? | Tanel Poder Consulting
Yes!
Various traps like page faults may cause your user process to be switched into kernel codepath even when the process is minding its own business in the userspace. It just needs to do something that causes such a trap, like touch a new page of memory in its virtual memory address space, that hasn’t been “fully materialized” yet in the kernel memory structures.
For example, after starting up an Oracle database instance that uses a large amount of shared memory, there’s one process that burns CPU for a while: - Linux, Oracle, SQL performance tuning and troubleshooting - consulting & training.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Can a User Process Consume Kernel Mode CPU Without a Syscall? | Tanel Poder Consulting
Yes!
Various traps like page faults may cause your user process to be switched into kernel codepath even when the process is minding its own business in the userspace. It just needs to do something that causes such a trap, like touch a new page of memory in its virtual memory address space, that hasn’t been “fully materialized” yet in the kernel memory structures.
For example, after starting up an Oracle database instance that uses a large amount of shared memory, there’s one process that burns CPU for a while: - Linux, Oracle, SQL performance tuning and troubleshooting - consulting & training.
https://tanelpoder.com/posts/user-process-consuming-kernel-cpu-without-a-syscall/
Beta Was this translation helpful? Give feedback.
All reactions