[opensuse-virtual] where do Xen 4.5 boot-time options go in opensuse 13.2 -- with no rc.local?
Xen's "best practices" http://wiki.xenproject.org/wiki/Xen_Project_Best_Practices instruct that to make changes to the Dom0 scheduling weight default (=256) persistent "You can place the "xm sched-credit" to rc.local or other script that is executed late in the boot process. Make sure the command is executed after xend is started, since the xm command needs to talk to xend." Opensuse uses systemd, there's no rc.local, and IIUC no xend in Xen 4.5+. Where should a change to the default setting like xl sched-credit -d Domain-0 -w 512 be made? There's /usr/lib/systemd/system/after-local.service -> /etc/init.d/after.local but any entries there would have to detect Xen and be Xen-specific, not firing if booting to non-Xen. LT -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On Tue, Apr 07, lyndat3@your-mail.com wrote:
Where should a change to the default setting like
xl sched-credit -d Domain-0 -w 512
be made?
There's
/usr/lib/systemd/system/after-local.service -> /etc/init.d/after.local
but any entries there would have to detect Xen and be Xen-specific, not firing if booting to non-Xen.
if test -d /proc/xen ; then xl $whatever ; fi Olaf -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (2)
-
lyndat3@your-mail.com
-
Olaf Hering