Skip to content

Commit 76c042e

Browse files
nmalkapurambrdeyo
authored andcommitted
Production release version 1.13.17. Pickup a few bug fixes for LMbench, HPL and DiskSpd.
1 parent 991d433 commit 76c042e

File tree

5 files changed

+775
-3
lines changed

5 files changed

+775
-3
lines changed

.pipelines/azure-pipelines-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resources:
1616
options: --entrypoint=""
1717

1818
variables:
19-
VcVersion : 1.13.13
19+
VcVersion : 1.13.17
2020
ROOT: $(Build.SourcesDirectory)
2121
CDP_DEFINITION_BUILD_COUNT: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning
2222
ENABLE_PRS_DELAYSIGN: 1

.pipelines/azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pool:
1818
vmImage: windows-latest
1919

2020
variables:
21-
VcVersion : 1.13.13
21+
VcVersion : 1.13.17
2222
ROOT: $(Build.SourcesDirectory)
2323
CDP_DEFINITION_BUILD_COUNT: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning
2424
ENABLE_PRS_DELAYSIGN: 1

src/VirtualClient/VirtualClient.Actions.UnitTests/DiskSpd/DiskSpdMetricsParserTests.cs

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,5 +216,54 @@ public void DiskSpdParserVerifyWriteOnly()
216216
MetricAssert.Exists(metrics, "total latency 9-nines", 159.270, "ms");
217217
MetricAssert.Exists(metrics, "total latency max", 159.270, "ms");
218218
}
219+
220+
[Test]
221+
public void DiskSpdParserVerifyForCoreCountGreaterThan64WhichAddsProcessorGrouping()
222+
{
223+
string workingDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
224+
string outputPath = Path.Combine(workingDirectory, @"Examples\DiskSpd\Read8k.txt");
225+
this.rawText = File.ReadAllText(outputPath);
226+
this.testParser = new DiskSpdMetricsParser(this.rawText);
227+
228+
IList<Metric> metrics = this.testParser.Parse();
229+
230+
// cpu metrics
231+
MetricAssert.Exists(metrics, "cpu usage 0", 92.79, "percentage");
232+
MetricAssert.Exists(metrics, "cpu usage 1", 90.26, "percentage");
233+
MetricAssert.Exists(metrics, "cpu usage average", 39.69, "percentage");
234+
MetricAssert.Exists(metrics, "cpu user 0", 0.44, "percentage");
235+
MetricAssert.Exists(metrics, "cpu user 1", 0.36, "percentage");
236+
MetricAssert.Exists(metrics, "cpu user average", 0.27, "percentage");
237+
238+
// Total
239+
MetricAssert.Exists(metrics, "total bytes 0", 1927421952, "bytes");
240+
MetricAssert.Exists(metrics, "total bytes 1", 2276425728, "bytes");
241+
MetricAssert.Exists(metrics, "total bytes total", 162301329408, "bytes");
242+
MetricAssert.Exists(metrics, "total io operations 0", 235281, "I/Os");
243+
MetricAssert.Exists(metrics, "total io operations 1", 277884, "I/Os");
244+
MetricAssert.Exists(metrics, "total throughput 0", 30.63, "MiB/s");
245+
MetricAssert.Exists(metrics, "total throughput 1", 36.17, "MiB/s");
246+
MetricAssert.Exists(metrics, "total throughput total", 2579.05, "MiB/s");
247+
248+
// Read
249+
MetricAssert.Exists(metrics, "read bytes 0", 0, "bytes");
250+
MetricAssert.Exists(metrics, "read bytes 1", 0, "bytes");
251+
MetricAssert.Exists(metrics, "read bytes total", 0, "bytes");
252+
253+
// Write
254+
MetricAssert.Exists(metrics, "write bytes 0", 1927421952, "bytes");
255+
MetricAssert.Exists(metrics, "write bytes 1", 2276425728, "bytes");
256+
MetricAssert.Exists(metrics, "write bytes total", 162301329408, "bytes");
257+
MetricAssert.Exists(metrics, "write io operations 0", 235281, "I/Os");
258+
MetricAssert.Exists(metrics, "write io operations 1", 277884, "I/Os");
259+
MetricAssert.Exists(metrics, "write io operations total", 19812174, "I/Os");
260+
261+
// latency
262+
MetricAssert.Exists(metrics, "total latency min", 0.015, "ms");
263+
MetricAssert.Exists(metrics, "total latency 25th", 0.879, "ms");
264+
MetricAssert.Exists(metrics, "total latency 50th", 1.52, "ms");
265+
MetricAssert.Exists(metrics, "total latency 75th", 2.819, "ms");
266+
MetricAssert.Exists(metrics, "total latency 90th", 7.472, "ms");
267+
}
219268
}
220269
}

0 commit comments

Comments
 (0)