brendangregg | 1 year ago | on: No More Blue Fridays
brendangregg's comments
brendangregg | 1 year ago | on: No More Blue Fridays
brendangregg | 1 year ago | on: Capturing Linux SSL/TLS plaintext without a CA certificate using eBPF
Apart from the more exotic facilities, the critical facilities that would be hard to disable include LD_PRELOAD for interposers/shims (as you mentioned), and gdb for just setting breakpoints on crypto functions. And if neither of those existed, then I may have to edit openssl code and recompile my own edited version. And if that wasn't allowed (signed libraries) then maybe I'd edit the application code or binaries.
brendangregg | 1 year ago | on: Linux Crisis Tools
I've recommended atop in the past for catching short-lived processes because it uses process accounting, although the newer bpf tools provide more detail.
brendangregg | 1 year ago | on: Linux Crisis Tools
brendangregg | 1 year ago | on: The return of the frame pointers
You are backing away from your other positions, for example:
> I fail to understand the reasoning of it "being simple" or "microbenchmarkey". It's far from the truth I think.
Do you now agree that TPC-B is too simple and microbenchmarky? And if not, please tell me (as I'm working on the problem of industry benchmarking in general) what would it take to convince someone like you to stop elevating obsoleted benchmarks like TPC-B? Is there anything?
brendangregg | 1 year ago | on: The return of the frame pointers
I'm guessing that this discussion would be more productive if you would please say who you are and the company you work for. I'm Brendan Gregg, I work for Intel, and I'm well known in the performance space. Who are you?
brendangregg | 1 year ago | on: The return of the frame pointers
You also missed the word "Obsolete" splattered all over the website you sent me, and the text that TPC-B was "Obsolete as of 6/6/95".
brendangregg | 1 year ago | on: The return of the frame pointers
brendangregg | 1 year ago | on: The return of the frame pointers
The pgbench docs make it sound microbenchmark-y by describing making the same call over and over. If people find that this simulates actual production workloads, then yes, it can be considered a macro-benchmark.
brendangregg | 1 year ago | on: The return of the frame pointers
brendangregg | 1 year ago | on: The return of the frame pointers
While it might call itself a benchmark, it behaves very microbenchmark-y.
The other numbers I and others have shared have been from actual production workloads. Not a simple program that tests same sequence of commands over and over.
brendangregg | 1 year ago | on: The return of the frame pointers
brendangregg | 1 year ago | on: The return of the frame pointers
brendangregg | 1 year ago | on: The return of the frame pointers
brendangregg | 2 years ago | on: Ubuntu 24.04 LTS will enable frame pointers by default
Helping people find ~30-3000% perf wins, helping debugging and automated bug reports, is huge. For some sites it may be like 300 steps forward, one step back. But it's also not the end of the road here. Might we go back to frame pointer ommision one day by default if some other emerging stack walkers work well in the future for all use cases? It's a lot of ifs and many years away, and assumes a lot of engineering work continues to be invested for recoving a gain that's usually less than 1%, but anythings possible.
There's a couple of problems with an apt reinstall. One is that people often don't work on performance until the system is melting down -- many times I've been handed an issue where apt is dreadfully slow due to the system's performance issue and just installing a single package can take several minutes -- imagine reinstalling everything, it could turn the outage into over an hour! The other is I'd worry that reinstalling everything introduces so many changes (updating library versions) that the problem could change and you'd have no idea which package update changed it. If there was such an apt reinstall command, I know of large sites (with experience with frame pointer overheads) that would run it and then build their BaseAMI so that it was the default. Which is what Ubuntu is doing anyway.
brendangregg | 3 years ago | on: I bought a CO2 monitor and it broke me
I also have other air quality meters. (I collect measuring devices.) I wish there was a do-it-all air meter.
brendangregg | 3 years ago | on: iOS Ships Dvorak, Finally
brendangregg | 3 years ago | on: Is bin-opening in cockatoos leading to an innovation arms race with humans?
I then felt it best to post a video of the bird knocking so people didn't think I was crazy. They knock with their beak: tap tap tap. Gets annoying when they do it at 6am to wake you up.
Recently I have noticed cockatoos raiding the bins in Sydney, it's definitely a thing.
brendangregg | 3 years ago | on: Shouting in the Datacenter (2008) [video]
Just to use an analogy: Imagine people do their banking on JavaScript websites with Google Chrome, but if they use Microsoft Edge it says "JavaScript isn't supported, please download and run this .EXE". I'm not sure we'd be asking "if" Microsoft would support JavaScript (or eBPF), but "when."