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: Ia4add3c18afdd93261d4005b9904f3c4b400ea3f
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4625
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Bo Gan <ganb@vmware.com>

Srivatsa S. Bhat authored on 2018/01/11 09:12:31
Showing 2 changed files
... ...
@@ -368,8 +368,11 @@ CONFIG_BLK_MQ_PCI=y
368 368
 # IO Schedulers
369 369
 #
370 370
 CONFIG_IOSCHED_NOOP=y
371
-# CONFIG_IOSCHED_DEADLINE is not set
372
-# CONFIG_IOSCHED_CFQ is not set
371
+CONFIG_IOSCHED_DEADLINE=y
372
+CONFIG_IOSCHED_CFQ=y
373
+# CONFIG_CFQ_GROUP_IOSCHED is not set
374
+# CONFIG_DEFAULT_DEADLINE is not set
375
+# CONFIG_DEFAULT_CFQ is not set
373 376
 CONFIG_DEFAULT_NOOP=y
374 377
 CONFIG_DEFAULT_IOSCHED="noop"
375 378
 CONFIG_PADATA=y
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        Kernel
3 3
 Name:           linux-esx
4 4
 Version:        4.9.75
5
-Release:        3%{?dist}
5
+Release:        4%{?dist}
6 6
 License:        GPLv2
7 7
 URL:            http://www.kernel.org/
8 8
 Group:          System Environment/Kernel
... ...
@@ -250,6 +250,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
250 250
 /usr/src/linux-headers-%{uname_r}
251 251
 
252 252
 %changelog
253
+*   Wed Jan 10 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 4.9.75-4
254
+-   Enable the 'deadline' and 'cfq' I/O schedulers.
253 255
 *   Sun Jan 07 2018 Bo Gan <ganb@vmware.com> 4.9.75-3
254 256
 -   Second Spectre fix, clear user controlled registers upon syscall entry
255 257
 *   Sun Jan 07 2018 Bo Gan <ganb@vmware.com> 4.9.75-2