当执行这些计算时,也将考虑不同任务的优先级值。
The priority values of different tasks are also considered while doing these calculations.
注意,您必须是超级用户(根用户)才能调低优先级值。
Note that you usually need to be the superuser (root) to specify negative priority adjustments.
JLS中的线程调度并不精确而且只提供了10个优先级值。
Thread scheduling in the JLS is imprecise and provides only 10 priority values.
这部分内容介绍了如何更改用于计算每个线程优先级值的CPU调度参数。
This section shows how you can change some of the CPU scheduling parameters, which are used to calculate the priority value for each thread.
有效的优先级值是1 (High)、2 (Medium)或3 (Low)。
Valid priority values are 1 (for High), 2 (for Medium), or 3 (for Low).
优先级值是一个无符号8位的数量(0至255个号码和),并没有尺寸。
The priority value is an unsigned 8-bit quantity (a number between 0 and 255), and has no dimension.
当然,充分利用可用于RealtimeThread的优先级值将最容易满足服务质量目标。
Of course, taking full advantage of the priority values available to RealtimeThreads will give you the best chance of meeting your service-quality goals.
系统上的每个CPU都有自己专用的运行队列,该队列是按线程优先级值排序的可运行线程的列表。
Each CPU on a system has its own dedicated run queue, which is a list of runnable threads sorted by thread priority value.
优先级值是一个无符号16位的数量(1 0和65535之间的数字),没有任何方面。
The priority value is an unsigned 16-bit quantity (a number between 0 and 65535), and has no dimension.
使用- n或(——adjustment)选项时带一个负值可以增加优先级值,带一个正值将减少优先级值。
You use the -n or (— adjustment) option with a positive value to increase the priority value and a negative value to decrease it.
最安全的方法是让所有线程使用一个优先级值,不使用Thread .yield和将消耗整个CPU(因为它们不会被阻塞)的其他类型的自旋循环。
The safest approach is to make all threads use a single priority value and eliminate the use of Thread.yield and other kinds of spin loops that will fully consume a CPU because they never block.
如果您将缺省值从0更改为1,那么所有固定优先级的线程都将放入到这个运行队列中。
All fixed priority threads will be placed on the run queue if you change the default from 0 to 1.
如果我们的迭代长达两周,那么我们从优先级堆栈顶部取出值两个星期的工作。
If our iterations are two weeks in length, we pull two weeks worth of work from the top of the priority stack.
服务策略还包含一个重要性值,它直接转换为将分配给与此服务策略相关联的请求的优先级。
A service policy also includes an importance value which directly translates into what priority will be given to requests associated with the service policy.
有几种选项可以设置消息发送模式,优先级和存活时间值。
There are options to set message delivery mode, priority and time-to-live value.
运行队列是由运行线程所组成的列表,按照线程优先级的值进行排序。
A run queue is a list of runnable threads, sorted by thread priority value.
优先级越高,风险可能性值越高。
The higher the priority, the higher the risk probability value is.
值越大,优先级就越高。
nice和Renice——这些值可以更改正在运行的进程的优先级。
Nice and Renice — These change the priority of running processes.
另外,要注意在Linux 中较低的delta值代表较高的优先级。
Note also that in Linux, a lower delta value means a higher priority.
dwPriorityClass是进程的优先级等级,它可以设置为下列值中的任意一个。
DwPriorityClass is the priority class of the process, and it is set to any of the following values.
always在所有值中优先级最高。
Pi是第 i 个标准组的优先级的值。
pij是第i个标准组中第j个标准的优先级的值。
Pij is the priority value of the JTH criteria belonging to the ith criteria group.
此外,delta是优先级的值——这一次是从- 20到20。
Again, delta is the priority value — this time in the range -20 to 20.
进程的优先级和优先值。
您可以为进程指定一个绝对优先级(不是调整值),进程的更改如清单10 所示。
You specify an absolute priority (and not an adjustment) for the process or processes to be changed as shown in Listing 10.
一开始,销售人员和客户干系人的权重值会高于运营人员,这样新功能在待办事项列表中会有较高的优先级。
At the start, the sales and customer stakeholders might be weighted higher than the operations stakeholder so that new features are higher priority on the backlog.
清单7中的命令在缺省值20上又增加10,从而创建出新的优先值30和优先级70。
The command in Listing 7 adds 10 to the default of 20 and creates the new nice value of 30, with the priority of 70.
清单7中的命令在缺省值20上又增加10,从而创建出新的优先值30和优先级70。
The command in Listing 7 adds 10 to the default of 20 and creates the new nice value of 30, with the priority of 70.
应用推荐