linux - Does Redis Windows fork use less RAM because is using memory-mapped files? -
i found following forum post in redis google group: verify redis on windows memory consumption, , microsoft open tech team member states:
in order implement persistence , simulate fork() copy-on-write mechanism, windows port of redis places redis heap in memory mapped file can shared child processes. data stored in memory because of memory-mapped file working set accounted under "shared working set" instead of "private working set". can inspect shared working set of redis-server.exe using task manager or windows performance monitor. should see values closer reflect "used_memory_human"
why i'm asking question? because found redis-server
process takes significant less memory info
command says (for example, info
shows redis using 148mb while shared working set in task manager shows 48mb).
since msopentech member says redis windows using memory-mapped files, does means redis on windows uses less ram linux version?.
for of coming question later 2016's, open process hacker (process explorer) , look/add column working set
.
the memory usage shown there related what's redis using.
Comments
Post a Comment