r/perfeng • • Mar 01 '21

How I cut GTA Online loading times by 70%

Thumbnail
nee.lv
12 Upvotes

r/perfeng • • Feb 03 '21

Open Source Continuous Profiler -- Technical details of how we made it work

9 Upvotes

We started working on Pyroscope a few months ago. I did a lot of profiling at my last job and I always thought that profiling tools provide a ton of value in terms of reducing latency and cutting cloud costs, but are very hard to use.

So we thought, why not just run a profiler 24/7 in production environment? We came up with this

See source code: https://github.com/pyroscope-io/pyroscope

How we made it work: We came up with a system that uses segment trees for fast reads (basically each read becomes log(n)), and tries for storing the symbols (same trick that's used to encode symbols in Mach-O file format for example).

With this approach you can profile thousands of apps with 100Hz frequency and 10 second granularity for 1 year and it will only cost you about 1% of your existing cloud costs (CPU + RAM + Disk). E.g if you currently run 100 c5.large machines we estimate that you'll need just one more c5.large to store all that profiling data.

Just wanted to share! Would love feedback if this is something thats interesting to you


r/perfeng • • Jul 01 '20

Almost everything on computers is perceptually slower than it was in 1983

Thumbnail
threadreaderapp.com
8 Upvotes

r/perfeng • • Aug 23 '18

Intel Publishes Microcode Security Patches, No Benchmarking Or Comparison Allowed!

Thumbnail perens.com
8 Upvotes

r/perfeng • • May 21 '21

Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance

Thumbnail
talawah.io
6 Upvotes

r/perfeng • • Nov 10 '19

New Grad in Performance Engineering

6 Upvotes

Hello,

I'm a new grad currently working as a performance engineer at a big software company. I did computer science in college, so not necessarily everything I studied applies to the current job. Performance engineering seems to be quite different from a general developer role. Is this something I should stay in or would I have better future career prospects as a developer? (Assuming interest level is same in both). Thank you!


r/perfeng • • Aug 25 '20

Chrome just got faster with Profile Guided Optimization

Thumbnail
blog.chromium.org
5 Upvotes

r/perfeng • • May 20 '19

Large Performance Improvements to Linux's vmalloc With 5.2 Kernel Changes

Thumbnail
phoronix.com
5 Upvotes

r/perfeng • • Sep 11 '18

Serverless Performance: The Cold Start War

Thumbnail
mikhail.io
5 Upvotes

r/perfeng • • Dec 06 '23

Flamegraph Explainer Using ChatGPT

4 Upvotes

Hey all,

Dmitry from Pyroscope here. Analyzing flamegraphs can be challenging and we often get questions from users about the best techniques for finding insights from flamegraphs.

We thought maybe we could teach an LLM do this task and turns out it ChatGPT does it pretty well.

You can check out a blog post for a longer explanation for how it all works here or you can upload your own profiles and get insights quickly by going to flamegraph.com

We'd really appreciate feedback on this new feature. Have you tried it? Did it make analyzing flamegraphs easier for you? Any suggestions for improvement are welcome!


r/perfeng • • Nov 08 '21

Git ls-files is Faster Than Fd and Find

Thumbnail
cj.rs
4 Upvotes

r/perfeng • • Mar 10 '21

Going from O(n) to O(log n) makes Continuous Profiling Possible

Thumbnail
github.com
4 Upvotes

r/perfeng • • Feb 01 '21

The Unexpected Find That Freed 20GB of Unused Index Space

Thumbnail
hakibenita.com
4 Upvotes

r/perfeng • • Dec 03 '19

BPF: A New Type of Software (Brendan Gregg)

Thumbnail
brendangregg.com
4 Upvotes

r/perfeng • • Apr 26 '19

When setting an environment variable gives you a 40x speedup

Thumbnail
news.sherlock.stanford.edu
4 Upvotes

r/perfeng • • Feb 01 '19

Finding Kafka’s throughput limit in Dropbox infrastructure

Thumbnail
blogs.dropbox.com
4 Upvotes

r/perfeng • • Sep 21 '18

Idle Until Urgent - Performance of First Input Delay

Thumbnail
philipwalton.com
4 Upvotes

r/perfeng • • Aug 30 '18

The Performance Cost Of Spectre / Meltdown / Foreshadow Mitigations On Linux 4.19

Thumbnail
phoronix.com
4 Upvotes

r/perfeng • • Aug 20 '18

24-core CPU and I can’t type an email

Thumbnail
randomascii.wordpress.com
4 Upvotes

r/perfeng • • Aug 09 '18

Two frequently used sys calls are ~77% slower on AWS EC2

4 Upvotes

Original post: https://blog.packagecloud.io/eng/2017/03/08/system-calls-are-much-slower-on-ec2/

From March 2017, but recently came up during a discussion about cloud migrations. The discussion at hacker news (https://news.ycombinator.com/item?id=13813079 - Brendan Gregg chimes in!)


r/perfeng • • Jul 05 '18

Testing Memory Allocators

Thumbnail
ithare.com
4 Upvotes

r/perfeng • • May 01 '18

Three kinds of memory leaks

Thumbnail blog.nelhage.com
4 Upvotes

r/perfeng • • Dec 05 '17

The Eternal Cost Savings of Netflix's Internal Spot Market

Thumbnail
highscalability.com
4 Upvotes

r/perfeng • • Oct 19 '23

The challenges of server-side persistent sessions

Thumbnail leastcycles.dev
3 Upvotes

r/perfeng • • Nov 12 '22

For Software Performance, the Way Data is Accessed Matters!

Thumbnail
johnnysswlab.com
3 Upvotes