On Mon, 23 Feb 2015, Sage Weil wrote: > I got Brendan's flamegraphs to work without any changes on the rex fedora > dev nodes. See > > http://ceph.com/sage/foo.svg cd ~/src git clone https://github.com/brendangregg/FlameGraph.git cd ~/src/ceph/src ./vstart -d -n -x -l ./rados -p rbd bench 30 write -b 123 & sudo perf record -g ^C sudo perf script | ~/src/FlameGraph/stackcollapse-perf.pl | ~/src/FlameGraph/flamegraph.pl > /tmp/foo.svg ...and view in firefox. sage > > > This is about 10 seconds of a rados bench on a vstart cluster, so nothing > fancy. It's a pretty easy way to visualize where the time is spent, > though. > > A few things I noticed: > > - lots of time in DBObjectMap::set_keys (2%). a surprising amount (>1%) > in setxattr (kernel), too. Hopefully NewStore can do better here. > > - the ReplicatedPG::do_request view is interesting, too.. not > surprisingly a fair bit of time spent with the PG logs. > > - 1% spend on writing pg info and log (PG::write_if_dirty). most of that > in encode > > sage > > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html