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

Unable to find any documentation on where to change number of circular buffers. #110

Open
cfeied opened this issue Oct 9, 2017 · 2 comments

Comments

@cfeied
Copy link

cfeied commented Oct 9, 2017

Changing etwcirc.bat doesn't change the xperf command line that's shown in the UIforETW window, and there's nothing in Settings to do this. Where do I increase the kCircBuffer count?

@randomascii
Copy link
Contributor

There is currently no way of changing the number of circular buffers or their size. Instead the C++ code uses various heuristics to select reasonable values. This keeps the UI simple.

Options to adjust the size of the buffers (perhaps small, medium, and large, with medium being the default) could be useful.

Or, for one-off investigations you can just change the code and build your own version of UIforETW.

@janis-veinbergs
Copy link

janis-veinbergs commented Apr 2, 2020

This definitely needs to be customizable. On systems with 512MB of ram and very high activity, it gives me 300MB buffer that gives me... just a few seconds of data.

But I'm glad I'v found this in README as the very first item in Most important tasks:

Implement more settings - configure trace directories, buffer sizes, option for stacks on user events.

Thanks for your blog posts, main source for learning profiling :)

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

No branches or pull requests

3 participants