You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by vmamidi <gi...@git.apache.org> on 2017/01/18 19:32:46 UTC
[GitHub] trafficserver issue #1336: cache promote plugin takes too much calculating s...
GitHub user vmamidi opened an issue:
https://github.com/apache/trafficserver/issues/1336
cache promote plugin takes too much calculating size of LRUList
pstack shows that cache promote plugin spends lot of time calculating too much time in determining the size of LRUList
#0 std::__distance<std::_List_const_iterator<std::pair<LRUHash, unsigned int> > > (__last=..., __first=...) at /opt/gcc/include/c++/4.9.3/bits/stl_iterator_base_funcs.h:83
#1 std::distance<std::_List_const_iterator<std::pair<LRUHash, unsigned int> > > (__last=..., __first=...) at /opt/gcc/include/c++/4.9.3/bits/stl_iterator_base_funcs.h:118
#2 std::list<std::pair<LRUHash, unsigned int>, std::allocator<std::pair<LRUHash, unsigned int> > >::size (this=0x2b37fe095c58) at /opt/gcc/include/c++/4.9.3/bits/stl_list.h:887
using a length variable should make it not dependent on stl list implementation
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] trafficserver issue #1336: cache promote plugin takes too much calculating s...
Posted by zwoop <gi...@git.apache.org>.
Github user zwoop closed the issue at:
https://github.com/apache/trafficserver/issues/1336
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---