On Thu, Apr 4, 2013 at 8:43 AM, Drake Wilson <dr...@dasyatidae.net> wrote:

> Quoth Richard Hipp <d...@sqlite.org>, on 2013-04-04 08:02:34 -0400:
> > By making use of memory-mapped I/O, the current trunk of SQLite (which
> will
> > eventually become version 3.7.17 after much more refinement and testing)
> > can be as much as twice as fast, on some platforms and under some
> > workloads.
> [...]
>
> I'm curious how you plan to handle reliability against I/O errors in
> mmap mode.
>
> Specifically, an I/O error faulting in an mmapped page can deliver a
> SIGBUS to the thread.
>

Is this really a problem?  Your executable and all of your shared libraries
are also mmapped into your address space.  If accessing mmapped memory were
causing bus errors, then we'd be seeing bus errors all over the place.



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to