Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
ba61dad6
Commit
ba61dad6
authored
7 years ago
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9a266d11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
go/neo/t/neotest
go/neo/t/neotest
+5
-0
No files found.
go/neo/t/neotest
View file @
ba61dad6
...
@@ -386,6 +386,7 @@ prod1_gen_data() {
...
@@ -386,6 +386,7 @@ prod1_gen_data() {
datasetv
=(
datasetv
=(
"wczblk1 8"
# size: array size (MB) XXX raise 32,64,512...
"wczblk1 8"
# size: array size (MB) XXX raise 32,64,512...
"prod1 1024"
# size: # of transactions XXX raise size
"prod1 1024"
# size: # of transactions XXX raise size
# TODO + wczblk0
)
)
# generate data in data.fs
# generate data in data.fs
...
@@ -576,6 +577,7 @@ system_info() {
...
@@ -576,6 +577,7 @@ system_info() {
# disk under .
# disk under .
# TODO show all disks and just mark which is current
mntpt
=
`
stat
-c
'%m'
.
`
# mountpoint of current filesystem
mntpt
=
`
stat
-c
'%m'
.
`
# mountpoint of current filesystem
blkdev
=
`
findmnt
-n
-o
source
$mntpt
`
# mountpoint -> device
blkdev
=
`
findmnt
-n
-o
source
$mntpt
`
# mountpoint -> device
blkdev
=
`
realpath
$blkdev
`
# /dev/mapper/vg0-root -> /dev/dm-0
blkdev
=
`
realpath
$blkdev
`
# /dev/mapper/vg0-root -> /dev/dm-0
...
@@ -851,6 +853,9 @@ bench_cpu() {
...
@@ -851,6 +853,9 @@ bench_cpu() {
nrun tsha1.py
$size
nrun tsha1.py
$size
nrun tsha1_go
$size
nrun tsha1_go
$size
done
done
# TODO bench compress/decompress
# XXX data: null4K, some real pickle
}
}
# bench_disk - benchmark direct (uncached) and cached random reads
# bench_disk - benchmark direct (uncached) and cached random reads
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment