← Back to context Comment by cryptonector 4 years ago If loading == mmap(2)ing read-only, then it's not a problem. Read-only pages don't get CoW'ed. 3 comments cryptonector Reply btilly 4 years ago Back when I did this, loading usually meant querying a bunch of constant data in mod_perl. cryptonector 4 years ago So write the query results to files and then mmap() them! btilly 4 years ago You'd be amazed at how difficult it is to make useful use of mmap() from within a variety of common scripting languages.
btilly 4 years ago Back when I did this, loading usually meant querying a bunch of constant data in mod_perl. cryptonector 4 years ago So write the query results to files and then mmap() them! btilly 4 years ago You'd be amazed at how difficult it is to make useful use of mmap() from within a variety of common scripting languages.
cryptonector 4 years ago So write the query results to files and then mmap() them! btilly 4 years ago You'd be amazed at how difficult it is to make useful use of mmap() from within a variety of common scripting languages.
btilly 4 years ago You'd be amazed at how difficult it is to make useful use of mmap() from within a variety of common scripting languages.
Back when I did this, loading usually meant querying a bunch of constant data in mod_perl.
So write the query results to files and then mmap() them!
You'd be amazed at how difficult it is to make useful use of mmap() from within a variety of common scripting languages.