Browse code

linux-esx: Enable the 'deadline' and 'cfq' I/O schedulers

Some of my experiments have shown that the 'deadline' and 'cfq' I/O
schedulers can give better I/O performance than the 'noop' I/O
scheduler for certain workloads. However, the linux-esx kernel
currently only supports the 'noop' I/O scheduler. So enable the other
I/O schedulers in the kernel config, but retain the default as 'noop'
for now, until we do more extensive performance measurements.

Change-Id: I58d4838fb0f0dc33f75c331e123329ec499de4f0
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4626
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Bo Gan <ganb@vmware.com>

Srivatsa S. Bhat authored on 2018/01/12 08:39:15
Showing 2 changed files
... ...
@@ -343,8 +343,11 @@ CONFIG_BLOCK_COMPAT=y
343 343
 # IO Schedulers
344 344
 #
345 345
 CONFIG_IOSCHED_NOOP=y
346
-# CONFIG_IOSCHED_DEADLINE is not set
347
-# CONFIG_IOSCHED_CFQ is not set
346
+CONFIG_IOSCHED_DEADLINE=y
347
+CONFIG_IOSCHED_CFQ=y
348
+# CONFIG_CFQ_GROUP_IOSCHED is not set
349
+# CONFIG_DEFAULT_DEADLINE is not set
350
+# CONFIG_DEFAULT_CFQ is not set
348 351
 CONFIG_DEFAULT_NOOP=y
349 352
 CONFIG_DEFAULT_IOSCHED="noop"
350 353
 CONFIG_PADATA=y
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:       Kernel
3 3
 Name:          linux-esx
4 4
 Version:       4.4.111
5
-Release:       1%{?dist}
5
+Release:       2%{?dist}
6 6
 License:       GPLv2
7 7
 URL:           http://www.kernel.org/
8 8
 Group:         System Environment/Kernel
... ...
@@ -241,6 +241,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
241 241
 /usr/src/linux-headers-%{uname_r}
242 242
 
243 243
 %changelog
244
+*   Thu Jan 11 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 4.4.111-2
245
+-   Enable the 'deadline' and 'cfq' I/O schedulers.
244 246
 *   Wed Jan 10 2018 Bo Gan <ganb@vmware.com> 4.4.111-1
245 247
 -   Version update to 4.4.111
246 248
 *   Mon Jan 08 2018 Bo Gan <ganb@vmware.com> 4.4.110-2