You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/01/12 12:52:46 UTC
[GitHub] [trafficserver] cukiernik commented on pull request #8534: TS_USE_MMAP: mmap+memcopy instead pread+pwrite
cukiernik commented on pull request #8534:
URL: https://github.com/apache/trafficserver/pull/8534#issuecomment-1011014464
Hello, after my long holidays.
@ywkaras: I didn't run the _au test_, because _pip_ and _PyPi_ seem to endanger my system security.
@keesspoelstra: I was also wondering whether to force _msync_ after each modyfication, using _MS_ASYNC_, a add dedicated thread to _MS_SYNC_. but I couldn't decide on any of the solutions, I will propose a solution without it. **It is not needet to a correcty working**. As I wrote above, I check it with a gigantic amount of RAM, and after modifying the whole cache, _msync MS_SYNC_ takes more than a few minutes.
In my task, I don't need to store content cache after _shutdown_. In this case, _MAP_ANONYMOUS_ works faster. It is also suggested @SolidWallOfCode, but with _MAP_SHARED_ it's easier to trace and debug for me.
--
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.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org