The CPU is used by userspace, not kernelspace Here is the perf top, see attachment Rocksdb eats everything :/ On 4/8/20 3:14 PM, Paul Emmerich wrote: > What's the CPU busy with while spinning at 100%? > > Check "perf top" for a quick overview > > > Paul >
Samples: 1M of event 'cycles:ppp', 4000 Hz, Event count (approx.): 330103591171 Overhead Shared Object Symbol 4,99% ceph-osd [.] rocksdb::autovector<rocksdb::IteratorWrapperBase<rocksdb::Slice>*, 8ul>::size ◆ 3,14% ceph-osd [.] std::vector<rocksdb::IteratorWrapperBase<rocksdb::Slice>*, std::allocator<rocksdb::IteratorWrapperBase<rocksdb::Slice>*> >::size ▒ 2,46% ceph-osd [.] rocksdb::Status::Status ▒ 2,19% ceph-osd [.] rocksdb::Slice::compare ▒ 1,98% ceph-osd [.] rocksdb::DBIter::FindNextUserEntryInternal ▒ 1,87% ceph-osd [.] rocksdb::UserComparatorWrapper::Compare ▒ 1,75% ceph-osd [.] rocksdb::autovector<rocksdb::IteratorWrapperBase<rocksdb::Slice>*, 8ul>::empty ▒ 1,59% [kernel] [k] copy_user_enhanced_fast_string ▒ 1,57% ceph-osd [.] rocksdb::DataBlockIter::ParseNextDataKey<rocksdb::DecodeEntry> ▒ 1,57% ceph-osd [.] rocksdb::autovector<rocksdb::IteratorWrapperBase<rocksdb::Slice>*, 8ul>::operator[] ▒ 1,54% ceph-osd [.] rocksdb::Status::ok ▒ 1,53% ceph-osd [.] rocksdb::DecodeEntry::operator() ▒ 1,52% ceph-osd [.] rocksdb::BlockBasedTableIterator<rocksdb::DataBlockIter, rocksdb::Slice>::status ▒ 1,52% ceph-osd [.] rocksdb::IteratorWrapperBase<rocksdb::Slice>::Update ▒ 1,50% ceph-osd [.] rocksdb::BinaryHeap<rocksdb::IteratorWrapperBase<rocksdb::Slice>*, rocksdb::MinIteratorComparator>::downheap ▒ 1,37% ceph-osd [.] rocksdb::Slice::Slice ▒ 1,20% ceph-osd [.] rocksdb::IteratorWrapperBase<rocksdb::Slice>::status ▒ 1,18% ceph-osd [.] rocksdb::ExtractUserKey ▒ 1,06% ceph-osd [.] rocksdb::autovector<std::_Rb_tree_const_iterator<rocksdb::TruncatedRangeDelIterator*>, 8ul>::size ▒ 1,05% ceph-osd [.] rocksdb::Status::~Status ▒ 1,04% ceph-osd [.] rocksdb::ForwardRangeDelIterator::ShouldDelete ▒ 1,03% ceph-osd [.] rocksdb::ParseInternalKey ▒ 0,93% ceph-osd [.] rocksdb::IteratorWrapperBase<rocksdb::Slice>::Valid ▒ 0,90% ceph-osd [.] rocksdb::IteratorWrapperBase<rocksdb::Slice>::Next ▒ 0,86% ceph-osd [.] rocksdb::ParsedInternalKey::ParsedInternalKey ▒ 0,85% ceph-osd [.] rocksdb::Status::code ▒ 0,84% ceph-osd [.] rocksdb::MinIteratorComparator::operator() ▒ 0,84% ceph-osd [.] rocksdb::BlockIter<rocksdb::BlockHandle>::status ▒ 0,83% ceph-osd [.] TLS init function for rocksdb::perf_context ▒ 0,81% ceph-osd [.] rocksdb::BinaryHeap<rocksdb::IteratorWrapperBase<rocksdb::Slice>*, rocksdb::MinIteratorComparator>::empty ▒ 0,80% ceph-osd [.] rocksdb::MergingIterator::Valid ▒ 0,80% ceph-osd [.] rocksdb::RangeDelAggregator::StripeRep::ShouldDelete ▒ 0,77% ceph-osd [.] rocksdb::IteratorWrapperBase<rocksdb::Slice>::key ▒ 0,77% ceph-osd [.] rocksdb::MergingIterator::Next ▒ 0,74% ceph-osd [.] rocksdb::InternalKeyComparator::Compare ▒ 0,74% ceph-osd [.] rocksdb::BlockBasedTableIterator<rocksdb::DataBlockIter, rocksdb::Slice>::FindKeyForward ▒
_______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx