Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
c42fe448
Commit
c42fe448
authored
18 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Disable pthread_create() for PMI_send when TotalView is running for
better performance.
parent
21212a44
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
NEWS
+2
-0
2 additions, 0 deletions
NEWS
src/api/pmi_server.c
+8
-1
8 additions, 1 deletion
src/api/pmi_server.c
src/slaunch/opt.c
+1
-0
1 addition, 0 deletions
src/slaunch/opt.c
testsuite/expect/test7.2
+1
-1
1 addition, 1 deletion
testsuite/expect/test7.2
with
12 additions
and
2 deletions
NEWS
+
2
−
0
View file @
c42fe448
...
@@ -10,6 +10,8 @@ documents those changes that are of interest to users and admins.
...
@@ -10,6 +10,8 @@ documents those changes that are of interest to users and admins.
are expecting to get back. No srun_node_id anymore passed around in
are expecting to get back. No srun_node_id anymore passed around in
a slurm_msg_t
a slurm_msg_t
-- Remove sched/wiki plugin (use sched/wiki2 for now)
-- Remove sched/wiki plugin (use sched/wiki2 for now)
-- Disable pthread_create() for PMI_send when TotalView is running for
better performance.
* Changes in SLURM 1.2.0-pre2
* Changes in SLURM 1.2.0-pre2
=============================
=============================
...
...
This diff is collapsed.
Click to expand it.
src/api/pmi_server.c
+
8
−
1
View file @
c42fe448
...
@@ -187,7 +187,14 @@ static void *_agent(void *x)
...
@@ -187,7 +187,14 @@ static void *_agent(void *x)
msg_args
=
xmalloc
(
sizeof
(
struct
msg_arg
));
msg_args
=
xmalloc
(
sizeof
(
struct
msg_arg
));
msg_args
->
bar_ptr
=
&
args
->
barrier_xmit_ptr
[
j
];
msg_args
->
bar_ptr
=
&
args
->
barrier_xmit_ptr
[
j
];
msg_args
->
kvs_ptr
=
&
kvs_set
;
msg_args
->
kvs_ptr
=
&
kvs_set
;
if
(
pthread_create
(
&
msg_id
,
&
attr
,
_msg_thread
,
if
(
agent_max_cnt
==
1
)
{
/* TotalView slows down a great deal for
* pthread_create() calls, so just send the
* messages inline when TotalView is in use
* or for some other reason we only want
* one pthread. */
_msg_thread
((
void
*
)
msg_args
);
}
else
if
(
pthread_create
(
&
msg_id
,
&
attr
,
_msg_thread
,
(
void
*
)
msg_args
))
{
(
void
*
)
msg_args
))
{
fatal
(
"pthread_create: %m"
);
fatal
(
"pthread_create: %m"
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/slaunch/opt.c
+
1
−
0
View file @
c42fe448
...
@@ -1102,6 +1102,7 @@ void set_options(const int argc, char **argv)
...
@@ -1102,6 +1102,7 @@ void set_options(const int argc, char **argv)
* is really attached */
* is really attached */
opt
.
parallel_debug
=
true
;
opt
.
parallel_debug
=
true
;
MPIR_being_debugged
=
1
;
MPIR_being_debugged
=
1
;
pmi_server_max_threads
(
1
);
break
;
break
;
case
LONG_OPT_USAGE
:
case
LONG_OPT_USAGE
:
_usage
();
_usage
();
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test7.2
+
1
−
1
View file @
c42fe448
...
@@ -67,7 +67,7 @@ if { [test_bluegene] } {
...
@@ -67,7 +67,7 @@ if { [test_bluegene] } {
# Adjust time limits as needed for large task counts */
# Adjust time limits as needed for large task counts */
# times are here vv
# times are here vv
set timeout [expr $max_job_delay + 60]
set timeout [expr $max_job_delay + 60]
spawn $srun -l -N$node_cnt -n8 -O -t1 --
pmi-
threads=
3
$file_prog_get
spawn $srun -l -N$node_cnt -n8 -O -t1 --threads=
1
$file_prog_get
expect {
expect {
-re "FAILURE" {
-re "FAILURE" {
send_user "\nFAILURE: some error occured\n"
send_user "\nFAILURE: some error occured\n"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment