Explore using mmap for data file access
Bug #989427 reported by
Michael Leinartas
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
whisper |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
From question: https:/
Original description:
I read in one of the answers (comment #4 in https:/
This means that it has to keep doing lseek+read+write system calls every time it updates the file.
I'm not very familiar with Python but a quick search tells me that it supports mmap (http://
Using mmap(2) could give a huge advantage:
1. No system calls (which are expensive).
2. No copying of data between the process user-space and kernel buffers on each read/write
Changed in graphite: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
affects: | graphite → whisper |
To post a comment you must log in.
Migrated to Github: https:/ /github. com/graphite- project/ whisper/ issues/ 20