win2k8计划任务有什么办法可以有正常的优先级IO? [英] Is there any way for a win2k8 scheduled task to have normal priority IO?

查看:58
本文介绍了win2k8计划任务有什么办法可以有正常的优先级IO?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 IO 密集型的计划任务(删除数十万个文件).出于磁盘空间的原因,必须相当快地执行此作业.在 win2k8 上,计划任务总是具有较低的 IO 优先级.提高进程的优先级并没有改变IO优先级.有什么办法可以让定时任务有正常的IO优先级吗?

I have a scheduled task that is very IO intensive (deleting hundreds of thousands of files). For disk space reasons, this job has to be performed reasonably quickly. On win2k8, scheduled tasks always have a low IO priority. Raising the priority of the process did not change the IO priority. Is there any way to get a scheduled task to have a normal IO priority?

推荐答案

  1. 创建任务
  2. 右键单击任务并导出"它
  3. 编辑刚刚导出的 task.xml 文件
  4. 你会发现一行类似于7
  5. 将值更改为正常优先级(4-6 之间).潜在值表:TaskSettings.Priority 属性
    • 值为 4 将具有与交互式进程相同的 I/O 和内存优先级.5 和 6 的值将具有较低的内存优先级

这篇关于win2k8计划任务有什么办法可以有正常的优先级IO?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆