Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
8a50c9a1
"examples/textual_inversion/textual_inversion_sdxl.py" did not exist on "79ef9e528cd2ae8dc49c75eeb1ea5d0d17ac9d45"
Commit
8a50c9a1
authored
May 06, 2021
by
Hejing Li
Browse files
rename result processing script
parent
f5dbb851
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
results/ScaleHost.py
results/ScaleHost.py
+2
-2
results/ScaleLoad.py
results/ScaleLoad.py
+4
-4
No files found.
results/
udp_scale
.py
→
results/
ScaleHost
.py
View file @
8a50c9a1
...
...
@@ -31,11 +31,11 @@ if len(sys.argv) != 2:
sys
.
exit
(
1
)
basedir
=
sys
.
argv
[
1
]
+
'/'
types_of_client
=
[
1
,
3
,
7
,
11
,
1
5
,
31
]
types_of_client
=
[
1
,
4
,
9
,
1
4
,
20
]
bw
=
1000
for
cl
in
types_of_client
:
log_path
=
'%sgt-ib-sw
itch-UDPmicro
-%d-%d-1.json'
%
(
basedir
,
bw
,
cl
)
log_path
=
'%sgt-ib-sw
-Host
-%d
m
-%d-1.json'
%
(
basedir
,
bw
,
cl
)
try
:
log
=
open
(
log_path
,
'r'
)
...
...
results/
udp
.py
→
results/
ScaleLoad
.py
View file @
8a50c9a1
...
...
@@ -27,17 +27,17 @@ import shutil
import
json
if
len
(
sys
.
argv
)
!=
2
:
print
(
'Usage:
udp
.py OUTDIR'
)
print
(
'Usage:
python3 ScaleLoad
.py OUTDIR'
)
sys
.
exit
(
1
)
basedir
=
sys
.
argv
[
1
]
+
'/'
# FIXME: dropped 120 because it looks off
types_of_bw
=
[
0
,
2
0
,
4
0
,
6
0
,
8
0
,
1
00
,
14
0
,
2
00
,
5
00
,
8
00
,
1000
]
types_of_bw
=
[
0
,
10
0
,
20
0
,
30
0
,
40
0
,
5
00
,
60
0
,
7
00
,
8
00
,
9
00
,
1000
]
for
bw
in
types_of_bw
:
log_path
=
'%sgt-ib-
wire-UDPs
-%dm-1.json'
%
(
basedir
,
bw
)
log_path
=
'%sgt-ib-
sw-Load
-%dm-1.json'
%
(
basedir
,
bw
)
if
os
.
path
.
exists
(
log_path
):
log
=
open
(
log_path
,
'r'
)
exp_log
=
json
.
load
(
log
)
...
...
@@ -45,10 +45,10 @@ for bw in types_of_bw:
end_time
=
exp_log
[
"end_time"
]
diff_time
=
(
end_time
-
start_time
)
/
60
#min
diff_time
=
str
(
diff_time
)
log
.
close
()
else
:
diff_time
=
''
print
(
'%d
\t
%s'
%
(
bw
,
diff_time
))
log
.
close
()
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