diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2011-06-02 16:06:05 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2011-06-02 16:06:05 -0400 |
commit | 3d5537c160c1484e8d562b9828baf679cc53f67a (patch) | |
tree | b595364f1b0f94ac2426c8315bc5967debc7bbb0 /litmus/Kconfig | |
parent | 7d754596756240fa918b94cd0c3011c77a638987 (diff) |
Full patch for klitirqd with Nvidia GPU support.
Diffstat (limited to 'litmus/Kconfig')
-rw-r--r-- | litmus/Kconfig | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/litmus/Kconfig b/litmus/Kconfig index ad8dc8308cf0..7e865d4dd703 100644 --- a/litmus/Kconfig +++ b/litmus/Kconfig | |||
@@ -62,6 +62,25 @@ config LITMUS_LOCKING | |||
62 | 62 | ||
63 | endmenu | 63 | endmenu |
64 | 64 | ||
65 | menu "Performance Enhancements" | ||
66 | |||
67 | config SCHED_CPU_AFFINITY | ||
68 | bool "Local Migration Affinity" | ||
69 | default y | ||
70 | help | ||
71 | Rescheduled tasks prefer CPUs near to their previously used CPU. This | ||
72 | may improve performance through possible preservation of cache affinity. | ||
73 | |||
74 | Warning: May make bugs ahrder to find since tasks may migrate less often. | ||
75 | |||
76 | NOTES: | ||
77 | * Pfair/PD^2 does not support this option. | ||
78 | * Only x86 currently supported. | ||
79 | |||
80 | Say Yes if unsure. | ||
81 | |||
82 | endmenu | ||
83 | |||
65 | menu "Tracing" | 84 | menu "Tracing" |
66 | 85 | ||
67 | config FEATHER_TRACE | 86 | config FEATHER_TRACE |
@@ -182,4 +201,74 @@ config SCHED_DEBUG_TRACE_CALLER | |||
182 | 201 | ||
183 | endmenu | 202 | endmenu |
184 | 203 | ||
204 | menu "Interrupt Handling" | ||
205 | |||
206 | config LITMUS_THREAD_ALL_SOFTIRQ | ||
207 | bool "Process all softirqs in ksoftirqd threads." | ||
208 | default n | ||
209 | help | ||
210 | (Experimental) Thread all softirqs to ksoftirqd | ||
211 | daemon threads, similar to PREEMPT_RT. I/O | ||
212 | throughput will will drop with this enabled, but | ||
213 | latencies due to interrupts will be reduced. | ||
214 | |||
215 | WARNING: Timer responsiveness will likely be | ||
216 | decreased as timer callbacks are also threaded. | ||
217 | This is unlike PREEEMPT_RTs hardirqs. | ||
218 | |||
219 | If unsure, say No. | ||
220 | |||
221 | config LITMUS_SOFTIRQD | ||
222 | bool "Spawn klitirqd interrupt handling threads." | ||
223 | depends on LITMUS_LOCKING | ||
224 | default n | ||
225 | help | ||
226 | Create klitirqd interrupt handling threads. Work must be | ||
227 | specifically dispatched to these workers. (Softirqs for | ||
228 | Litmus tasks are not magically redirected to klitirqd.) | ||
229 | |||
230 | G-EDF ONLY for now! | ||
231 | |||
232 | If unsure, say No. | ||
233 | |||
234 | config NR_LITMUS_SOFTIRQD | ||
235 | int "Number of klitirqd." | ||
236 | depends on LITMUS_SOFTIRQD | ||
237 | range 1 4096 | ||
238 | default "1" | ||
239 | help | ||
240 | Should be <= to the number of CPUs in your system. | ||
241 | |||
242 | config LITMUS_NVIDIA | ||
243 | bool "Litmus handling of NVIDIA interrupts." | ||
244 | depends on LITMUS_SOFTIRQD | ||
245 | default n | ||
246 | help | ||
247 | Direct tasklets from NVIDIA devices to Litmus's klitirqd. | ||
248 | |||
249 | If unsure, say No. | ||
250 | |||
251 | choice | ||
252 | prompt "CUDA/Driver Version Support" | ||
253 | default CUDA_4_0 | ||
254 | depends on LITMUS_NVIDIA | ||
255 | help | ||
256 | Select the version of CUDA/driver to support. | ||
257 | |||
258 | config CUDA_4_0 | ||
259 | bool "CUDA 4.0" | ||
260 | depends on LITMUS_NVIDIA | ||
261 | help | ||
262 | Support CUDA 4.0 RC2 (dev. driver version: x86_64-270.40) | ||
263 | |||
264 | config CUDA_3_2 | ||
265 | bool "CUDA 3.2" | ||
266 | depends on LITMUS_NVIDIA | ||
267 | help | ||
268 | Support CUDA 3.2 (dev. driver version: x86_64-260.24) | ||
269 | |||
270 | endchoice | ||
271 | |||
272 | endmenu | ||
273 | |||
185 | endmenu | 274 | endmenu |