Skip to content

Instantly share code, notes, and snippets.

@mdcallag
Created May 10, 2022 16:11
Show Gist options
  • Save mdcallag/c7a95d89313f0e0251c12d3528236f0d to your computer and use it in GitHub Desktop.
Save mdcallag/c7a95d89313f0e0251c12d3528236f0d to your computer and use it in GitHub Desktop.
--- Lookup
-> data
7 __lll_lock_wait,pthread_mutex_lock,rocksdb::port::Mutex::Lock,rocksdb::MutexLock::MutexLock,rocksdb::LRUCacheShard::Lookup(rocksdb::Slice,rocksdb::ShardedCache::Lookup(rocksdb::Slice,rocksdb::BlockBasedTable::GetEntryFromCache(rocksdb::CacheTier,rocksdb::BlockBasedTable::GetDataBlockFromCache<rocksdb::Block>,rocksdb::BlockBasedTable::MaybeReadBlockAndLoadToCache<rocksdb::Block>,rocksdb::BlockBasedTable::RetrieveBlock<rocksdb::Block>,rocksdb::BlockBasedTable::NewDataBlockIterator<rocksdb::DataBlockIter>,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
-> data
1 rocksdb::ShardedCache::Lookup(rocksdb::Slice,rocksdb::BlockBasedTable::GetEntryFromCache(rocksdb::CacheTier,rocksdb::BlockBasedTable::GetDataBlockFromCache<rocksdb::Block>,rocksdb::BlockBasedTable::MaybeReadBlockAndLoadToCache<rocksdb::Block>,rocksdb::BlockBasedTable::RetrieveBlock<rocksdb::Block>,rocksdb::BlockBasedTable::NewDataBlockIterator<rocksdb::DataBlockIter>,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
-> index
6 __lll_lock_wait,pthread_mutex_lock,rocksdb::port::Mutex::Lock,rocksdb::MutexLock::MutexLock,rocksdb::LRUCacheShard::Lookup(rocksdb::Slice,rocksdb::ShardedCache::Lookup(rocksdb::Slice,rocksdb::BlockBasedTable::GetEntryFromCache(rocksdb::CacheTier,rocksdb::BlockBasedTable::GetDataBlockFromCache<rocksdb::Block>,rocksdb::BlockBasedTable::MaybeReadBlockAndLoadToCache<rocksdb::Block>,rocksdb::BlockBasedTable::RetrieveBlock<rocksdb::Block>,rocksdb::BlockBasedTable::IndexReaderCommon::ReadIndexBlock,rocksdb::BlockBasedTable::IndexReaderCommon::GetOrReadIndexBlock,rocksdb::BinarySearchIndexReader::NewIterator,rocksdb::BlockBasedTable::NewIndexIterator,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
-> filter
4 __lll_lock_wait,pthread_mutex_lock,rocksdb::port::Mutex::Lock,rocksdb::MutexLock::MutexLock,rocksdb::LRUCacheShard::Lookup(rocksdb::Slice,rocksdb::ShardedCache::Lookup(rocksdb::Slice,rocksdb::BlockBasedTable::GetEntryFromCache(rocksdb::CacheTier,rocksdb::BlockBasedTable::GetDataBlockFromCache<rocksdb::ParsedFullFilterBlock>,rocksdb::BlockBasedTable::MaybeReadBlockAndLoadToCache<rocksdb::ParsedFullFilterBlock>,rocksdb::BlockBasedTable::RetrieveBlock<rocksdb::ParsedFullFilterBlock>,rocksdb::FilterBlockReaderCommon<rocksdb::ParsedFullFilterBlock>::ReadFilterBlock,rocksdb::FilterBlockReaderCommon<rocksdb::ParsedFullFilterBlock>::GetOrReadFilterBlock,rocksdb::FullFilterBlockReader::MayMatch,rocksdb::BlockBasedTable::FullFilterKeyMayMatch,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
-> filter
1 pthread_mutex_unlock,rocksdb::port::Mutex::Unlock,rocksdb::MutexLock::~MutexLock,rocksdb::LRUCacheShard::Lookup(rocksdb::Slice,rocksdb::ShardedCache::Lookup(rocksdb::Slice,rocksdb::BlockBasedTable::GetEntryFromCache(rocksdb::CacheTier,rocksdb::BlockBasedTable::GetDataBlockFromCache<rocksdb::ParsedFullFilterBlock>,rocksdb::BlockBasedTable::MaybeReadBlockAndLoadToCache<rocksdb::ParsedFullFilterBlock>,rocksdb::BlockBasedTable::RetrieveBlock<rocksdb::ParsedFullFilterBlock>,rocksdb::FilterBlockReaderCommon<rocksdb::ParsedFullFilterBlock>::ReadFilterBlock,rocksdb::FilterBlockReaderCommon<rocksdb::ParsedFullFilterBlock>::GetOrReadFilterBlock,rocksdb::FullFilterBlockReader::MayMatch,rocksdb::BlockBasedTable::FullFilterKeyMayMatch,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
-> filter
1 rocksdb::operator!=,rocksdb::LRUHandleTable::FindPointer,rocksdb::LRUHandleTable::Lookup,rocksdb::LRUCacheShard::Lookup(rocksdb::Slice,rocksdb::ShardedCache::Lookup(rocksdb::Slice,rocksdb::BlockBasedTable::GetEntryFromCache(rocksdb::CacheTier,rocksdb::BlockBasedTable::GetDataBlockFromCache<rocksdb::ParsedFullFilterBlock>,rocksdb::BlockBasedTable::MaybeReadBlockAndLoadToCache<rocksdb::ParsedFullFilterBlock>,rocksdb::BlockBasedTable::RetrieveBlock<rocksdb::ParsedFullFilterBlock>,rocksdb::FilterBlockReaderCommon<rocksdb::ParsedFullFilterBlock>::ReadFilterBlock,rocksdb::FilterBlockReaderCommon<rocksdb::ParsedFullFilterBlock>::GetOrReadFilterBlock,rocksdb::FullFilterBlockReader::MayMatch,rocksdb::BlockBasedTable::FullFilterKeyMayMatch,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
--- Release
-> ???
1 __lll_lock_wait,pthread_mutex_lock,rocksdb::port::Mutex::Lock,rocksdb::MutexLock::MutexLock,rocksdb::LRUCacheShard::Release,rocksdb::Cleanable::DoCleanup,rocksdb::Cleanable::Reset,rocksdb::PinnableSlice::Reset,rocksdb::Benchmark::ReadRandom
-> ???
2 pthread_mutex_unlock,rocksdb::port::Mutex::Unlock,rocksdb::MutexLock::~MutexLock,rocksdb::LRUCacheShard::Release,rocksdb::Cleanable::DoCleanup,rocksdb::Cleanable::Reset,rocksdb::PinnableSlice::Reset,rocksdb::Benchmark::ReadRandom
-> filter
1 __lll_lock_wait,pthread_mutex_lock,rocksdb::port::Mutex::Lock,rocksdb::MutexLock::MutexLock,rocksdb::LRUCacheShard::Release,rocksdb::CachableEntry<rocksdb::ParsedFullFilterBlock>::ReleaseResource,rocksdb::CachableEntry<rocksdb::ParsedFullFilterBlock>::~CachableEntry,rocksdb::FullFilterBlockReader::MayMatch,rocksdb::BlockBasedTable::FullFilterKeyMayMatch,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
-> filter
1 pthread_mutex_lock,rocksdb::port::Mutex::Lock,rocksdb::MutexLock::MutexLock,rocksdb::LRUCacheShard::Release,rocksdb::CachableEntry<rocksdb::ParsedFullFilterBlock>::ReleaseResource,rocksdb::CachableEntry<rocksdb::ParsedFullFilterBlock>::~CachableEntry,rocksdb::FullFilterBlockReader::MayMatch,rocksdb::BlockBasedTable::FullFilterKeyMayMatch,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
---
1 std::__lower_bound<rocksdb::FdWithKeyRange*,,std::lower_bound<rocksdb::FdWithKeyRange*,,rocksdb::(anonymous,rocksdb::(anonymous,rocksdb::(anonymous,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
1 rocksdb::UserComparatorWrapper::Compare,rocksdb::InternalKeyComparator::Compare,operator(),__gnu_cxx::__ops::_Iter_comp_val<rocksdb::(anonymous,std::__lower_bound<rocksdb::FdWithKeyRange*,,std::lower_bound<rocksdb::FdWithKeyRange*,,rocksdb::(anonymous,rocksdb::(anonymous,rocksdb::(anonymous,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
1 rocksdb::FullFilterBlockReader::MayMatch,rocksdb::BlockBasedTable::FullFilterKeyMayMatch,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
1 rocksdb::BlockIter<rocksdb::Slice>::BinarySeek<rocksdb::DecodeKey>,rocksdb::DataBlockIter::SeekImpl,rocksdb::DataBlockIter::SeekForGet,rocksdb::DataBlockIter::SeekForGet,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
1 rocksdb::(anonymous,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
1 __memmove_avx_unaligned_erms,rocksdb::IterKey::TrimAppend,rocksdb::DataBlockIter::ParseNextDataKey<rocksdb::DecodeEntry>,rocksdb::DataBlockIter::NextImpl,rocksdb::BlockIter<rocksdb::Slice>::FindKeyAfterBinarySeek,rocksdb::DataBlockIter::SeekImpl,rocksdb::DataBlockIter::SeekForGet,rocksdb::DataBlockIter::SeekForGet,rocksdb::BlockBasedTable::Get,rocksdb::TableCache::Get,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
1 __memcmp_avx2_movbe,rocksdb::Slice::compare,rocksdb::(anonymous,rocksdb::Comparator::CompareWithoutTimestamp,rocksdb::(anonymous,rocksdb::Version::Get,rocksdb::DBImpl::GetImpl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment