实验结果表明,该机制下排队任务的平均等待时间明显减少。
The experiment results show that the mean wait time of queued tasks decreases apparently in the mechanism.
即使任务占用的时间较长,但消除了瓶颈,并且令牌不用再排队。
Even though the task takes longer, the bottleneck is removed and tokens no longer queue up.
要有效地调整线程池大小,您需要理解正在排队的任务以及它们正在做什么。
To tune the thread pool size effectively, you need to understand the tasks that are being queued and what they are doing.
如果服务速率低于新工作的到达速率,则服务器将会跟不上,在有托管任务可对其进行调度前,新工作都将排队等候。
If the service rate drops below the arrival rate of new work, the server falls behind and new work is queued up until a managed task becomes available to dispatch it.
如果程序必须等待诸如I/O完成这样的某个资源,那么请指定最长的等待时间,以及随后是失效还是将任务重新排队以便稍后执行。
If the program must wait for a resource, such as an I/O completion, specify a maximum wait time, and then fail or requeue the task for execution at a later time.
不要对那些同步等待其它任务结果的任务排队。
Don't queue tasks that wait synchronously for results from other tasks.
所以,我们尽可以将一些任务委派给那些愿意帮你分担的家人,或者也可以在朋友之间互帮互助,比如说,当你在邮局排队等候的时候,让你的朋友来帮你在超市挑选食品素材。
Perhaps you can swap errands with friends. You will stand in line at the post office if she will pick up your recipe ingredients at the supermarket.
Google应用程序引擎提供可以在后台将任务异步处理的排队机制。
Google App Engine provides a queuing mechanism that allows tasks to be processed asynchronously in the background.
简单队列服务——该服务可以在执行各项任务的分布式应用组件间对数据进行移动和排队。
The Simple Queue service - a service for moving and queuing data between distributed components of applications performing different tasks.
但是,包括在执行任务前排队等待时间的Elapsed Duration却是11.5小时!
However, the Elapsed Duration, the time including the wait in the queue before the task, is 11.5 hours!
Gearman会对作业进行排队并少量分派作业,而将那些复杂的任务分发给为此任务预留的机器。
Gearman queues jobs and doles out assignments, distributing onerous tasks to machines set aside for the task.
由于work_struct中指出了要采用的处理程序函数,因此可以利用工作队列来为不同的处理程序进行任务排队。
As the work_struct indicates the handler function to use, you can use the work queue to queue work for a variety of handlers.
如果系统中存在正在排队等候的任务,那么系统的响应时间可能会受到排队时间的控制,而不是垃圾收集停顿时间。
In any system where work is queuing up, the response time of the system is likely to be dominated by the queueing time, rather than any garbage collection pauses.
每个任务都跟踪它的运行时,并根据该值对任务进行排队。
Each task tracks its runtime, and tasks are enqueued on that value.
微线程提供低延迟机制,该方式简单而直接,而工作队列提供复杂的API来允许对多个任务项目进行排队。
Tasklets provide a low-latency mechanism that is simple and straightforward, while work queues provide a flexible API that permits queuing of multiple work items.
如果您只有一个IndexUpdateService的运行实例,那么多个任务将会排队等待,直到执行任务完成。
If you have only one running instance of the Index Update Service, then multiple tasks will queue until the executing task completes.
当一些程序进入系统,这些程序就由任务排队子程序放在队列里(图10.3)。
As programs enter the system, they are placed on a queue by the job queuing routing (Fig. 10.3).
为了实现多移动机器人在未知环境中的围捕,本文将任务建模为排队、随机搜索、包围、捕捉和预测五种状态。
The hunting task for multiple mobile robots in an unknown environment is modeled as five states, namely, lining up, random search, surrounding, catch, and prediction states in the paper.
如果排队等待的任务拥有阻塞所有工作线程的资源,则将导致死锁。
If the queued task owns resources that are blocking all worker threads, a deadlock will result.
排队等待可用工作线程的任务可能导致死锁。
A queued task waiting for an available worker thread can cause deadlock.
用户程序在DSP/BIOS的调度下按任务、中断的优先级排队等待执行。
The customer procedure wait in line adjusts a degree to descend at DSP/BIOS by priority.
用户程序在DSP/BIOS的调度下按任务、中断的优先级排队等待执行。
The customer procedure wait in line adjusts a degree to descend at DSP/BIOS by priority.
应用推荐