Changeset 1190


Ignore:
Timestamp:
07/03/17 14:34:20 (7 years ago)
Author:
rlacroix
Message:

Remove an old failsafe mechanism that could hide some buffers mispredictions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/context.cpp

    r1137 r1190  
    295295     for (it = maxEventSize.begin(); it != ite; ++it) 
    296296       if (it->second < minBufferSize) it->second = minBufferSize; 
    297  
    298      if (client->isServerLeader()) 
    299      { 
    300        const std::list<int>& ranks = client->getRanksServerLeader(); 
    301        for (std::list<int>::const_iterator itRank = ranks.begin(), itRankEnd = ranks.end(); itRank != itRankEnd; ++itRank) 
    302          if (!bufferSize.count(*itRank)) bufferSize[*itRank] = maxEventSize[*itRank] = minBufferSize; 
    303      } 
    304297 
    305298     client->setBufferSize(bufferSize, maxEventSize); 
Note: See TracChangeset for help on using the changeset viewer.