blob: 8691c6543a9c0f76d9926793e8af726fa957cede [file] [log] [blame]
Oleg Drokin8b828442015-05-21 15:31:36 -04001What: /sys/fs/lustre/version
2Date: May 2015
3Contact: "Oleg Drokin" <oleg.drokin@intel.com>
4Description:
5 Shows current running lustre version.
6
7What: /sys/fs/lustre/pinger
8Date: May 2015
9Contact: "Oleg Drokin" <oleg.drokin@intel.com>
10Description:
11 Shows if the lustre module has pinger support.
12 "on" means yes and "off" means no.
13
James Simmonsfbcda652016-11-07 17:52:32 -050014What: /sys/fs/lustre/health_check
Oleg Drokin8b828442015-05-21 15:31:36 -040015Date: May 2015
16Contact: "Oleg Drokin" <oleg.drokin@intel.com>
17Description:
18 Shows whenever current system state believed to be "healthy",
19 "NOT HEALTHY", or "LBUG" whenever lustre has experienced
20 an internal assertion failure
21
22What: /sys/fs/lustre/jobid_name
23Date: May 2015
24Contact: "Oleg Drokin" <oleg.drokin@intel.com>
25Description:
26 Currently running job "name" for this node to be transferred
27 to Lustre servers for purposes of QoS and statistics gathering.
28 Writing into this file will change the name, reading outputs
29 currently set value.
30
31What: /sys/fs/lustre/jobid_var
32Date: May 2015
33Contact: "Oleg Drokin" <oleg.drokin@intel.com>
34Description:
35 Control file for lustre "jobstats" functionality, write new
36 value from the list below to change the mode:
37 disable - disable job name reporting to the servers (default)
38 procname_uid - form the job name as the current running
39 command name and pid with a dot in between
40 e.g. dd.1253
41 nodelocal - use jobid_name value from above.
Oleg Drokin364bcfc2015-05-21 15:31:38 -040042
Oleg Drokine2424a12015-07-06 12:48:46 -040043What: /sys/fs/lustre/timeout
44Date: June 2015
45Contact: "Oleg Drokin" <oleg.drokin@intel.com>
46Description:
47 Controls "lustre timeout" variable, also known as obd_timeout
48 in some old manual. In the past obd_timeout was of paramount
49 importance as the timeout value used everywhere and where
50 other timeouts were derived from. These days it's much less
51 important as network timeouts are mostly determined by
52 AT (adaptive timeouts).
53 Unit: seconds, default: 100
54
Oleg Drokindf476a42015-07-06 12:48:47 -040055What: /sys/fs/lustre/max_dirty_mb
56Date: June 2015
57Contact: "Oleg Drokin" <oleg.drokin@intel.com>
58Description:
59 Controls total number of dirty cache (in megabytes) allowed
60 across all mounted lustre filesystems.
61 Since writeout of dirty pages in Lustre is somewhat expensive,
62 when you allow to many dirty pages, this might lead to
63 performance degradations as kernel tries to desperately
64 find some pages to free/writeout.
65 Default 1/2 RAM. Min value 4, max value 9/10 of RAM.
66
Oleg Drokin9e7fa1492015-07-06 12:48:48 -040067What: /sys/fs/lustre/debug_peer_on_timeout
68Date: June 2015
69Contact: "Oleg Drokin" <oleg.drokin@intel.com>
70Description:
71 Control if lnet debug information should be printed when
72 an RPC timeout occurs.
73 0 disabled (default)
74 1 enabled
75
76What: /sys/fs/lustre/dump_on_timeout
77Date: June 2015
78Contact: "Oleg Drokin" <oleg.drokin@intel.com>
79Description:
80 Controls if Lustre debug log should be dumped when an RPC
81 timeout occurs. This is useful if yout debug buffer typically
82 rolls over by the time you notice RPC timeouts.
83
84What: /sys/fs/lustre/dump_on_eviction
85Date: June 2015
86Contact: "Oleg Drokin" <oleg.drokin@intel.com>
87Description:
88 Controls if Lustre debug log should be dumped when an this
89 client is evicted from one of the servers.
90 This is useful if yout debug buffer typically rolls over
91 by the time you notice the eviction event.
92
Oleg Drokinbcef1182015-07-06 12:48:49 -040093What: /sys/fs/lustre/at_min
94Date: July 2015
95Contact: "Oleg Drokin" <oleg.drokin@intel.com>
96Description:
97 Controls minimum adaptive timeout in seconds. If you encounter
98 a case where clients timeout due to server-reported processing
99 time being too short, you might consider increasing this value.
100 One common case of this if the underlying network has
101 unpredictable long delays.
102 Default: 0
103
104What: /sys/fs/lustre/at_max
105Date: July 2015
106Contact: "Oleg Drokin" <oleg.drokin@intel.com>
107Description:
108 Controls maximum adaptive timeout in seconds. If at_max timeout
109 is reached for an RPC, the RPC will time out.
110 Some genuinuely slow network hardware might warrant increasing
111 this value.
112 Setting this value to 0 disables Adaptive Timeouts
113 functionality and old-style obd_timeout value is then used.
114 Default: 600
115
116What: /sys/fs/lustre/at_extra
117Date: July 2015
118Contact: "Oleg Drokin" <oleg.drokin@intel.com>
119Description:
120 Controls how much extra time to request for unfinished requests
121 in processing in seconds. Normally a server-side parameter, it
122 is also used on the client for responses to various LDLM ASTs
123 that are handled with a special server thread on the client.
124 This is a way for the servers to ask the clients not to time
125 out the request that reached current servicing time estimate
126 yet and give it some more time.
127 Default: 30
128
129What: /sys/fs/lustre/at_early_margin
130Date: July 2015
131Contact: "Oleg Drokin" <oleg.drokin@intel.com>
132Description:
133 Controls when to send the early reply for requests that are
134 about to timeout as an offset to the estimated service time in
135 seconds..
136 Default: 5
137
138What: /sys/fs/lustre/at_history
139Date: July 2015
140Contact: "Oleg Drokin" <oleg.drokin@intel.com>
141Description:
142 Controls for how many seconds to remember slowest events
143 encountered by adaptive timeouts code.
144 Default: 600
145
Oleg Drokin364bcfc2015-05-21 15:31:38 -0400146What: /sys/fs/lustre/llite/<fsname>-<uuid>/blocksize
147Date: May 2015
148Contact: "Oleg Drokin" <oleg.drokin@intel.com>
149Description:
150 Biggest blocksize on object storage server for this filesystem.
Oleg Drokin5804b11e2015-05-21 15:31:39 -0400151
152What: /sys/fs/lustre/llite/<fsname>-<uuid>/kbytestotal
153Date: May 2015
154Contact: "Oleg Drokin" <oleg.drokin@intel.com>
155Description:
156 Shows total number of kilobytes of space on this filesystem
157
158What: /sys/fs/lustre/llite/<fsname>-<uuid>/kbytesfree
159Date: May 2015
160Contact: "Oleg Drokin" <oleg.drokin@intel.com>
161Description:
162 Shows total number of free kilobytes of space on this filesystem
163
164What: /sys/fs/lustre/llite/<fsname>-<uuid>/kbytesavail
165Date: May 2015
166Contact: "Oleg Drokin" <oleg.drokin@intel.com>
167Description:
168 Shows total number of free kilobytes of space on this filesystem
169 actually available for use (taking into account per-client
170 grants and filesystem reservations).
Oleg Drokin7267ec0d2015-05-21 15:31:40 -0400171
172What: /sys/fs/lustre/llite/<fsname>-<uuid>/filestotal
173Date: May 2015
174Contact: "Oleg Drokin" <oleg.drokin@intel.com>
175Description:
176 Shows total number of inodes on the filesystem.
177
178What: /sys/fs/lustre/llite/<fsname>-<uuid>/filesfree
179Date: May 2015
180Contact: "Oleg Drokin" <oleg.drokin@intel.com>
181Description:
182 Shows estimated number of free inodes on the filesystem
Oleg Drokin95e1b6b2015-05-21 15:31:41 -0400183
184What: /sys/fs/lustre/llite/<fsname>-<uuid>/client_type
185Date: May 2015
186Contact: "Oleg Drokin" <oleg.drokin@intel.com>
187Description:
188 Shows whenever this filesystem considers this client to be
189 compute cluster-local or remote. Remote clients have
190 additional uid/gid convrting logic applied.
Oleg Drokin0cee6672015-05-21 15:31:42 -0400191
192What: /sys/fs/lustre/llite/<fsname>-<uuid>/fstype
193Date: May 2015
194Contact: "Oleg Drokin" <oleg.drokin@intel.com>
195Description:
196 Shows filesystem type of the filesystem
Oleg Drokinec55a622015-05-21 15:31:43 -0400197
198What: /sys/fs/lustre/llite/<fsname>-<uuid>/uuid
199Date: May 2015
200Contact: "Oleg Drokin" <oleg.drokin@intel.com>
201Description:
202 Shows this filesystem superblock uuid
Oleg Drokine1a1df52015-05-21 15:31:44 -0400203
204What: /sys/fs/lustre/llite/<fsname>-<uuid>/max_read_ahead_mb
205Date: May 2015
206Contact: "Oleg Drokin" <oleg.drokin@intel.com>
207Description:
208 Sets maximum number of megabytes in system memory to be
209 given to read-ahead cache.
Oleg Drokin0e6c5a22015-05-21 15:31:45 -0400210
211What: /sys/fs/lustre/llite/<fsname>-<uuid>/max_read_ahead_per_file_mb
212Date: May 2015
213Contact: "Oleg Drokin" <oleg.drokin@intel.com>
214Description:
215 Sets maximum number of megabytes to read-ahead for a single file
Oleg Drokinec46923582015-05-21 15:31:46 -0400216
217What: /sys/fs/lustre/llite/<fsname>-<uuid>/max_read_ahead_whole_mb
218Date: May 2015
219Contact: "Oleg Drokin" <oleg.drokin@intel.com>
220Description:
221 For small reads, how many megabytes to actually request from
222 the server as initial read-ahead.
Oleg Drokin40cc8642015-05-21 15:31:47 -0400223
224What: /sys/fs/lustre/llite/<fsname>-<uuid>/checksum_pages
225Date: May 2015
226Contact: "Oleg Drokin" <oleg.drokin@intel.com>
227Description:
228 Enables or disables per-page checksum at llite layer, before
229 the pages are actually given to lower level for network transfer
Oleg Drokin62cf4b12015-05-21 15:31:49 -0400230
231What: /sys/fs/lustre/llite/<fsname>-<uuid>/stats_track_pid
232Date: May 2015
233Contact: "Oleg Drokin" <oleg.drokin@intel.com>
234Description:
235 Limit Lustre vfs operations gathering to just a single pid.
236 0 to track everything.
237
238What: /sys/fs/lustre/llite/<fsname>-<uuid>/stats_track_ppid
239Date: May 2015
240Contact: "Oleg Drokin" <oleg.drokin@intel.com>
241Description:
242 Limit Lustre vfs operations gathering to just a single ppid.
243 0 to track everything.
244
245What: /sys/fs/lustre/llite/<fsname>-<uuid>/stats_track_gid
246Date: May 2015
247Contact: "Oleg Drokin" <oleg.drokin@intel.com>
248Description:
249 Limit Lustre vfs operations gathering to just a single gid.
250 0 to track everything.
Oleg Drokin4081a322015-05-21 15:31:50 -0400251
252What: /sys/fs/lustre/llite/<fsname>-<uuid>/statahead_max
253Date: May 2015
254Contact: "Oleg Drokin" <oleg.drokin@intel.com>
255Description:
256 Controls maximum number of statahead requests to send when
257 sequential readdir+stat pattern is detected.
258
259What: /sys/fs/lustre/llite/<fsname>-<uuid>/statahead_agl
260Date: May 2015
261Contact: "Oleg Drokin" <oleg.drokin@intel.com>
262Description:
263 Controls if AGL (async glimpse ahead - obtain object information
264 from OSTs in parallel with MDS during statahead) should be
265 enabled or disabled.
266 0 to disable, 1 to enable.
Oleg Drokinc7fe64b2015-05-21 15:31:51 -0400267
268What: /sys/fs/lustre/llite/<fsname>-<uuid>/lazystatfs
269Date: May 2015
270Contact: "Oleg Drokin" <oleg.drokin@intel.com>
271Description:
272 Controls statfs(2) behaviour in the face of down servers.
273 If 0, always wait for all servers to come online,
274 if 1, ignote inactive servers.
Oleg Drokinf5501d02015-05-21 15:31:52 -0400275
276What: /sys/fs/lustre/llite/<fsname>-<uuid>/max_easize
277Date: May 2015
278Contact: "Oleg Drokin" <oleg.drokin@intel.com>
279Description:
280 Shows maximum number of bytes file striping data could be
281 in current configuration of storage.
282
283What: /sys/fs/lustre/llite/<fsname>-<uuid>/default_easize
284Date: May 2015
285Contact: "Oleg Drokin" <oleg.drokin@intel.com>
286Description:
287 Shows maximum observed file striping data seen by this
288 filesystem client instance.
Oleg Drokin070c29c2015-05-21 15:31:54 -0400289
290What: /sys/fs/lustre/llite/<fsname>-<uuid>/xattr_cache
291Date: May 2015
292Contact: "Oleg Drokin" <oleg.drokin@intel.com>
293Description:
294 Controls extended attributes client-side cache.
295 1 to enable, 0 to disable.
Oleg Drokin0f53c822015-05-21 15:31:56 -0400296
Oleg Drokincb961912016-06-20 16:55:49 -0400297What: /sys/fs/lustre/llite/<fsname>-<uuid>/unstable_stats
298Date: Apr 2016
299Contact: "Oleg Drokin" <oleg.drokin@intel.com>
300Description:
301 Shows number of pages that were sent and acknowledged by
302 server but were not yet committed and therefore still
303 pinned in client memory even though no longer dirty.
304
Oleg Drokin0f53c822015-05-21 15:31:56 -0400305What: /sys/fs/lustre/ldlm/cancel_unused_locks_before_replay
306Date: May 2015
307Contact: "Oleg Drokin" <oleg.drokin@intel.com>
308Description:
309 Controls if client should replay unused locks during recovery
310 If a client tends to have a lot of unused locks in LRU,
311 recovery times might become prolonged.
312 1 - just locally cancel unused locks (default)
313 0 - replay unused locks.
Oleg Drokin61d4a2e2015-05-21 15:31:57 -0400314
315What: /sys/fs/lustre/ldlm/namespaces/<name>/resource_count
316Date: May 2015
317Contact: "Oleg Drokin" <oleg.drokin@intel.com>
318Description:
319 Displays number of lock resources (objects on which individual
320 locks are taken) currently allocated in this namespace.
Oleg Drokin63af1f52015-05-21 15:31:58 -0400321
322What: /sys/fs/lustre/ldlm/namespaces/<name>/lock_count
323Date: May 2015
324Contact: "Oleg Drokin" <oleg.drokin@intel.com>
325Description:
326 Displays number or locks allocated in this namespace.
Oleg Drokin67840962015-05-21 15:31:59 -0400327
328What: /sys/fs/lustre/ldlm/namespaces/<name>/lru_size
329Date: May 2015
330Contact: "Oleg Drokin" <oleg.drokin@intel.com>
331Description:
332 Controls and displays LRU size limit for unused locks for this
333 namespace.
334 0 - LRU size is unlimited, controlled by server resources
335 positive number - number of locks to allow in lock LRU list
Oleg Drokin87d32092015-05-21 15:32:00 -0400336
Oleg Drokin3dd45982015-05-21 15:32:01 -0400337What: /sys/fs/lustre/ldlm/namespaces/<name>/lock_unused_count
338Date: May 2015
339Contact: "Oleg Drokin" <oleg.drokin@intel.com>
340Description:
341 Display number of locks currently sitting in the LRU list
342 of this namespace
343
Oleg Drokinc8412362015-05-21 15:32:02 -0400344What: /sys/fs/lustre/ldlm/namespaces/<name>/lru_max_age
345Date: May 2015
346Contact: "Oleg Drokin" <oleg.drokin@intel.com>
347Description:
348 Maximum number of milliseconds a lock could sit in LRU list
349 before client would voluntarily cancel it as unused.
350
Oleg Drokin87d32092015-05-21 15:32:00 -0400351What: /sys/fs/lustre/ldlm/namespaces/<name>/early_lock_cancel
352Date: May 2015
353Contact: "Oleg Drokin" <oleg.drokin@intel.com>
354Description:
355 Controls "early lock cancellation" feature on this namespace
356 if supported by the server.
357 When enabled, tries to preemtively cancel locks that would be
358 cancelled by verious operations and bundle the cancellation
359 requests in the same RPC as the main operation, which results
360 in significant speedups due to reduced lock-pingpong RPCs.
361 0 - disabled
362 1 - enabled (default)
Oleg Drokin24b8c882015-05-21 15:32:05 -0400363
364What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/granted
365Date: May 2015
366Contact: "Oleg Drokin" <oleg.drokin@intel.com>
367Description:
368 Displays number of granted locks in this namespace
369
370What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/grant_rate
371Date: May 2015
372Contact: "Oleg Drokin" <oleg.drokin@intel.com>
373Description:
374 Number of granted locks in this namespace during last
375 time interval
376
377What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/cancel_rate
378Date: May 2015
379Contact: "Oleg Drokin" <oleg.drokin@intel.com>
380Description:
381 Number of lock cancellations in this namespace during
382 last time interval
383
384What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/grant_speed
385Date: May 2015
386Contact: "Oleg Drokin" <oleg.drokin@intel.com>
387Description:
388 Calculated speed of lock granting (grant_rate - cancel_rate)
389 in this namespace
390
391What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/grant_plan
392Date: May 2015
393Contact: "Oleg Drokin" <oleg.drokin@intel.com>
394Description:
395 Estimated number of locks to be granted in the next time
396 interval in this namespace
397
398What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/limit
399Date: May 2015
400Contact: "Oleg Drokin" <oleg.drokin@intel.com>
401Description:
402 Controls number of allowed locks in this pool.
403 When lru_size is 0, this is the actual limit then.
404
405What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/lock_volume_factor
406Date: May 2015
407Contact: "Oleg Drokin" <oleg.drokin@intel.com>
408Description:
409 Multiplier for all lock volume calculations above.
410 Default is 1. Increase to make the client to more agressively
411 clean it's lock LRU list for this namespace.
412
413What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/server_lock_volume
414Date: May 2015
415Contact: "Oleg Drokin" <oleg.drokin@intel.com>
416Description:
417 Calculated server lock volume.
418
419What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/recalc_period
420Date: May 2015
421Contact: "Oleg Drokin" <oleg.drokin@intel.com>
422Description:
423 Controls length of time between recalculation of above
424 values (in seconds).
Oleg Drokin673a6792015-05-21 15:32:09 -0400425
426What: /sys/fs/lustre/ldlm/services/ldlm_cbd/threads_min
427Date: May 2015
428Contact: "Oleg Drokin" <oleg.drokin@intel.com>
429Description:
430 Controls minimum number of ldlm callback threads to start.
431
432What: /sys/fs/lustre/ldlm/services/ldlm_cbd/threads_max
433Date: May 2015
434Contact: "Oleg Drokin" <oleg.drokin@intel.com>
435Description:
436 Controls maximum number of ldlm callback threads to start.
437
438What: /sys/fs/lustre/ldlm/services/ldlm_cbd/threads_started
439Date: May 2015
440Contact: "Oleg Drokin" <oleg.drokin@intel.com>
441Description:
442 Shows actual number of ldlm callback threads running.
Oleg Drokinb40881e2015-05-21 15:32:10 -0400443
444What: /sys/fs/lustre/ldlm/services/ldlm_cbd/high_priority_ratio
445Date: May 2015
446Contact: "Oleg Drokin" <oleg.drokin@intel.com>
447Description:
448 Controls what percentage of ldlm callback threads is dedicated
449 to "high priority" incoming requests.
Oleg Drokin0bc36cb2015-05-21 15:32:17 -0400450
451What: /sys/fs/lustre/{obdtype}/{connection_name}/blocksize
452Date: May 2015
453Contact: "Oleg Drokin" <oleg.drokin@intel.com>
454Description:
455 Blocksize on backend filesystem for service behind this obd
456 device (or biggest blocksize for compound devices like lov
457 and lmv)
458
459What: /sys/fs/lustre/{obdtype}/{connection_name}/kbytestotal
460Date: May 2015
461Contact: "Oleg Drokin" <oleg.drokin@intel.com>
462Description:
463 Total number of kilobytes of space on backend filesystem
464 for service behind this obd (or total amount for compound
465 devices like lov lmv)
466
467What: /sys/fs/lustre/{obdtype}/{connection_name}/kbytesfree
468Date: May 2015
469Contact: "Oleg Drokin" <oleg.drokin@intel.com>
470Description:
471 Number of free kilobytes on backend filesystem for service
472 behind this obd (or total amount for compound devices
473 like lov lmv)
474
475What: /sys/fs/lustre/{obdtype}/{connection_name}/kbytesavail
476Date: May 2015
477Contact: "Oleg Drokin" <oleg.drokin@intel.com>
478Description:
479 Number of kilobytes of free space on backend filesystem
480 for service behind this obd (or total amount for compound
481 devices like lov lmv) that is actually available for use
482 (taking into account per-client and filesystem reservations).
483
484What: /sys/fs/lustre/{obdtype}/{connection_name}/filestotal
485Date: May 2015
486Contact: "Oleg Drokin" <oleg.drokin@intel.com>
487Description:
488 Number of inodes on backend filesystem for service behind this
489 obd.
490
491What: /sys/fs/lustre/{obdtype}/{connection_name}/filesfree
492Date: May 2015
493Contact: "Oleg Drokin" <oleg.drokin@intel.com>
494Description:
495 Number of free inodes on backend filesystem for service
496 behind this obd.
497
Oleg Drokin2ee26222d2015-05-21 15:32:20 -0400498What: /sys/fs/lustre/mdc/{connection_name}/max_pages_per_rpc
499Date: May 2015
500Contact: "Oleg Drokin" <oleg.drokin@intel.com>
501Description:
502 Maximum number of readdir pages to fit into a single readdir
503 RPC.
504
Oleg Drokinaab38b02015-05-21 15:32:21 -0400505What: /sys/fs/lustre/{mdc,osc}/{connection_name}/max_rpcs_in_flight
Oleg Drokin2ee26222d2015-05-21 15:32:20 -0400506Date: May 2015
507Contact: "Oleg Drokin" <oleg.drokin@intel.com>
508Description:
509 Maximum number of parallel RPCs on the wire to allow on
510 this connection. Increasing this number would help on higher
511 latency links, but has a chance of overloading a server
512 if you have too many clients like this.
513 Default: 8
Oleg Drokinaab38b02015-05-21 15:32:21 -0400514
515What: /sys/fs/lustre/osc/{connection_name}/max_pages_per_rpc
516Date: May 2015
517Contact: "Oleg Drokin" <oleg.drokin@intel.com>
518Description:
519 Maximum number of pages to fit into a single RPC.
520 Typically bigger RPCs allow for better performance.
521 Default: however many pages to form 1M of data (256 pages
522 for 4K page sized platforms)
523
524What: /sys/fs/lustre/osc/{connection_name}/active
525Date: May 2015
526Contact: "Oleg Drokin" <oleg.drokin@intel.com>
527Description:
528 Controls accessibility of this connection. If set to 0,
529 fail all accesses immediately.
530
531What: /sys/fs/lustre/osc/{connection_name}/checksums
532Date: May 2015
533Contact: "Oleg Drokin" <oleg.drokin@intel.com>
534Description:
535 Controls whenever to checksum bulk RPC data over the wire
536 to this target.
537 1: enable (default) ; 0: disable
538
539What: /sys/fs/lustre/osc/{connection_name}/contention_seconds
540Date: May 2015
541Contact: "Oleg Drokin" <oleg.drokin@intel.com>
542Description:
543 Controls for how long to consider a file contended once
544 indicated as such by the server.
545 When a file is considered contended, all operations switch to
546 synchronous lockless mode to avoid cache and lock pingpong.
547
548What: /sys/fs/lustre/osc/{connection_name}/cur_dirty_bytes
549Date: May 2015
550Contact: "Oleg Drokin" <oleg.drokin@intel.com>
551Description:
552 Displays how many dirty bytes is presently in the cache for this
553 target.
554
555What: /sys/fs/lustre/osc/{connection_name}/cur_grant_bytes
556Date: May 2015
557Contact: "Oleg Drokin" <oleg.drokin@intel.com>
558Description:
559 Shows how many bytes we have as a "dirty cache" grant from the
560 server. Writing a value smaller than shown allows to release
561 some grant back to the server.
562 Dirty cache grant is a way Lustre ensures that cached successful
563 writes on client do not end up discarded by the server due to
564 lack of space later on.
565
566What: /sys/fs/lustre/osc/{connection_name}/cur_lost_grant_bytes
567Date: May 2015
568Contact: "Oleg Drokin" <oleg.drokin@intel.com>
569Description:
570 Shows how many granted bytes were released to the server due
571 to lack of write activity on this client.
572
573What: /sys/fs/lustre/osc/{connection_name}/grant_shrink_interval
574Date: May 2015
575Contact: "Oleg Drokin" <oleg.drokin@intel.com>
576Description:
577 Number of seconds with no write activity for this target
578 to start releasing dirty grant back to the server.
579
580What: /sys/fs/lustre/osc/{connection_name}/destroys_in_flight
581Date: May 2015
582Contact: "Oleg Drokin" <oleg.drokin@intel.com>
583Description:
584 Number of DESTROY RPCs currently in flight to this target.
585
586What: /sys/fs/lustre/osc/{connection_name}/lockless_truncate
587Date: May 2015
588Contact: "Oleg Drokin" <oleg.drokin@intel.com>
589Description:
590 Controls whether lockless truncate RPCs are allowed to this
591 target.
592 Lockless truncate causes server to perform the locking which
593 is beneficial if the truncate is not followed by a write
594 immediately.
595 1: enable ; 0: disable (default)
596
597What: /sys/fs/lustre/osc/{connection_name}/max_dirty_mb
598Date: May 2015
599Contact: "Oleg Drokin" <oleg.drokin@intel.com>
600Description:
601 Controls how much dirty data this client can accumulate
602 for this target. This is orthogonal to dirty grant and is
603 a hard limit even if the server would allow a bigger dirty
604 cache.
605 While allowing higher dirty cache is beneficial for write
606 performance, flushing write cache takes longer and as such
607 the node might be more prone to OOMs.
608 Having this value set too low might result in not being able
609 to sent too many parallel WRITE RPCs.
610 Default: 32
611
612What: /sys/fs/lustre/osc/{connection_name}/resend_count
613Date: May 2015
614Contact: "Oleg Drokin" <oleg.drokin@intel.com>
615Description:
616 Controls how many times to try and resend RPCs to this target
617 that failed with "recoverable" status, such as EAGAIN,
618 ENOMEM.
Oleg Drokincb1debf2015-05-21 15:32:22 -0400619
620What: /sys/fs/lustre/lov/{connection_name}/numobd
621Date: May 2015
622Contact: "Oleg Drokin" <oleg.drokin@intel.com>
623Description:
624 Number of OSC targets managed by this LOV instance.
625
626What: /sys/fs/lustre/lov/{connection_name}/activeobd
627Date: May 2015
628Contact: "Oleg Drokin" <oleg.drokin@intel.com>
629Description:
630 Number of OSC targets managed by this LOV instance that are
631 actually active.
Oleg Drokinb5fa70d2015-05-21 15:32:23 -0400632
633What: /sys/fs/lustre/lmv/{connection_name}/numobd
634Date: May 2015
635Contact: "Oleg Drokin" <oleg.drokin@intel.com>
636Description:
637 Number of MDC targets managed by this LMV instance.
638
639What: /sys/fs/lustre/lmv/{connection_name}/activeobd
640Date: May 2015
641Contact: "Oleg Drokin" <oleg.drokin@intel.com>
642Description:
643 Number of MDC targets managed by this LMV instance that are
644 actually active.
645
646What: /sys/fs/lustre/lmv/{connection_name}/placement
647Date: May 2015
648Contact: "Oleg Drokin" <oleg.drokin@intel.com>
649Description:
650 Determines policy of inode placement in case of multiple
651 metadata servers:
652 CHAR - based on a hash of the file name used at creation time
653 (Default)
654 NID - based on a hash of creating client network id.