summaryrefslogtreecommitdiffstats
path: root/dis/WSS_DOCS.md
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-16 16:55:14 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-16 16:55:14 -0400
commit6ea9939e0610a809f6f47d13ec68df00d1ca0afc (patch)
treefe4a2eee3ddcf77e2367309dcd75a232b76dcd62 /dis/WSS_DOCS.md
parente9285d0cdea756a2830f0ace378e4197b36869aa (diff)
Move the DIS benchmarks up a directory and update hardcoded paths
Note that this repo does not attempt to keep a copy of the original DIS benchmark distributions. UNC real-time has another repo for that.
Diffstat (limited to 'dis/WSS_DOCS.md')
-rw-r--r--dis/WSS_DOCS.md83
1 files changed, 83 insertions, 0 deletions
diff --git a/dis/WSS_DOCS.md b/dis/WSS_DOCS.md
new file mode 100644
index 0000000..da5e066
--- /dev/null
+++ b/dis/WSS_DOCS.md
@@ -0,0 +1,83 @@
1# Documentation Mapping DIS Stressmark Parameters to WSS
2
3## Field
41 allocation in main()
5f = 1st input param
6
7sizeof(unsigned char) * f
8
9## Matrix
106 allocations in main(), 7 allocations in biConjugateGradient()
11
12*Allocations in main()*
13dim = 2nd input param
14numberNonzero = 3nd input param
15
16sizeof(double) * (dim^2+3dim+numberNonzero) + sizeof(int) * (2dim+1+numberNonzero)
17
18*Allocations in biConjugateGradient()*
19sizeof(double) * 7dim
20
21## Neighborhood
221 allocation in createImage, 2 allocations in neighborhoodCalculation
23
24*Allocations in createImage()*
25dimension = 3rd input param
26
27sizeof(short int) * dimension^2
28
29*Allocations in neighborhoodCalculation()*
30bitDepth = 2nd param
31
32sizeof(int) * (2^(bitDepth + 1) - 1)
33
34## Pointer
35n = 5th input param
36f = 1st input param
37
38sizeof(unsigned int) * 4n + sizeof(int) * f
39
40## Transitive
41n = 1st input param
42
43sizeof(unsigned int) * 2n^2
44
45## Update
46f = 1st input param
47
48sizeof(int) * f
49
50## Testplan
51*Problem!* Larger WSS = more computations
52Use testcase #1 for non-specified parameters
53Below math computed for x86_64
54- Test WSS at powers of 2: 16 KiB, 32, 64, 128, 256, 512, 1MiB, 2, 4, 8, 16, 32
55- For each WSS, measure cache allocation of 0, 1, 2, 4, 8, 16
56
57### Field
58Just vary first param
59
60f = WSS
61
62### Matrix
630.3 - 16% number nonzero
64- Fixed at 8%
65Just vary dim (matrix size)
66
67sizeof(double) * (dim^2+10dim+numberNonzero) + sizeof(int) * (2dim+1+numberNonzero) = WSS
68
69
70### Neighborhood
718 or 15 bit depth
72- Fix at 12?
73Just vary dim (image size)
74
75### Pointer
7610 for n
77Just vary f
78
79### Transitive
80Just vary n
81
82### Update
83Just vary f