Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Using lctl pool_add FS OST0 OST1... is way slower than using an hostlist expression like OST[0-7], see an example below:
[root@localhost ~]# time lctl pool_add fs.pool_test fs-OST[0-7] OST fs-OST0000_UUID added to pool fs.pool_test OST fs-OST0001_UUID added to pool fs.pool_test OST fs-OST0002_UUID added to pool fs.pool_test OST fs-OST0003_UUID added to pool fs.pool_test OST fs-OST0004_UUID added to pool fs.pool_test OST fs-OST0005_UUID added to pool fs.pool_test OST fs-OST0006_UUID added to pool fs.pool_test OST fs-OST0007_UUID added to pool fs.pool_test real 0m9.008s user 0m0.000s sys 0m0.007s [root@localhost ~]# time lctl pool_add fs.pool_test OST0000 OST0001 OST0002 OST0003 OST0004 OST0005 OST0006 OST0007 OST fs-OST0000_UUID added to pool fs.pool_test OST fs-OST0001_UUID added to pool fs.pool_test OST fs-OST0002_UUID added to pool fs.pool_test OST fs-OST0003_UUID added to pool fs.pool_test OST fs-OST0004_UUID added to pool fs.pool_test OST fs-OST0005_UUID added to pool fs.pool_test OST fs-OST0006_UUID added to pool fs.pool_test OST fs-OST0007_UUID added to pool fs.pool_test real 1m7.024s user 0m0.004s sys 0m0.014s
One could expect that both command to have the same runtime
Attachments
Activity
Link | New: This issue is related to EX-9008 [ EX-9008 ] |
Fix Version/s | New: Lustre 2.16.0 [ 15190 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Link | Original: This issue is related to JFC-21 [ JFC-21 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | Original: WC Triage [ wc-triage ] | New: Feng Lei [ flei ] |
Link | New: This issue is related to JFC-21 [ JFC-21 ] |
Description |
Original:
Using {{lctl pool_add FS OST0 OST1...}} is way slower than using an hostlist expression like {{{}OST[0-7]{}}}, see an example below:
{code:java} [root@localhost ~]# time lctl pool_add fs.pool_test fs-OST[0-7] OST fs-OST0000_UUID added to pool fs.pool_test OST fs-OST0001_UUID added to pool fs.pool_test OST fs-OST0002_UUID added to pool fs.pool_test OST fs-OST0003_UUID added to pool fs.pool_test OST fs-OST0004_UUID added to pool fs.pool_test OST fs-OST0005_UUID added to pool fs.pool_test OST fs-OST0006_UUID added to pool fs.pool_test OST fs-OST0007_UUID added to pool fs.pool_test real 0m9.008s user 0m0.000s sys 0m0.007s [root@localhost ~]# time lctl pool_add fs.pool_test OST0000 OST0001 OST0002 OST0003 OST0004 OST0005 OST0006 OST0007 OST fs-OST0000_UUID added to pool fs.pool_test OST fs-OST0001_UUID added to pool fs.pool_test OST fs-OST0002_UUID added to pool fs.pool_test OST fs-OST0003_UUID added to pool fs.pool_test OST fs-OST0004_UUID added to pool fs.pool_test OST fs-OST0005_UUID added to pool fs.pool_test OST fs-OST0006_UUID added to pool fs.pool_test OST fs-OST0007_UUID added to pool fs.pool_test real 1m7.024s user 0m0.004s sys 0m0.014s {code} One coudd expect that both command to have the same runtime |
New:
Using {{lctl pool_add FS OST0 OST1...}} is way slower than using an hostlist expression like {{{}OST[0-7]{}}}, see an example below:
{code:java} [root@localhost ~]# time lctl pool_add fs.pool_test fs-OST[0-7] OST fs-OST0000_UUID added to pool fs.pool_test OST fs-OST0001_UUID added to pool fs.pool_test OST fs-OST0002_UUID added to pool fs.pool_test OST fs-OST0003_UUID added to pool fs.pool_test OST fs-OST0004_UUID added to pool fs.pool_test OST fs-OST0005_UUID added to pool fs.pool_test OST fs-OST0006_UUID added to pool fs.pool_test OST fs-OST0007_UUID added to pool fs.pool_test real 0m9.008s user 0m0.000s sys 0m0.007s [root@localhost ~]# time lctl pool_add fs.pool_test OST0000 OST0001 OST0002 OST0003 OST0004 OST0005 OST0006 OST0007 OST fs-OST0000_UUID added to pool fs.pool_test OST fs-OST0001_UUID added to pool fs.pool_test OST fs-OST0002_UUID added to pool fs.pool_test OST fs-OST0003_UUID added to pool fs.pool_test OST fs-OST0004_UUID added to pool fs.pool_test OST fs-OST0005_UUID added to pool fs.pool_test OST fs-OST0006_UUID added to pool fs.pool_test OST fs-OST0007_UUID added to pool fs.pool_test real 1m7.024s user 0m0.004s sys 0m0.014s {code} One could expect that both command to have the same runtime |