kernel: lower default task switch rate
authorAlan Cox <alan@linux.intel.com>
Tue, 11 Dec 2018 22:28:13 +0000 (22:28 +0000)
committerAlan Cox <alan@linux.intel.com>
Tue, 11 Dec 2018 22:28:13 +0000 (22:28 +0000)
Kernel/include/kernel.h

index 614a601..ed694e9 100644 (file)
@@ -113,8 +113,9 @@ From UZI by Doug Braun and UZI280 by Stefan Nitschke.
 #endif
 
 
+/* Default to longer slices. For most ports it's a better choice */
 #ifndef MAXTICKS
-#define MAXTICKS     (TICKSPERSEC/10)
+#define MAXTICKS     (TICKSPERSEC/2)
                            /* Max ticks before switching out (time slice)
                               default process time slice */
 #endif