LFSCK phase II technical debts (LU-4701)

[LU-4556] speed up sanity-lfsck and sanity-scrub tests Created: 28/Jan/14  Updated: 14/Aug/14  Resolved: 30/Apr/14

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

Type: Technical task Priority: Major
Reporter: Andreas Dilger Assignee: nasf (Inactive)
Resolution: Fixed Votes: 0
Labels: improvement

Issue Links:
Duplicate
duplicates LU-4686 Try to NOT reformat the device in LFS... Closed
Related
is related to LU-4202 Test failure sanity-lfsck test_8: Exp... Resolved
is related to LU-4537 Track slow tests in review-dne Open
is related to LU-5112 Interop 2.5 server with higher versio... Resolved
is related to LU-4763 sanity-scrub test 11: FAIL: (8) Expec... Resolved
Rank (Obsolete): 12444

 Description   

The test time of sanity-scrub and sanity-lfsck is much longer than it needs to be, especially in DNE mode, because it is reformatting all of the OSTs and MDTs for every test, and then repopulating the filesystem with test files.

It would be better to avoid reformatting the filesystems at all, and instead just compare the "new" results with the "old" results.

There may be other potential areas of improvement also.



 Comments   
Comment by nasf (Inactive) [ 18/Mar/14 ]

New version sanity-lfsck takes about 750 seconds under DNE mode in my local VM environment. New version sanity-scrub is still in testing.

Comment by nasf (Inactive) [ 18/Mar/14 ]

Here is the patch:

http://review.whamcloud.com/9704

Comment by nasf (Inactive) [ 19/Mar/14 ]

Sometimes, create on Maloo is very slow, less than 50 objects/sec, no logs, very strange.
sanity-scrub in my local environment (with 2 MDT and 2 OST) takes about 770 second.

Comment by nasf (Inactive) [ 21/Mar/14 ]

It is very important to reduce the Maloo tests run time.

Comment by Andreas Dilger [ 21/Mar/14 ]

While this is useful to fix, it would not block the release of 2.6.0 so reducing the priority. I'm happy that some good improvements have been made with the current patch, and would prefer that effort be focussed on fixing defects for 2.6.

Comment by nasf (Inactive) [ 30/Apr/14 ]

The patch has been landed to master.

Generated at Sat Feb 10 01:43:47 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.