-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nirav N Shah <[email protected]> Signed-off-by: Narayan Ranganathan <[email protected]> Signed-off-by: Nikhil Rao <[email protected]>
- Loading branch information
0 parents
commit 9935773
Showing
52 changed files
with
8,866 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.vscode/ | ||
autom4te.cache/ | ||
src/.deps/ | ||
src/Makefile.in | ||
src/Makefile | ||
src/*.o | ||
src/dsa_perf_micros | ||
aclocal.m4 | ||
configure | ||
Makefile.in | ||
version.m4 | ||
config.log | ||
config.status | ||
compile | ||
install-sh | ||
depcomp |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SUBDIRS = src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Intel® DSA Performance Micros | ||
|
||
Intel® DSA Performance Micros is a Linux application that allows the user to characterize | ||
latency and bandwidth for DSA operations and arrive at the device configuration and | ||
programming parameters that would work best for their application. | ||
|
||
Documentation files in the reStructuredText format are available in the doc/ directory | ||
|
||
If you would like to build html documentation, please install sphinx, a | ||
python based document generator from https://www.sphinx-doc.org/en/master/usage/installation.html and | ||
follow the steps below | ||
|
||
```bash | ||
cd doc | ||
make html | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/sh -e | ||
|
||
if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then | ||
cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ | ||
chmod +x .git/hooks/pre-commit && \ | ||
echo "Activated pre-commit hook." | ||
fi | ||
|
||
$(dirname $0)/git-version-gen | ||
reconf_args='' | ||
[ -n "$*" ] && reconf_args="$*" | ||
autoreconf --install --symlink $reconf_args | ||
|
||
libdir() { | ||
echo $(cd $1/$(gcc -print-multi-os-directory); pwd) | ||
} | ||
|
||
args="--prefix=/usr \ | ||
--sysconfdir=/etc \ | ||
--libdir=$(libdir /usr/lib)" | ||
|
||
echo | ||
echo "----------------------------------------------------------------" | ||
echo "Initialized build system. For a common configuration please run:" | ||
echo "----------------------------------------------------------------" | ||
echo | ||
echo "./configure CFLAGS='-g -O2' $args" | ||
echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[ | ||
{ | ||
"dev":"dsa0", | ||
"token_limit":0, | ||
"groups":[ | ||
{ | ||
"dev":"group0.0", | ||
"tokens_reserved":0, | ||
"use_token_limit":0, | ||
"grouped_workqueues":[ | ||
{ | ||
"dev":"wq0.0", | ||
"mode":"dedicated", | ||
"size":128, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app1", | ||
"threshold":15 | ||
} | ||
], | ||
"grouped_engines":[ | ||
{ | ||
"dev":"engine0.0", | ||
"group_id":0 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[ | ||
{ | ||
"dev":"dsa0", | ||
"token_limit":0, | ||
"groups":[ | ||
{ | ||
"dev":"group0.0", | ||
"tokens_reserved":0, | ||
"use_token_limit":0, | ||
"grouped_workqueues":[ | ||
{ | ||
"dev":"wq0.0", | ||
"mode":"shared", | ||
"size":128, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app1", | ||
"threshold":128 | ||
} | ||
], | ||
"grouped_engines":[ | ||
{ | ||
"dev":"engine0.0", | ||
"group_id":0 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[ | ||
{ | ||
"dev":"dsa0", | ||
"token_limit":0, | ||
"groups":[ | ||
{ | ||
"dev":"group0.0", | ||
"tokens_reserved":0, | ||
"use_token_limit":0, | ||
"grouped_workqueues":[ | ||
{ | ||
"dev":"wq0.0", | ||
"mode":"dedicated", | ||
"size":128, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app1", | ||
"threshold":15 | ||
} | ||
], | ||
"grouped_engines":[ | ||
{ | ||
"dev":"engine0.0", | ||
"group_id":0 | ||
}, | ||
{ | ||
"dev":"engine0.1", | ||
"group_id":0 | ||
}, | ||
{ | ||
"dev":"engine0.2", | ||
"group_id":0 | ||
}, | ||
{ | ||
"dev":"engine0.3", | ||
"group_id":0 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
[ | ||
{ | ||
"dev":"dsa0", | ||
"token_limit":0, | ||
"groups":[ | ||
{ | ||
"dev":"group0.0", | ||
"tokens_reserved":0, | ||
"use_token_limit":0, | ||
"grouped_workqueues":[ | ||
{ | ||
"dev":"wq0.0", | ||
"mode":"dedicated", | ||
"size":32, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app1", | ||
"threshold":15 | ||
}, | ||
{ | ||
"dev":"wq0.1", | ||
"mode":"dedicated", | ||
"size":32, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app2", | ||
"threshold":15 | ||
}, | ||
{ | ||
"dev":"wq0.2", | ||
"mode":"dedicated", | ||
"size":32, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app3", | ||
"threshold":15 | ||
}, | ||
{ | ||
"dev":"wq0.3", | ||
"mode":"dedicated", | ||
"size":32, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app1", | ||
"threshold":15 | ||
} | ||
], | ||
"grouped_engines":[ | ||
{ | ||
"dev":"engine0.0", | ||
"group_id":0 | ||
}, | ||
{ | ||
"dev":"engine0.1", | ||
"group_id":0 | ||
}, | ||
{ | ||
"dev":"engine0.2", | ||
"group_id":0 | ||
}, | ||
{ | ||
"dev":"engine0.3", | ||
"group_id":0 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
[ | ||
{ | ||
"dev":"dsa0", | ||
"token_limit":0, | ||
"groups":[ | ||
{ | ||
"dev":"group0.0", | ||
"tokens_reserved":0, | ||
"use_token_limit":0, | ||
"grouped_workqueues":[ | ||
{ | ||
"dev":"wq0.0", | ||
"mode":"dedicated", | ||
"size":16, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app1", | ||
"threshold":15 | ||
}, | ||
{ | ||
"dev":"wq0.1", | ||
"mode":"dedicated", | ||
"size":16, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app2", | ||
"threshold":15 | ||
}, | ||
{ | ||
"dev":"wq0.2", | ||
"mode":"dedicated", | ||
"size":16, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app3", | ||
"threshold":15 | ||
}, | ||
{ | ||
"dev":"wq0.3", | ||
"mode":"dedicated", | ||
"size":16, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app1", | ||
"threshold":15 | ||
}, | ||
{ | ||
"dev":"wq0.4", | ||
"mode":"dedicated", | ||
"size":16, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app2", | ||
"threshold":15 | ||
}, | ||
{ | ||
"dev":"wq0.5", | ||
"mode":"dedicated", | ||
"size":16, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app3", | ||
"threshold":15 | ||
}, | ||
{ | ||
"dev":"wq0.6", | ||
"mode":"dedicated", | ||
"size":16, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app4", | ||
"threshold":15 | ||
}, | ||
{ | ||
"dev":"wq0.7", | ||
"mode":"dedicated", | ||
"size":16, | ||
"group_id":0, | ||
"priority":10, | ||
"block_on_fault":0, | ||
"type":"user", | ||
"name":"app4", | ||
"threshold":15 | ||
} | ||
], | ||
"grouped_engines":[ | ||
{ | ||
"dev":"engine0.0", | ||
"group_id":0 | ||
}, | ||
{ | ||
"dev":"engine0.1", | ||
"group_id":0 | ||
}, | ||
{ | ||
"dev":"engine0.2", | ||
"group_id":0 | ||
}, | ||
{ | ||
"dev":"engine0.3", | ||
"group_id":0 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
AC_INIT([dsa_perf_micros], 1.0) | ||
AM_INIT_AUTOMAKE([foreign]) | ||
AC_PROG_CC | ||
CFLAGS+=" -mavx512f" | ||
AC_CONFIG_FILES([Makefile src/Makefile]) | ||
AC_OUTPUT |
Oops, something went wrong.