Skip to content

Conversation

@shelhamer
Copy link
Member

lmdb is faster at read and supports concurrent access for training and evaluating multiple networks on the same data at the same time.
As a further step I vote to switch the caffe.proto default backend to lmdb from leveldb in dev with a note in the release since this changes existing model defaults. Thoughts?

Certain examples like cifar and mnist siamese have their own custom data tools that are left as leveldb.

lmdb is 10-15% faster than leveldb although it takes ~1.1x the storage.
This is usually irrelevant in prefetching since both are fast enough,
but more important lmdb allows multiple, concurrent reads for training
and evaluation several models on the same data.
@jeffdonahue
Copy link
Contributor

SGTM

shelhamer added a commit that referenced this pull request Sep 22, 2014
default to lmdb for database storage
@shelhamer shelhamer merged commit 22f47bb into BVLC:master Sep 22, 2014
@shelhamer shelhamer deleted the default-db-lmdb branch September 22, 2014 05:08
mitmul pushed a commit to mitmul/caffe that referenced this pull request Sep 30, 2014
default to lmdb for database storage
RazvanRanca pushed a commit to RazvanRanca/caffe that referenced this pull request Nov 4, 2014
default to lmdb for database storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants