Better HN
topnewbestaskshowjobs
Log inSign up

_wmd

6,131 karma · joined Feb 7, 2013 (13y ago) · 809 submissions

Submissions

comment 7y ago · link · parent

The joy with bpftrace (and dtrace before it) for me is this ease with which 'synthetic' profiling events can be constructed from multiple underlying events. This can be used to, for example, only record the latency of malloc() while at least one TCP connection has been accepted and some particular function in your binary has already run at least once with its third parameter having a particular value

The offwake.bt example from the article is the closest to that, but it doesn't hook any userspace functions (like malloc). That's totally possible and extremely easy -- events can be mixed from wherever in the same script and, barring some knowledge like the fact the script is running on every CPU simultaneously, things just magically work

The main problem with bpftrace is that it's a pain in the ass to compile from source just now. A tool as useful as this really wants to be available on every machine by default

comment 7y ago · link · parent

I think the keyword here is transparency -- later designs (even stuff like MPI) explicitly expose the topology of the available hardware. SMP is the closest thing we've ever got to true transparency, and then only for 80% of cases, and for those only because the compute nodes have very similar locality and e.g. memory bandwidth

Even SMP requires careful control if you want to get anything close to the actual performance of the underlying hardware, and the topology is once again very explicit

comment 7y ago · link · parent

Transparently gluing boxes together over a low bandwidth fabric died as an active research area right around the time Plan9 was seeing its first development. By the late 80s shared bus SMP had demonstrated its practicality and quickly became the predominant architecture. Today we don't spawn processes on remote CPUs because the whole act of scheduling on multiple CPUs is entirely transparent to us, that's a competing architecture to the predecessor found in Plan 9

MOSIX is the only system from that era that I know is still around. It had a fork by the name of OpenMosix for some time, but according to Wikipedia ( https://en.wikipedia.org/wiki/MOSIX#openMosix ): "On July 15, 2007, Bar decided to end the openMosix project effective March 1, 2008, claiming that "the increasing power and availability of low cost multi-core processors is rapidly making single-system image (SSI) clustering less of a factor in computing"

(I admire the downvote, but please realize this is not a question of one's opinion!)

comment 7y ago · link · parent

If you can't answer this question for yourself, why do you think you'd be capable of modifying the factory default? Memory management is one of the most complex pieces of a modern OS

comment 7y ago · link · parent

The BBC article mentions many died on the stairs to the roof. Sounds like a locked door could have been involved

comment 7y ago · link · parent

After the smear campaign and mass roasting he received less than 2 months ago, it's not hard to understand why any charitable intentions he had may have completely dried up

comment 7y ago · link · parent

Python 2.1 or 2.2, sure

8.

The EU Galileo GNSS has been down for 3 days(gsc-europa.eu ↗)

7 points · by _wmd · 7y ago · discuss

comment 7y ago · link · parent

So in response to a catastrophic failure due to testing in prod, they're going to push out a brand new regex engine with an ETA of 2 weeks. Can anyone say testing in prod?

The constant use of 'I' and 'me' (19 occurrences in total) deeply tarnishes this report, and repeatedly singling out a responsible engineer, nameless or not, is a failure in its own right. This was a collective failure, any individual identity is totally irrelevant. We're not looking for an account of your superman-like heroism, sprinting from meeting rooms or otherwise, we want to know whether anything has been learned in the 2 years since Cloudflare leaked heap all across the Internet without noticing, and the answer to that seems fantastically clear.

comment 7y ago · link · parent

hey! Do you know if anyone is working on getting bpftrace to use BTF yet? Looks like one of the final chunks landed in Linux 5.2

comment 7y ago · link · parent

I'd imagine for a client, most of the value of this bank is access to what I can only imagine to be the most fantastically exotic network it sits at the centre of

comment 7y ago · link · parent

There is quite a lot of surface area between a program and the kernel - C library, dynamic linker, system call interface, memory layout, droves of permission and sanity checking logic etc. that would need to be updated too. A 64 bit kernel is a first step

comment 7y ago · link · parent

Pretty unfortunate design flaw, and hopefully it can be corrected, but this post is horribly finger-pointy and the tone generally stinks. Would hate to make a mistake while working around this guy

Can the link be changed to the apparent source article? It's not as bad. https://www.scorpia.co.uk/2019/06/28/pi4-not-working-with-so...

comment 7y ago · link · parent

DynamoDB's free tier is incredibly generous. Did you exceed it?

comment 7y ago · link · parent

You'd think after leaking private data for literally months less than 3 years ago (and only noticing because Google had to point it out to them) that they'd, y'know, have at least some kind of QA environment fed with sample traffic by now. Really hard to believe they're still getting caught testing in prod

comment 7y ago · link · parent

You can move 1.6TB between providers in a month for the same price as a single beefy DB server (m4.16xlarge here). That's a whole lot of logical replication..

comment 7y ago · link · parent

Centralizing more of the Internet to help people align their excuses is probably the worst reasoning I've ever read

comment 7y ago · link · parent

It's in SPF format, but it's also everything. See e.g. https://cloud.google.com/appengine/kb/

Another method is using GeoIP's ASN database, but they also run many ASNs so it would require a little effort to ensure you have them all

comment 7y ago · link · parent

Note the GCP equivalent requires some permanently running crapware inside your VM, the OpenSSH hook EC2 are using is much simpler

comment 7y ago · link · parent

https://www.usenix.org/system/files/conference/fast16/fast16...

Basic stats are recorded for the children of each tree node, and this is where the power-of-2 property comes from

comment 7y ago · link · parent

It's certainly a name you can't forget easily, but there's nothing dumb about it. It's intended to be a highly survivable system, that's where the name came from -- in popular culture cockroaches are supposed to be able to survive a nuclear attack. It's a great connotation

comment 7y ago · link · parent

While I think your conclusion is a little strong, it is fair to say they're trying their hardest to legitimize by becoming entangled into almost every possible piece of infrastructure around.

As far as giant databases in the sky are concerned, in my book Cloudflare joined the same category as Google a long time ago. I don't like them because they've become another data-aggregating SPOF anyone with sense should actively avoid depending on

comment 7y ago · link · parent

You almost make it sound like Chrome weren't written in C++, or that the typical Chrome install weren't hosted on a few 10s of millions of lines of C/C++
12345
27