Natalya Tatarchuk 🇺🇦 retweeted
Let's say you commit a change that makes an application 0.05% slower. No big deal, right?
Well, at the scale of Meta, it is a big deal--a small slowdown for a large application can waste thousands of servers. It's such a big deal that Meta needs a way to catch these performance y figure out if an application is even a hundredth of a percent slower.
The big problem with catching tiny performance regressions is that, well, they're tiny. It's easy for them to be lost in the noise. Any simple approach is going to return 99% false positives because most slowdowns are caused by transitory hardware issues, not actual code changes.
Meta's solution to this problem has three high-level steps:
1. Look for performance regressions not in entire applications, but in individual subroutines. Applications have thousands of subroutines, so a small performance regression for an entire app is likely a large one for the affected subroutine. This way, you're looking for ~5% regressions, not ~0.05% regressions, which makes filtering out noise easier.
2. To make tracing at the coroutine level practical, do stack-trace sampling. Regularly collect stack traces of applications and use them to figure out in which subroutines applications spend their time. This is like conventional performance profiling, but done at massive scale.
3. When a regression is detected, do a root cause analysis to figure out if it's caused by transient issues or code changes. If it's caused by code changes, by analyzing the stack traces of the performance regression and comparing them to recent commits, it should be possible to automatically identify which changes caused the regression!
What's the big takeaway? Performance really matters at scale, and small performance issues add up. The paper claims that this system saves millions of servers a year by detecting tiny performance regressions, which is a staggering number. If your code is used by billions of people, keep it optimized!
Well, at the scale of Meta, it is a big deal--a small slowdown for a large application can waste thousands of servers. It's such a big deal that Meta needs a way to catch these performance y figure out if an application is even a hundredth of a percent slower.
The big problem with catching tiny performance regressions is that, well, they're tiny. It's easy for them to be lost in the noise. Any simple approach is going to return 99% false positives because most slowdowns are caused by transitory hardware issues, not actual code changes.
Meta's solution to this problem has three high-level steps:
1. Look for performance regressions not in entire applications, but in individual subroutines. Applications have thousands of subroutines, so a small performance regression for an entire app is likely a large one for the affected subroutine. This way, you're looking for ~5% regressions, not ~0.05% regressions, which makes filtering out noise easier.
2. To make tracing at the coroutine level practical, do stack-trace sampling. Regularly collect stack traces of applications and use them to figure out in which subroutines applications spend their time. This is like conventional performance profiling, but done at massive scale.
3. When a regression is detected, do a root cause analysis to figure out if it's caused by transient issues or code changes. If it's caused by code changes, by analyzing the stack traces of the performance regression and comparing them to recent commits, it should be possible to automatically identify which changes caused the regression!
What's the big takeaway? Performance really matters at scale, and small performance issues add up. The paper claims that this system saves millions of servers a year by detecting tiny performance regressions, which is a staggering number. If your code is used by billions of people, keep it optimized!
9
100
710
64,463
Natalya Tatarchuk 🇺🇦 retweeted
THANK YOU to our entire community around the world for making #BlackOps6's launch the biggest Call of Duty opening weekend to date.
Black Ops is back!
Black Ops is back!
Thank you #CallOfDuty community for making the launch of #BlackOps6 one for the record books… setting new day one and opening weekend records 🎉
652
451
7,516
692,609
Natalya Tatarchuk 🇺🇦 retweeted
Border Collie dogs sort black and white ducks
x.com/visualfeastwan…
x.com/visualfeastwan…
165
428
3,835
379,937
Natalya Tatarchuk 🇺🇦 retweeted
Replace your GIFs. They hit different #BlackOps6 giphy.com/callofduty/the…
91
113
1,218
135,562
Natalya Tatarchuk 🇺🇦 retweeted
Top 6 things going on right now:
1️⃣ #BlackOps6 is LIVE
2️⃣ #BlackOps6 is LIVE
3️⃣ #BlackOps6 is LIVE
4️⃣ #BlackOps6 is LIVE
5️⃣ #BlackOps6 is LIVE
6️⃣ #BlackOps6 is LIVE
1️⃣ #BlackOps6 is LIVE
2️⃣ #BlackOps6 is LIVE
3️⃣ #BlackOps6 is LIVE
4️⃣ #BlackOps6 is LIVE
5️⃣ #BlackOps6 is LIVE
6️⃣ #BlackOps6 is LIVE
2,243
804
6,328
1,329,661
Real-time audio in games these days has an incredible amount of complexity, whether it's about advanced spatial reverb accounting for physics of the materials, or live mixing to prioritize crucial sounds - learn more here about our approach in @CallofDuty
callofduty.com/blog/2024/10/c…
callofduty.com/blog/2024/10/c…
2
16
80
7,416
Cheat dev economy is complex and sprawling, and teams like our TeamRicochet are fighting this relentless fight to make the game safer and more enjoyable to play for our players and all.
Here's their Progress Report 👊
callofduty.com/blog/2024/10/c…
Here's their Progress Report 👊
callofduty.com/blog/2024/10/c…
1
1
6
2,326
This team has always been incredible at accomplishing poignant and beautiful experiences, harnessing real-time tech to the utmost. It was an honor to help them along the way. Well done, Ves and team! <3
Finally done!… with the first part… of our real-time Unity demo, Time Ghost: youtu.be/o1JIK5W3DRU
2
5
52
6,697
The Neural Light Grid: A Scalable Production-Ready Learned Irradiance Volume is an excellent write up on this topic, check it out! research.activision.com/publications/2…
0
43
186
12,292
Natalya Tatarchuk 🇺🇦 retweeted
All keynotes and talks at EGSR 2024 are now available on the YouTube channel: youtube.com/@egsr2024
0
21
65
12,988
Michael Vance's presentation on the @CallofDuty Open-Sourcing a USD data set from Call of Duty: Warzone Caldera Map) from @siggraph 2024 #rtradvances is now posted - enjoy!
advances.realtimerendering.com/s2024/index.ht…
See our blog for more: blog.activision.com/activision/202…
advances.realtimerendering.com/s2024/index.ht…
See our blog for more: blog.activision.com/activision/202…
1
17
89
10,765
This year I did a more in-depth talk on trend from gaming, including players' perspectives trends, technology and platforms in the #rtradvances @siggraph 2024 intro - the talk is now online advances.realtimerendering.com/s2024/index.ht… Enjoy!
0
18
78
8,571
The talk from Michał Iwanicki from @Activision Central Tech on Neural Light Grid: Modernizing Irradiance Volumes with Machine Learning is online - check out its insights as well as learnings on ML in rendering at runtime #rtradvances @siggraph 2024
tinyurl.com/advances24-nlg
tinyurl.com/advances24-nlg
0
46
174
21,947
Natalya Tatarchuk 🇺🇦 retweeted
My SIGGRAPH 2024 slides (with speaker notes) are now available in ARM's website.
Moving Mobile Graphics: Transitioning HypeHype to Physically Based Rendering
community.arm.com/arm-community-…
Moving Mobile Graphics: Transitioning HypeHype to Physically Based Rendering
community.arm.com/arm-community-…
2
71
369
21,949
If you attended #rtradvances at @siggraph 2024 in person, would love to know your thoughts - send in: forms.gle/9QkRoeZG9eEXkG…
In particular, next year it'll be 20 years since Advances started. Would love to hear your thoughts on what you'd like to see (if SIGGRAPH invites us!)
In particular, next year it'll be 20 years since Advances started. Would love to hear your thoughts on what you'd like to see (if SIGGRAPH invites us!)
0
4
29
6,765
#rtradvances from @siggraph 2024: talk by Simon Taylor from @EA @FrostbiteEngine on "Flexible and Extensible Shader Authoring in Frostbite with Serac" slides are shared:
advances.realtimerendering.com/s2024/index.ht…
Enjoy!
advances.realtimerendering.com/s2024/index.ht…
Enjoy!
0
35
112
10,286
If you are watching the presentations in #rtradvances @siggraph 2024 right now, you can discuss the talks and ask questions to the speaker in our Advances Discord server: discord.gg/Ns2K8arfHA
0
3
12
3,568
We are so excited to be sharing this milestone with the industry at large hoping to spur innovation and learning from real-world production datasets! Michael Vance just shared more details about this massive dataset at @siggraph #rtradvances
The release of a new open-source data set, features the map Caldera from Call of Duty: Warzone for non-commercial use. This data set release contains near-complete geometry of Caldera and in-game character pathing. Read more 👇
bit.ly/3yhV8Ax
2
32
209
21,781
Natalya Tatarchuk 🇺🇦 retweeted
Wow! 🤩 New production USD dataset “Caldera” from @Activision revealed at #rtradvances #SIGGRAPH2024. Four square miles! @mirror2mask
0
4
28
4,525
#rtradvances @siggraph part II session began with @Activision ‘s Michael Vance announcing a release of the @CallofDuty Caldera OpenUSD dataset for academic and non-commercial use
0
9
64
4,981
























