ema commented on issue #7423:
URL: https://github.com/apache/trafficserver/issues/7423#issuecomment-809354214


   Hey Kit, sorry for getting back to you so late!
   
   > 1. Perhaps there are some failures to obtaining the memory needed for the 
operation and thus the luajit will keep doing it again and again? Did you guys 
see any messages in traffic.out/diags.log ?
   
   Nope, we're getting no relevant errors.
   
   > 3. if you are already on beta3 ,  I also wonder if this will help - 
[LuaJIT/LuaJIT@bd00094](https://github.com/LuaJIT/LuaJIT/commit/bd00094c3b50e193fb32aad79b7ea8ea6b78ed25)
   
   I gave it a shot, see https://phabricator.wikimedia.org/P15083. After 
installing the updated LuaJIT packages I got rid of our `jit.off()` workaround 
from all Lua scripts and here's the result:
   
![image](https://user-images.githubusercontent.com/281102/112839321-57f77600-909e-11eb-8118-605cb161f8cd.png)
   
   So no, unfortunately even with 
[LuaJIT/LuaJIT@bd00094](https://github.com/LuaJIT/LuaJIT/commit/bd00094c3b50e193fb32aad79b7ea8ea6b78ed25)
  ATS is performing ~35K mmap calls per second:
   ```
   root@cp4027:/etc/trafficserver/lua# bpftrace -e 
'uprobe:/lib/x86_64-linux-gnu/libc.so.6:mmap /pid==23625/ { @[pid]=count(); } 
interval:s:1 { exit(); }'
   Attaching 2 probes...
   @[23625]: 35203
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to