ext3fs slowness -- how things proceed
Matt Armstrong
matt at lickey.com
Wed Feb 5 06:27:16 CET 2003
Matthias Andree <matthias.andree at gmx.de> writes:
> Greg Louis <glouis at dynamicro.on.ca> writes:
>
>> + if ((ret = DB_CACHE(handle->dbp, 0, CACHEMB, 1)) != 0) {
>> + print_error(__FILE__, __LINE__, "(db) setcache( %s ), err: %d, %s",
>> + db_file, ret, db_strerror(ret));
>> + goto open_err;
>> + }
>> +
>
>> This, however, is only a workaround -- not by any means a solution.
>
> JFTR: I concur.
I do wonder if ordering the writes to the db would help. This is the
idea I've brought up before. If we write keys to the db in the same
order that the db sorts them, theoretically, no single page in the BDB
would be written to disk more than once -- though this depends on how
BDB is written.
More information about the bogofilter-dev
mailing list