RELEASE=2.0
KERNEL_VER=2.6.32
-PKGREL=61
+PKGREL=62
# also include firmware of previous versrion into
# the fw package: fwlist-2.6.32-PREV-pve
KREL=10
cd ${KERNEL_SRC}; patch -p1 <../do-not-use-barrier-on-ext3.patch
cd ${KERNEL_SRC}; patch -p1 <../bridge-patch.diff
cd ${KERNEL_SRC}; patch -p1 <../fix-aspm-policy.patch
+ cd ${KERNEL_SRC}; patch -p1 <../optimize-cfq-parameters.patch
sed -i ${KERNEL_SRC}/Makefile -e 's/^EXTRAVERSION.*$$/EXTRAVERSION=${EXTRAVERSION}/'
touch $@
+pve-kernel-2.6.32 (2.6.32-62) unstable; urgency=low
+
+ * optimize CFQ scheduler paramemters
+
+ -- Proxmox Support Team <support@proxmox.com> Fri, 16 Mar 2012 06:44:48 +0100
+
pve-kernel-2.6.32 (2.6.32-61) unstable; urgency=low
* increase API to '10-pve'. We need that to for the 1.9 to 2.0 upgrade
--- /dev/null
+--- linux-2.6-2.6.32/block/cfq-iosched.c.org 2012-03-16 06:39:50.000000000 +0100
++++ linux-2.6-2.6.32/block/cfq-iosched.c 2012-03-16 06:41:36.000000000 +0100
+@@ -21,7 +21,7 @@
+ * tunables
+ */
+ /* max queue in one round of service */
+-static const int cfq_quantum = 8;
++static const int cfq_quantum = 32;
+ static const int cfq_fifo_expire[2] = { HZ / 4, HZ / 8 };
+ /* maximum backwards seek, in KiB */
+ static const int cfq_back_max = 16 * 1024;
+@@ -30,7 +30,7 @@
+ static const int cfq_slice_sync = HZ / 10;
+ static int cfq_slice_async = HZ / 25;
+ static const int cfq_slice_async_rq = 2;
+-static int cfq_slice_idle = HZ / 125;
++static int cfq_slice_idle = 0; /* we disable that by default */
+ static int cfq_group_idle = HZ / 125;
+ static const int cfq_target_latency = HZ * 3/10; /* 300 ms */
+ static const int cfq_hist_divisor = 4;
+@@ -4499,8 +4499,6 @@
+ */
+ if (!cfq_slice_async)
+ cfq_slice_async = 1;
+- if (!cfq_slice_idle)
+- cfq_slice_idle = 1;
+
+ #ifdef CONFIG_CFQ_GROUP_IOSCHED
+ if (!cfq_group_idle)