Agile practitioners have come to understand the negative effect "context-switching" has on productivity when it comes to your projects and teams.
在项目和团队中,敏捷实践人士们已经逐渐认识到了“切换上下文”对工作效率产生的负面影响。
On most systems, good performance will not be achieved when more than a few hundred processes are created because of the high context-switching overhead.
在大多数的系统中,当创建了上千个进程时,系统性能将大幅降低,因为超负荷的上下文切换。
The connection concentrator is associated with context switching of agents.
连接集中器与代理的上下文切换相关联。
Figure 2 shows the context switching.
图2展示了上下文切换。
The CPU simply becomes overburdened by context switching between threads.
由于要在线程间进行上下文切换,因此CPU简直变成了超载。
Thread context switching is NOT expensive.
线程上下文切换的代价并不大。
Increasing the time slice can improve system throughput due to reduced context switching.
增加时间切片可减少上下文切换,从而可以提高系统吞吐量。
Increasing the time slice might improve system throughput, due to reduced context switching.
增加时间片的长度可以提高系统吞吐量,因为减少了上下文的切换。
However, we had to be careful because, as you increase this number, context switching also increases.
然而,我们必须小心,因为随着线程的增加,上下文切换也增加。
Indeed, too many threads will even degrade performance because of the additional context switching overhead.
事实上,太多的线程甚至会降低性能,因为它会导致额外的环境切换开销。
And if each thread (ergo network connection) is busy, then the context switching to each thread can be significant.
另外,如果每个线程都忙于处理网络连接,线程之间的上下文切换会很频繁。
Modern operating systems generally do an excellent job of process scheduling, which minimizes context switching.
现代操作系统通常在进程调度方面表现得很出色,从而最大程度减少了上下文切换。
If the value of context switching is very high, increasing the time slice can improve performance, but this should only be done after extensive analysis.
如果上下文切换的值非常高,则增加时间切片可提高性能,但这必须在经过大量分析之后才能实施。
Huffman suggests grouping similar processes together on the same machine or group of machines to avoid context switching all the time which consumes resources.
Huffman建议将类似的进程集中在一台机器或一组机器上,这样可以避免频繁的上下文切换,减少资源消耗。
The benefit of using the Project Explorer in this way is that the document that you are editing is always visible so that no context switching is required.
这种使用ProjectExplorer的优势在于,您所编辑的文件就会一直处于可见状态,这样就不需要切换环境了。
The scheme removes the software overheads of TCP/IP protocols and reduces the overheads of context switching and data copying between the kernel and user levels.
该方案消除了TCP/IP协议栈的软件开销,也减少了核态与用户态的数据拷贝和上下文切换的开销。
The act of passing execution is called "context switching" and its frequency varies, depending on the kernel? Configuration and the current system load.
传递执行权的行为就是所谓的“上下文切换”,传递的频率随内核的配置及当前负载而变化。
Operating systems can generally switch (context switching) faster between threads of the same process than between different process.
操作系统通常可以在相同进程中的不同线程之间更快速地切换(上下文切换),而不是在不同进程之间切换。
The kernel maintains a context structure for all the processes in the system, information it needs for effective context switching among different processes.
内核为系统中所有的进程都维护了一个context结构体,以及要在不同进程之间有效进行上下文切换所需要的信息。
Our ruleof thumb in our books is to show the same code context two or threetimes before switching to just the snippets (although this rule variesgreatly with the type of code).
我们的经验是:把代码放在上下文中出现两三次以后,才开始只展示代码片断(虽然这条规则随不同的代码有很大变化)。
This avoids network latency and the overhead of inter-process communication, as well as context switching in the operating system, further contributing to extreme speed.
这样就能够避免网络延迟、进程间通信的开销以及操作系统中的上下文切换,从而进一步提高速度。
Switching context between users (for example, switching from admin-user to another user, and then back) multiple times has performance implications.
在用户间进行多次上下文切换(例如,从admin用户切换到另一个用户,然后又切换回来)会带来性能隐患。
Every reflective computation can be divided into two logical parts, context switching and meta-computation.
每一次反射计算可以被分为两个逻辑部分:计算流上下文切换和元行为。
The following figure shows how context switching begins to level off on a two-processor front-end server as processor usage increases.
下图显示了双处理器前端服务器的上下文切换是如何随着处理器使用的增加而渐趋平稳的。
Context-switch time is overhead; the system does no useful work while switching.
上下文切换的时间开销较重;在切换时,系统没有做有用的工作。
Ideal Deadline Monotonic algorithm has many assumptions, such as no resource sharing, no logical dependencies among tasks, no context switching overhead and so on.
理想的时限单调算法具有很多不符合系统客观特性的假设,例如任务间无资源共享,任务间无逻辑依赖关系,系统开销为零等。
The approaches for the optimization of the scheduling algorithm consist of lazy scheduling and direct context switching.
其中对进程调度进行优化的方法又分为了惰性调度以及直接进程切换两个方面。
Context Switching, is defined as changing focus and attention from one task to the other in relatively short periods of time.
在相对短的时间内,把注意力从一个任务切换到另一个任务,这就是“切换上下文”的定义。
Context Switching, is defined as changing focus and attention from one task to the other in relatively short periods of time.
在相对短的时间内,把注意力从一个任务切换到另一个任务,这就是“切换上下文”的定义。
应用推荐