sysfs-fs-lustre 22 KB

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