[RFE] Add option(s) to enable profiling of agents
Bug #1502301 reported by
Ramu Ramamurthy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Wishlist
|
Ramu Ramamurthy |
Bug Description
For motivation see this bug, where this "rfe" was requested.
https:/
By running the neutron-agents under a profiler like cprofile, we can obtain valuable insights into the performance of the agent-code, and identify areas for improvement (see bug above for concrete example)
This bug seeks to add a config option in the agent config file like:
profiled_mode = false
by default the above is false, but when set to true, it starts the agent under cprofile, and dumps the profiled output to a file.
tags: | added: rfe |
Changed in neutron: | |
assignee: | nobody → Ramu Ramamurthy (ramu-ramamurthy) |
To post a comment you must log in.
I don't think cProfile behaves correctly with eventlet.