Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1460 fix bug in temperedlb tolerance #1794

Merged
merged 1 commit into from
May 12, 2022

Conversation

nlslatt
Copy link
Collaborator

@nlslatt nlslatt commented May 10, 2022

As previously coded, TemperedLB would never skip LB due to low imbalance. Instead of changing the value, which is consistent with other LBs, I fixed the formula used for evaluating.

Fixes #1460

Copy link
Collaborator

@lifflander lifflander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (gcc-5, ubuntu, mpich)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (clang-3.9, ubuntu, mpich)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (gcc-6, ubuntu, mpich)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (clang-5.0, ubuntu, mpich)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (gcc-10, ubuntu, openmpi, no LB)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (gcc-9, ubuntu, mpich, zoltan)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (gcc-8, ubuntu, mpich, address sanitizer)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (gcc-7, ubuntu, mpich, trace runtime, LB)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@codecov
Copy link

codecov bot commented May 10, 2022

Codecov Report

Merging #1794 (2fb725e) into develop (daa95fa) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

❗ Current head 2fb725e differs from pull request most recent head 33c4120. Consider uploading reports for the commit 33c4120 to get more accurate results

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1794      +/-   ##
===========================================
- Coverage    84.18%   84.11%   -0.07%     
===========================================
  Files          755      753       -2     
  Lines        26246    26127     -119     
===========================================
- Hits         22096    21978     -118     
+ Misses        4150     4149       -1     
Impacted Files Coverage Δ
...vt/vrt/collection/balance/temperedlb/temperedlb.cc 70.26% <100.00%> (-0.15%) ⬇️
src/vt/topos/location/location.impl.h 88.19% <0.00%> (-5.91%) ⬇️
src/vt/scheduler/priority_manip.cc 50.00% <0.00%> (-5.56%) ⬇️
src/vt/pipe/pipe_manager.cc 55.55% <0.00%> (-4.45%) ⬇️
src/vt/vrt/collection/balance/lb_common.cc 66.66% <0.00%> (-2.57%) ⬇️
src/vt/trace/trace_event.cc 75.00% <0.00%> (-1.20%) ⬇️
src/vt/vrt/collection/manager.impl.h 95.42% <0.00%> (-1.01%) ⬇️
src/vt/utils/compress/compressor.cc 83.33% <0.00%> (-0.88%) ⬇️
.../vt/vrt/collection/balance/lb_invoke/lb_manager.cc 76.52% <0.00%> (-0.79%) ⬇️
.../collection/balance/model/proposed_reassignment.cc 80.00% <0.00%> (-0.77%) ⬇️
... and 45 more

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (clang-9, ubuntu, mpich)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (nvidia cuda 10.1, ubuntu, mpich)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (clang-10, alpine, mpich)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (clang-11, ubuntu, mpich)

Build for 33c4120

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc:149:26: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
    struct mallinfo mi = mallinfo();
                         ^
/usr/include/malloc.h:114:48: note: 'mallinfo' has been explicitly marked deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
                                               ^
/usr/include/malloc.h:32:30: note: expanded from macro '__MALLOC_DEPRECATED'
# define __MALLOC_DEPRECATED __attribute_deprecated__
                             ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
1 warning generated.

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (nvidia cuda 11.0, ubuntu, mpich)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (intel icpx, ubuntu, mpich)

Build for 33c4120

/vt/lib/EngFormat-Cpp/src/eng_format.cpp:144:15: warning: comparison with NaN always evaluates to false in fast floating point modes [-Wtautological-constant-compare]
    if      ( std::isnan( value ) ) return "NaN";
              ^~~~~~~~~~~~~~~~~~~
/vt/lib/EngFormat-Cpp/src/eng_format.cpp:145:15: warning: comparison with infinity always evaluates to false in fast floating point modes [-Wtautological-constant-compare]
    else if ( std::isinf( value ) ) return "INFINITE";
              ^~~~~~~~~~~~~~~~~~~
2 warnings generated.

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (clang-13, ubuntu, mpich)

Build for 33c4120

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc:149:26: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
    struct mallinfo mi = mallinfo();
                         ^
/usr/include/malloc.h:114:48: note: 'mallinfo' has been explicitly marked deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
                                               ^
/usr/include/malloc.h:32:30: note: expanded from macro '__MALLOC_DEPRECATED'
# define __MALLOC_DEPRECATED __attribute_deprecated__
                             ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
1 warning generated.

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (clang-12, ubuntu, mpich)

Build for 33c4120

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc:149:26: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
    struct mallinfo mi = mallinfo();
                         ^
/usr/include/malloc.h:114:48: note: 'mallinfo' has been explicitly marked deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
                                               ^
/usr/include/malloc.h:32:30: note: expanded from macro '__MALLOC_DEPRECATED'
# define __MALLOC_DEPRECATED __attribute_deprecated__
                             ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
1 warning generated.

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (clang-14, ubuntu, mpich)

Build for 33c4120

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc:149:26: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
    struct mallinfo mi = mallinfo();
                         ^
/usr/include/malloc.h:114:48: note: 'mallinfo' has been explicitly marked deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
                                               ^
/usr/include/malloc.h:32:30: note: expanded from macro '__MALLOC_DEPRECATED'
# define __MALLOC_DEPRECATED __attribute_deprecated__
                             ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
1 warning generated.

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (gcc-11, ubuntu, mpich)

Build for 33c4120

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc: In member function 'virtual std::size_t vt::util::memory::Mallinfo::getUsage()':
/vt/src/vt/utils/memory/memory_usage.cc:149:34: warning: 'mallinfo mallinfo()' is deprecated [-Wdeprecated-declarations]
  149 |     struct mallinfo mi = mallinfo();
      |                          ~~~~~~~~^~
In file included from /vt/src/vt/utils/memory/memory_usage.cc:59,
                 from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/usr/include/malloc.h:114:24: note: declared here
  114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
      |                        ^~~~~~~~

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (gcc-12, ubuntu, mpich)

Build for 33c4120

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc: In member function 'virtual std::size_t vt::util::memory::Mallinfo::getUsage()':
/vt/src/vt/utils/memory/memory_usage.cc:149:34: warning: 'mallinfo mallinfo()' is deprecated [-Wdeprecated-declarations]
  149 |     struct mallinfo mi = mallinfo();
      |                          ~~~~~~~~^~
In file included from /vt/src/vt/utils/memory/memory_usage.cc:59:
/usr/include/malloc.h:114:24: note: declared here
  114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
      |                        ^~~~~~~~

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 10, 2022

PR tests (clang-10, ubuntu, mpich)

Build for 33c4120

Compilation - successful

Testing - passed

Build log

@nlslatt nlslatt force-pushed the 1460-temperedlb-threshold-inappropriate branch from 2fb725e to 33c4120 Compare May 11, 2022 19:15
@nlslatt nlslatt merged commit 5423e23 into develop May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TemperedLB threshold is inappropriate
2 participants