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

stackcollapse-perf.pl should be more memory-efficient #282

Open
JasonGross opened this issue Apr 20, 2022 · 3 comments
Open

stackcollapse-perf.pl should be more memory-efficient #282

JasonGross opened this issue Apr 20, 2022 · 3 comments

Comments

@JasonGross
Copy link

JasonGross commented Apr 20, 2022

I'm concerned stackcollapse-perf.pl is going to blow through my available RAM; is there any way for it to be more streaming?

image

My perf.data file is almost 9GB, the output of perf script is 158GB, so maybe the answer is just that I have to use smaller runs. But it would be nice to be able to get a flamegraph out of this.

Edit: It was mem-killed a couple minutes after making this issue.

@randomstuff
Copy link

You can probably sample from your perf script output by only selecting 1/100000 data points and you should be fine.

@randomstuff
Copy link

Actually, stackcollapse-perf would have to be modified to implement a non-collapsing/streaming mode in order to do that.

@randomstuff
Copy link

See #286

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

2 participants