13.07.2015 Views

Matthieu Patou PDF - sambaXP

Matthieu Patou PDF - sambaXP

Matthieu Patou PDF - sambaXP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Making it faster and scalier:Things in progressCode is not yet in master but at my git tree in the branch ldb_perfs» Casefolding can represent 50% of the time spent in the search» Let's store the DN in the index already case folded, better paythe price for case folding only once (when stored) than milliontime (when read)» Let's use the DN of the index for cheching if the record matchthe DN and the scope of the search, so that we don't recasefold» Freeing talloced object can at the end be expensive, allocatingand freeing object that you don't need is a important waste ofresource and can account for 20/30% of the time of thesearch» Check if the object match the DN and the scope of the searchbefore loading the object, by using either DN from the index

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!