Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualize Trace analytic #35

Open
tzach opened this issue Sep 1, 2014 · 7 comments
Open

Visualize Trace analytic #35

tzach opened this issue Sep 1, 2014 · 7 comments

Comments

@tzach
Copy link
Member

tzach commented Sep 1, 2014

Trace.py use the trace API to generate useful profiling information.
https://github.com/cloudius-systems/osv/wiki/Trace-analysis-using-trace.py

A visualization of the same information should be provided.
The following example data, should be presented as a horizontal bar chart, where each level can be dynamically extend/collapse.

$ trace prof
(100.00%, #31742) All
 |-- (79.68%, #25291) zfs_kmem_alloc
 |    |-- (16.95%, #5380) zio_create
 |    |    |-- (8.96%, #2844) dmu_buf_hold_array_by_dnode
 |    |    |    |-- (8.86%, #2811) zfs_get_data
 |    |    |    |    zil_lwb_commit
 |    |    |    |    zil_commit
 |    |    |    |    zfsvfs_teardown
 |    |    |    |    sys_umount2
 |    |    |    |   
 |    |    |    |-- (0.10%, #32) dmu_buf_hold_array
 |    |    |    |    space_map_sync
 |    |    |    |    metaslab_sync
 |    |    |    |    vdev_sync
 |    |    |    |    spa_sync
 |    |    |    |   
 |    |    |    \-- (0.00%, #1) space_map_load
 |    |    |         metaslab_activate
 |    |    |         metaslab_group_alloc
 |    |    |         zio_dva_allocate
 |    |    |         zio_execute
(...)
@tzach tzach changed the title Add Trace analytic to the GUI Visualize Trace analytic Sep 1, 2014
@tzach tzach added the UX label Sep 2, 2014
@tzach
Copy link
Member Author

tzach commented Sep 3, 2014

Example for a similar visualization from the Java domain, including time and percent of each function, as well as interactive tree widget
VisualVM capture

@dzautner
Copy link
Contributor

dzautner commented Sep 3, 2014

I tried to connect to OSv through VisualVM remotely to help myself a bit during the development but was unable to. Any chance you have some tips about it?

@penberg
Copy link
Contributor

penberg commented Sep 3, 2014

@dzautner
Copy link
Contributor

dzautner commented Sep 3, 2014

Thanks! forgot to add com.sun.management.jmxremote.authenticate=false, it's working now (:

@tzach tzach added the High prio label Sep 3, 2014
@dzautner
Copy link
Contributor

I think we should close this issue or at least remove the high priority tag considering the latest discussion about the feature?

@tzach
Copy link
Member Author

tzach commented Sep 15, 2014

@dzautner we still want this feature, we simply do not know how to do it yet

@dzautner
Copy link
Contributor

@tzach my mistake then, sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants