[LUDOC-36] Document mds-survey Created: 18/Jan/12 Updated: 27/Nov/12 Resolved: 27/Mar/12 |
|
| Status: | Closed |
| Project: | Lustre Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Blocker |
| Reporter: | Peter Jones | Assignee: | Minh Diep |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | releases | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 7176 | ||||||||
| Description |
|
We need to add details of how to use this new tool in the manual for 2.2 |
| Comments |
| Comment by Di Wang [ 18/Jan/12 ] |
|
If the manual is only about how to use mdt_survey script like obdfilter_survey. Minh might be the right person to write it, because he wrote the script. As I knew, he already wrote a README for this script. Thanks. |
| Comment by Peter Jones [ 19/Jan/12 ] |
|
Ah yes. Good idea - Thanks Di! |
| Comment by Zhiqi Tao (Inactive) [ 20/Jan/12 ] |
|
Hi Minh, After you wrote the initial content, I can help to test your instructions. It would be a good opportunity for me to learn how mds-survey works. Thanks, |
| Comment by Minh Diep [ 30/Jan/12 ] |
|
24.5 Testing MDS Performance (mds-survey) The mds-survey script tests the local metadata performance using the echo_client to drive different layers of the MDS stack: mdd, mdt, osd. It can be used with the following classes of operations 1. Open-create/mkdir/create These operations will be run by a variable number of concurrent threads and will test with the number of The mdd, mdt, or osd instance is driven directly. The script automatically loads the obdecho module if required This script can also create OST objects by providing stripe_count greater than zero. To perform a run: The script must be customized according to the components under test and thrlo threads to start testing. skipped if less than dir_count
a. Run without OST objects creation: b. Run with OST objects creation: Note: a specific mdt instance can be specified using targets variable. Output files: When the script runs, it creates a number of working files and a pair of ${rslt}.summary same as stdout The script iterates over the given numbers of threads performing Note that the script may not clean up properly if it is aborted or if it Script output: The summary file and stdout contain lines like... mdt 1 file 100000 dir 4 thr 4 create 5652.05 [ 999.01,46940.48] destroy 5797.79 [ 0.00,52951.55] mdt 1 is the total number of MDTs under test. |
| Comment by Richard Henwood (Inactive) [ 07/Feb/12 ] |
|
I often see SHORT and ERROR in the output of my mds-survey run. This needs to be explained in the doc too. # mds-survey Tue Feb 7 15:20:45 EST 2012 /usr/bin/mds-survey from wc0008 mdt 1 file 100000 dir 4 thr 4 create 7039.07 ERROR lookup 191596.67 SHORT md_getattr 106189.70 SHORT setxattr 18632.91 ERROR destroy 10423.02 ERROR mdt 1 file 100000 dir 4 thr 8 create 6911.21 ERROR lookup 218940.93 SHORT md_getattr 130979.97 SHORT setxattr 4427.82 ERROR destroy 6362.05 ERROR mdt 1 file 100000 dir 4 thr 16 create 5213.21 ERROR lookup 189467.26 SHORT md_getattr 113743.37 ERROR setxattr 1720.42 ERROR destroy 706.99 ERROR mdt 1 file 100000 dir 4 thr 32 create |
| Comment by Richard Henwood (Inactive) [ 07/Feb/12 ] |
|
Script is here: http://review.whamcloud.com/#change,1969 Related LU is here: |
| Comment by Cliff White (Inactive) [ 17/Feb/12 ] |
|
Minh, can you explain the SHORT messages? |
| Comment by Cliff White (Inactive) [ 17/Feb/12 ] |
|
From Minh: |
| Comment by Peter Jones [ 26/Mar/12 ] |
|
Minh did this work under http://review.whamcloud.com/#change,2072 |
| Comment by Minh Diep [ 27/Mar/12 ] |
|
merged with master |