context switch
[计] 上下文切换;环境切换;关联转换
2026-01-09 19:40 浏览次数 11
[计] 上下文切换;环境切换;关联转换
context switch rate切换率方面
context switch timing上下文切换时间
context t switch上下文切换
context-switch time换时间
Context Switch Latency上下文切换延迟
normal context-switch operation[计]
Fast Context Switch Extension快速上下文切换技术
Latency of thread context-switch线程切换代价测试程序
Step two: data is copied from the kernel buffer into the user buffer, and the read system call returns. The return from the call caused a context switch from kernel back to user mode.
步骤二:数据从内核空间缓沖区复制到用户空间缓沖区,之后系统调用read返回,这导致了从内核空间向用户空间的上下文切换。
This causes what is known as a context switch from 「user space」 to 「kernel space,」 although that「s just for you information.
这就引起所谓的从「用户空间」到「内核空间」的上下文切换,不过这仅供了解之用。
A context switch involves saving the context of the running task and restoring the previously-saved context of the other.
上下文切换包括保存正在运行的任务的上下文和恢复新近保存的另一个任务的上下文。
The advantages to this is that if a thread is about to give up a mutex, you don」t have to context switch to another thread.
这样做的优点是当一个线程要放弃一个互斥锁的时候,你不需要上下文切换到另外的线程中去。
Step one: the read system call causes a context switch from user mode to kernel mode.
read()调用(参见 图 2)引发了一次从用户模式到内核模式的上下文切换。
VI Architecture (VIA) reduces the communication overhead by eliminating the context switch between the user mode and the kernel mode and using the application space as the network data buffer .
通过消除数据传输过程中用户态和核心态之间上下文切换、将应用程序空间直接作为网络数据缓存来降低通信开销。
The return from the call causes another context switch from kernel back to user mode.
该调用的返回引发了内核模式到用户模式的上下文切换(又一次上下文切换)。
There is an important context switch that deserves a little more attention.
有一个重要的环境转变值得注意。
A context switch involves saving the context of the running ask and restoring the previously-saved context of the other.
上下文切换包括保存正在运行的任务的上下文和恢复早先保存的另一个任务的上下文。
Why do I get a thread context switch every time I synchronize with a mutex?
为什么我每次我得到一个线程上下文切换同步与互斥?。
A context switch involves saving the context of the running task and restoring the previously-saved context of the other.
上下文切换包括保存正在运行的任务的上下文和恢复早先保存的另一个任务的上下文。
Step three: the write system call causes a context switch from user mode to kernel mode.
send() 套接字调用引发了从用户模式到内核模式的上下文切换。
Conceptually, a thread context switch can be viewed as a process changing its state.
从概念上讲,一次线程上下文切换相当于进程改变它的状态。
Can use this tool to handle Cheng of more small amount molded lines, this is OK utmost land raises context switch and started rate.
可以利用此工具来处理更多的轻量型线程,这可以最大限度地提高上下文切换和启动的速度。
A context switch involves saving the context of the running ask and restoring the previously-saved context of the other. The piece of code that does this is necessarily processor-specific.
上下文切换包括保存正在运行的任务的上下文和恢复早先保存的另一个任务的上下文。
The return from the call caused a context switch from kernel back to user mode.
该调用的返回引发了内核模式到用户模式的上下文切换(又一次上下文切换)。
With modern Linux, though, a context switch between distinct processes might take only 15% more time than the corresponding context switch between same-process threads.
然而,在现代的Linux中,不同进程之间的上下文切换所花的时间只比同一进程的线程之间相应的上下文切换多15%。
The send socket call causes a context switch from user mode to kernel mode.
send套接字调用引发了从用户模式到内核模式的上下文切换。
Internally, a context switch is performed between these two kernels, but this can be done quite fast.
两个内核之间在内部执行上下文切换,但这可以非常快速地完成。
When a context switch occurs in cases such as virtual processor conferring its cycles to another virtual processor, it will be required to save the entire program visible processor state.
在出现上下文切换的情况下(如虚拟处理器将其周期交换给另一个虚拟处理器的时候),必须保存整个程序的可见处理器状态。
The read call causes a context switch (see Figure 2) from user mode to kernel mode.
read调用(参见图2)引发了一次从用户模式到内核模式的上下文切换。