Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-orbit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Katerina Roukounaki
cloud-orbit
Commits
eb061331
Commit
eb061331
authored
Jan 15, 2015
by
Aggelos Giantsios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document script that runs the parallel orbit
parent
72f118e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
1 deletion
+33
-1
README.md
README.md
+24
-0
par.py
par.py
+9
-1
No files found.
README.md
View file @
eb061331
...
...
@@ -82,6 +82,30 @@ Python 2.x is needed in order to run the scripts.
node = {"host": "127.0.0.1", "port": 5050}
```
-
Parallel Orbit
```bash
python par.py
```
Variables that can be tweaked with their default values.
```python
# Path to the file that will hold the results.
fname = 'par.log'
# Number of repetitions per configuration.
reps = 1
# List of versions.
versions = ["short", "intermediate", "long"]
# Perform parallel image computations
iwps = [False, True]
# No of cores used
cores = [1,2,4,8,16]
# Ratio of No of workers to No of cores.
workersPerCore = 1
# Host information.
node = {"host": "127.0.0.1", "port": 5050}
```
Memory Profiling
----------------
...
...
par.py
View file @
eb061331
...
...
@@ -4,17 +4,25 @@
from
__future__
import
print_function
import
sys
,
subprocess
,
time
f
=
open
(
'par.log'
,
'a+'
)
# Path to the file that will hold the results.
fname
=
'par.log'
f
=
open
(
fname
,
'a+'
)
def
print_all
(
s
):
print
(
s
,
file
=
f
)
f
.
flush
()
print
(
s
,
file
=
sys
.
stdout
)
# Number of repetitions per configuration.
reps
=
1
# List of versions.
versions
=
[
"short"
,
"intermediate"
,
"long"
]
# Perform parallel image computations
iwps
=
[
False
,
True
]
# No of cores used
cores
=
[
1
,
2
,
4
,
8
,
16
]
# Ratio of No of workers to No of cores.
workersPerCore
=
1
# Host information.
node
=
{
"host"
:
"127.0.0.1"
,
"port"
:
5050
}
print_all
(
"Parallel Orbit"
)
...
...
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