Message195971
Depending of a concrete OS implementation is not good. Linux is not the only OS out there, and I have very old machines in production yet:
"""
# uname -a
Linux colquide.XXXX.es 2.4.37 #4 Fri Dec 12 01:10:45 CET 2008 i686 unknown
"""
I have been hit by the VM/file cache split in the past. Portability is important.
Anyway, the Python "mmap" manual says that "mmap.flush()" is needed to be sure that you are not going to "lose" changes you made in the mmap. On "modern" OSs it is not actually needed, as you say, and the performance hit is important enough for me to investigate and write this enhancement proposal :). |
|
Date |
User |
Action |
Args |
2013-08-23 13:53:06 | jcea | set | recipients:
+ jcea, neologix |
2013-08-23 13:53:06 | jcea | set | messageid: <1377265986.52.0.577159900734.issue18816@psf.upfronthosting.co.za> |
2013-08-23 13:53:06 | jcea | link | issue18816 messages |
2013-08-23 13:53:06 | jcea | create | |
|