Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] classes/rm_work: use the idle I/O scheduler class
@ 2016-06-14 15:18 Ross Burton
  2016-06-14 19:11 ` Christopher Larson
  2016-06-16  9:04 ` Patrick Ohly
  0 siblings, 2 replies; 4+ messages in thread
From: Ross Burton @ 2016-06-14 15:18 UTC (permalink / raw)
  To: openembedded-core

As rm_work is just cleanup it shouldn't starve more important tasks such as
do_compile of I/O, so use BB_TASK_IONICE_LEVEL to run the task in the idle
scheduler class.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/classes/rm_work.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index 3ebf095..3e6c5ac 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -15,6 +15,9 @@
 # to try and reduce disk usage
 BB_SCHEDULER ?= "completion"
 
+# Run the rm_work task in the idle scheduling class
+BB_TASK_IONICE_LEVEL_task-rm_work = "3.0"
+
 RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}"
 BB_DEFAULT_TASK = "rm_work_all"
 
-- 
2.8.0.rc3



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-17 20:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-14 15:18 [PATCH] classes/rm_work: use the idle I/O scheduler class Ross Burton
2016-06-14 19:11 ` Christopher Larson
2016-06-16  9:04 ` Patrick Ohly
2016-06-17 20:47   ` Andre McCurdy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox