[LU-7236] connections on demand Created: 30/Sep/15  Updated: 05/Dec/19  Resolved: 19/Jun/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.12.0

Type: Improvement Priority: Minor
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: OSJ

Issue Links:
Blocker
is blocked by LU-10018 MDT as a statfs proxy Resolved
Related
is related to LU-11518 lock_count is exceeding lru_size Resolved
is related to LU-12328 FLR mirroring on 2.12.1-1 not usable ... Resolved
is related to LU-9660 reduce ptlrpcd wakeups on idle system Resolved
is related to LU-11126 replay-single test 89: import.c:1668:... Resolved
is related to LU-11128 replay-single test timeout Resolved
is related to LU-11206 recovery-mds-scale test failover_ost ... Resolved
is related to LU-5703 Quiesce client mountpoints from the s... Open
is related to LU-9441 Use kernel threads in predictable fas... Resolved
is related to LU-9555 "df /path/to/project" should return p... Resolved
is related to LU-11405 add a test for idle connection feature Closed
Rank (Obsolete): 9223372036854775807

 Description   

currently Lustre client establishes connections to all targets at mount and tries to keep them alive all the time. at big scale this can lead to lots of extra work at mount, failover.



 Comments   
Comment by Gerrit Updater [ 30/Sep/15 ]

Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/16682
Subject: LU-7236 ptlrpc: idling connections can disconnect
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 83d9fc0a0a7914174a5373142b183a7bd99be70a

Comment by Robert Read (Inactive) [ 30/Sep/15 ]

Interesting idea. I remember discussing this ages ago when we made the initial connection asynchronous, but don't recall exactly why we didn't do it. Still sounds like a good idea to me.

Comment by Alex Zhuravlev [ 30/Sep/15 ]

there was a discussion at LAD. Developers from Fujitsu said that connections are consuming quite amount of memory. Then we recalled that there are other possible cases where less connection can help - like recovery, cluster startup.

Comment by Gerrit Updater [ 14/Jun/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/16682/
Subject: LU-7236 ptlrpc: idle connections can disconnect
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 5a6ceb664f07812c351786c1043da71ff5027f8c

Comment by Peter Jones [ 19/Jun/18 ]

Landed for 2.12

Generated at Sat Feb 10 02:07:10 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.