Re: radosgw high cpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 30, 2018 at 5:36 PM Will Zhao <zhao6305@xxxxxxxxx> wrote:
>
> Hi:
>     I was trying to figure out how to imporve rgw performance , and I
> found std::locale comsuming a lot of cpu . Is this normal ? which part
> of rgw is using this?

Will, probably you could lower the log level and try again? i guess
that it's our logging subsystem who is creating/destroying
std::locale. also, what version of Ceph are you testing?

>
> 18.99%  libstdc++.so.6.0.19   [.] std::use_facet<std::ctype<char> >
>
>   18.59%  [kernel]              [k] native_queued_spin_lock_slowpath
>
>    8.32%  libstdc++.so.6.0.19   [.] std::locale::locale
>
>    5.72%  libstdc++.so.6.0.19   [.] std::locale::~locale
>
>    2.49%  libstdc++.so.6.0.19   [.] std::num_put<char,
> std::ostreambuf_iterator<char, std::char_traits<char> >
> >::_M_insert_int<long>
>
>    2.36%  libstdc++.so.6.0.19   [.] std::has_facet<std::num_put<char,
> std::ostreambuf_iterator<char, std::char_traits<char> > > >
>
>    2.22%  libstdc++.so.6.0.19   [.] std::use_facet<std::num_put<char,
> std::ostreambuf_iterator<char, std::char_traits<char> > > >
>
>    2.00%  libstdc++.so.6.0.19   [.] std::has_facet<std::num_get<char,
> std::istreambuf_iterator<char, std::char_traits<char> > > >
>
>    1.79%  libstdc++.so.6.0.19   [.] std::use_facet<std::num_get<char,
> std::istreambuf_iterator<char, std::char_traits<char> > > >
>
>    1.47%  libstdc++.so.6.0.19   [.] std::num_put<char,
> std::ostreambuf_iterator<char, std::char_traits<char> >
> >::_M_insert_int<unsigned long>



-- 
Regards
Kefu Chai



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux