[LU-16797] improve numeric NID to CPT hashing Created: 04/May/23  Updated: 19/May/23  Resolved: 19/May/23

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

Type: Improvement Priority: Minor
Reporter: Chris Horn Assignee: Chris Horn
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Testing shows that the sum-by-multiplication of nid bytes method for hashing a NID to a CPT does not have good distribution for gnilnd and kfilnd NIDs. For these LNDs, use the old hash_long() method.



 Comments   
Comment by Gerrit Updater [ 04/May/23 ]

"Chris Horn <chris.horn@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50862
Subject: LU-16797 lnet: improve numeric NID to CPT hashing
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 71d34fd57616d41081cfd21df1c4b2a7024a7f6b

Comment by Gerrit Updater [ 19/May/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50862/
Subject: LU-16797 lnet: improve numeric NID to CPT hashing
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: bd12731f2f15b390345a3b58947325885346b072

Comment by Peter Jones [ 19/May/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:30:05 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.