[lkml]   [1996]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectre: "raw" device

a friend of mine and me have written a sql engine, and we used
our own cache system.

We think its better because we have a better control on the way the
cache is managed. (e.g. we can cache the disk page but the tuple too)
its possible to have some priorities in the cache for different tables.
and even if linux has a good cache, its not true on every unix. so it's more
portable for us not to trust the os cache.

moreover, we avoid the overhead due to the gate of the read() syscall.
and i havn't try to use mmap. so i don't know the result and if its a good
idea in my case.

Jerome Etienne <> aim: be a pebble in a torrent.

 \ /
  Last update: 2005-03-22 13:37    [W:0.036 / U:3.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site