← 返回卡片

原书出处

Software Architecture and Decision-Making

03 理解性能的心智模型

核验版本的摘录快照 · 导入于 2026-11-14T08:32:00.341Z

A computer OS has two modes: user and kernel. The code we write runs in user mode, but the privileged operations such as performing input/output, accessing memory, and changing kernel data structures run in kernel mode. Every time an application enters kernel mode, a context switch occurs, which adds nonessential costs to the system, such as time to save the stack and to rest the cache. To improve performance, we need to reduce the number of system calls.

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch03.xhtml

EPUB SHA-256:8c8802b415c29832cccbf90314dabab6c2ebdd70704f0cbc9393aed1513be1f5