Re: [squid-users] mmap() in squid

2015-03-31 Thread Eliezer Croitoru
Hey Eugene, Since I do not have the full details about the issue and related areas I cannot answer and I think later others will answer this better then me. But as for the last question about squid being a DB. Squid in a way is also a DB like any OS is a DB. Due to the fact that squid is kind o

[squid-users] mmap() in squid

2015-03-27 Thread Eugene M. Zheganin
Hi. Squid uses mmap() call from 3.4.x, and mmap() on FreeBSD it has one specific flag - MAP_NOSYNC, which prevents dirtied pages from being flushed on disk: MAP_NOSYNCCauses data dirtied via this VM map to be flushed to physical media only when necessary (usually by