proposal to increase seek in sgpdd_survey
A message that is not in the archive (sent off-list or not yet received): [email protected]
Brian, Andreas,
I'm cc-ing lustre-devel since this is of general interest.
My comments inline...
Quoted 21 lines
-----Original Message-----
From: Brian.Murrell at Sun.COM [mailto:Brian.Murrell at Sun.COM]
Sent: 01 October 2008 12:36 AM
To: Andreas.Dilger
Cc: Eric.Barton at Sun.COM
Subject: proposal to increase seek insgpdd_surveyAndreas, Eric,
[ I can repost this to lustre-eng or some other place or to other people if you think that a wider/alternate audience is more appropriate ]
We have been asked about considering increasing the seek range on multi-region
sgpdd_surveytests and I wonder what others' thoughts are.Currently, even with multi-region
spgdd_surveyruns, if the total amount of data the survey writes, across all regions is only a small portion of the total size of the drive, the results don't factor in what could be arguably real world seek penalties on a large drive.
Quoted 6 lines
The proposal is to space out the regions to cover more of the drive. So for example, a 2 region test would write one region at 0% of the drive and the second region at 50%. A 4 region test would write at 0%, 25%, 50% and 75%, etc. Perhaps the inter-region spacing should be such that the last byte of the last region is at the end of the disk to maximize the seek penalty. Perhaps not.
Indeed - this is how it should be done.
Quoted 55 lines
In any case, a patch has been submitted in bug 17218 to do just this and the reporter's test results and summary are as such:
Original test, size=1GB, 128KB reads:
0 rd1 rd2 rd4 rd8 rd16 rd32 rd64
1 65.45 - - - - - -
2 65.90 18.08 - - - - -
4 65.98 54.73 20.62 - - - -
8 65.27 64.75 45.56 20.38 - - -
16 62.85 59.49 54.38 41.72 20.90 - -
32 - 58.75 56.54 53.02 38.78 21.94 -
64 - - 54.47 56.99 52.72 37.94 26.78
128 - - - - 52.22 - 37.84Original test, size=32GB, 128KB reads (reduced parameters for speed):
0 rd1 rd2 rd4 rd8 rd16 rd32
1 - - - - - -
2 - - - - - -
4 - - - - - -
8 - - - - - -
16 - - - - 18.96 -
32 - - - - 30.10 20.16
64 - - - - 40.99 -Modified test, size=1GB, 128KB reads:
0 rd1 rd2 rd4 rd8 rd16 rd32 rd64
1 65.00 - - - - - -
2 61.65 16.22 - - - - -
4 57.88 50.18 15.47 - - - -
8 56.95 54.91 47.47 17.09 - - -
16 65.54 46.22 51.34 39.85 18.99 - -
32 - 55.17 51.49 47.62 29.05 19.81 -
64 - - 50.44 46.41 39.21 26.35 20.23
128 - - - - - - 24.74Modified test, size=32GB, 128KB reads (reduced parameters for speed):
0 rd1 rd2 rd4 rd8 rd16 rd32 rd64
1 - - - - - - -
2 - - - - - - -
4 - - - - - - -
8 - - - - - - -
16 - - - - 18.79 - -
32 - - - - 29.15 19.92 -
64 - - - - 40.90 27.61 20.47Note that these results behave exactly as expected: the 32 GB run is very close to the new 1GB run (and the new 32GB run). The one abnormality, the original 1GB run, has exaggerated performance, and should not be used as it is a very poor predictor of performance.
Quoted 3 lines
So my question for you is, does this proposal match the intent of
sgpdd_surveyor was it intended to be a pure speed measure, minimizing seeking cost?
This proposal _totally_ matches the original intent. This feature of the current implementation is a bug. Mea maxima culpa...
Cheers,
Eric
Quoted 3 lines · Eric Barton
Brian, Andreas,
I'm cc-ing lustre-devel since this is of general interest.
Sounds good.
Quoted 2 lines
My comments inline...
Mine too, as always. :-)
I just want to clarify, this idea is not mine. I don't want to take credit for something that is not actually mine. The idea comes from a bug filed by one of our support engineers, Kevin Van Maren.
Quoted 11 lines
Quoted 2 lines
-----Original Message-----
From: Brian.Murrell at Sun.COM [mailto:Brian.Murrell at Sun.COM]...
Quoted 6 lines
The proposal is to space out the regions to cover more of the drive. So for example, a 2 region test would write one region at 0% of the drive and the second region at 50%. A 4 region test would write at 0%, 25%, 50% and 75%, etc. Perhaps the inter-region spacing should be such that the last byte of the last region is at the end of the disk to maximize the seek penalty. Perhaps not.
Indeed - this is how it should be done.
Just for clarification Eric... Are you advocating num_gaps == num_regions or num_gaps == num_regions-1? i.e. in a two region test should the second region start at 50% of the disk or 100%-$region_size so that the last byte of the second region is written to the last byte of the disk?
It seems to me that the first option provides a more "middle of the road" (which might correlate to real-world averages more closely) average as it only incorporates a seek of half the disk whereas the second option provides a more worst case performance result.
Quoted 2 lines
This proposal _totally_ matches the original intent. This feature of the current implementation is a bug.
Fair enough. :-)
Quoted 1 line
Mea maxima culpa...
:-)
b.
Brian,
Quoted 10 lines
Just for clarification Eric... Are you advocating
num_gaps==num_regionsornum_gaps== num_regions-1? i.e. in a two region test should the second region start at 50% of the disk or 100%-$region_size so that the last byte of the second region is written to the last byte of the disk?It seems to me that the first option provides a more "middle of the road" (which might correlate to real-world averages more closely) average as it only incorporates a seek of half the disk whereas the second option provides a more worst case performance result.
Not quite so bothered by that and it gets less intersting with more regions. Maybe leave it in as a non-default option, in case it's a real disk killer.
Cheers,
Eric