task_profiles.json 902 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "Profiles": [
  3. {
  4. "Name": "GpisSfCpusetEnable",
  5. "Actions": [
  6. {
  7. "Name": "SetAttribute",
  8. "Params":
  9. {
  10. "Name": "GpisSfCpuset",
  11. "Value": "2-6"
  12. }
  13. }
  14. ]
  15. },
  16. {
  17. "Name": "GpisSfCpusetDisable",
  18. "Actions": [
  19. {
  20. "Name": "SetAttribute",
  21. "Params":
  22. {
  23. "Name": "GpisSfCpuset",
  24. "Value": "0-1,5-6"
  25. }
  26. }
  27. ]
  28. },
  29. {
  30. "Name": "MidgroundProcess",
  31. "Actions": [
  32. {
  33. "Name": "JoinCgroup",
  34. "Params":
  35. {
  36. "Controller": "cpuset",
  37. "Path": "midground"
  38. }
  39. },
  40. {
  41. "Name": "JoinCgroup",
  42. "Params":
  43. {
  44. "Controller": "cpu",
  45. "Path": "midground"
  46. }
  47. }
  48. ]
  49. }
  50. ]
  51. }