3 .\" Copyright 2013 Turbo Fredriksson <turbo@bayour.com>. All rights reserved.
5 .TH SPL-MODULE-PARAMETERS 5 "Nov 18, 2013"
7 spl\-module\-parameters \- SPL module parameters
11 Description of the different parameters to the SPL module.
13 .SS "Module parameters"
20 \fBspl_debug_subsys\fR (ulong)
23 Subsystem debugging level mask.
25 Default value: \fB~0\fR.
31 \fBspl_debug_mask\fR (ulong)
36 Default value: \fB8 | 10 | 4 | 20\fR (SD_ERROR | SD_EMERG | SD_WARNING | SD_CONSOLE).
42 \fBspl_debug_printk\fR (ulong)
45 Console printk level mask.
47 Default value: \fB8 | 10 | 4 | 20\fR (SD_ERROR | SD_EMERG | SD_WARNING | SD_CONSOLE).
53 \fBspl_debug_mb\fR (int)
56 Total debug buffer size.
58 Default value: \fB-1\fR.
64 \fBspl_debug_panic_on_bug\fR (int)
69 Use \fB1\fR for yes and \fB0\fR for no (default).
75 \fBspl_kmem_cache_expire\fR (uint)
78 By age (0x1) or low memory (0x2)
80 Default value: \fB0\fR.
86 \fBspl_kmem_alloc_warn\fR (uint)
89 As a general rule kmem_alloc() allocations should be small, preferably
90 just a few pages since they must by physically contiguous. Therefore, a
91 rate limited warning will be printed to the console for any kmem_alloc()
92 which exceeds a reasonable threshold.
94 The default warning threshold is set to eight pages but capped at 32K to
95 accommodate systems using large pages. This value was selected to be small
96 enough to ensure the largest allocations are quickly noticed and fixed.
97 But large enough to avoid logging any warnings when a allocation size is
98 larger than optimal but not a serious concern. Since this value is tunable,
99 developers are encouraged to set it lower when testing so any new largish
100 allocations are quickly caught. These warnings may be disabled by setting
101 the threshold to zero.
103 Default value: \fB32K\fR.
109 \fBspl_kmem_alloc_max\fR (uint)
112 Large kmem_alloc() allocations will fail if they exceed KMALLOC_MAX_SIZE.
113 Allocations which are marginally smaller than this limit may succeed but
114 should still be avoided due to the expense of locating a contiguous range
115 of free pages. Therefore, a maximum kmem size with reasonable safely
116 margin of 4x is set. Kmem_alloc() allocations larger than this maximum
117 will quickly fail. Vmem_alloc() allocations less than or equal to this
118 value will use kmalloc(), but shift to vmalloc() when exceeding this value.
120 Default value: \fBKMALLOC_MAX_SIZE/4\fR.
126 \fBspl_hostid\fR (ulong)
131 Default value: \fB0xFFFFFFFF\fR (an invalid hostid!)
137 \fBspl_hostid_path\fR (charp)
140 The system hostid file
142 Default value: \fB/etc/hostid\fR.
148 \fBspl_taskq_thread_bind\fR (int)
151 Bind taskq thread to CPU
153 Default value: \fB0\fR.