Permalink
Browse files

Set a large AIO limit (same as XCP dom0, enough for 1024 tapdisks)

  • Loading branch information...
1 parent f7f31f9 commit a970fc97906ea3f21209c4970043aa97d6b137bc David Scott committed Jun 28, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 Makefile
  2. +2 −0 overlay/init
View
@@ -1,4 +1,4 @@
-PACKAGES=rsyslog util-linux dhclient net-tools xe-guest-utilities xe-guest-utilities-xenstore pciutils nfs-utils xcp-sm-fs xapi-noarch-backend-udev blktap
+PACKAGES=rsyslog util-linux dhclient net-tools xe-guest-utilities xe-guest-utilities-xenstore pciutils nfs-utils xcp-sm-fs xapi-noarch-backend-udev blktap blktap-debuginfo gdb strace
initrd:
sudo ./make-initrd.sh ${PACKAGES}
View
@@ -20,6 +20,8 @@ echo Starting NFS services
/sbin/rpc.statd -p 600 -o 601 &
/usr/sbin/rpc.idmapd &
/sbin/portmap &
+echo Setting AIO limit
+/sbin/sysctl -w fs.aio-max-nr=444416
echo Starting xcp-sm-fs
/usr/bin/xcp-sm-fs&
exec /bin/bash

0 comments on commit a970fc9

Please sign in to comment.