HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Ubuntu Slaughters Kittens | BSD Now 103

Jupiter Broadcasting4 HN recommenders · recommended in 4 months, 2015-2024
YouTube
39K views · 11 years ago · interview · evergreen

A BSD Now episode featuring a long interview with Joyent CTO Bryan Cantrill on dtrace, ZFS, pkgsrc, containers and more. It includes his rant on why Linux epoll is flawed and stories from Sun.

HN links it for Cantrill's entertaining epoll versus kqueue rant and his stories, such as bricking a machine with rm -rf.

Operating systems & kernelsLinux & open-source ecosystemsTech pioneers & interviews#bryancantrill#epoll#kqueue#zfs#dtrace

12 comments from Hacker News

@eduction2024 · in “Way too many ways to wait on a child process with a timeout”

He mentions Bryan Cantrill in there and I can’t resist posting his famous epoll/kqueue rant: ▶ this video I know this is related but maybe someone smarter than me can explain how closely it relates (or doesn’t) to this issue which seems more general (iirc Cantrill was talking about fs events not child processes generally)

CitesView on HN
@eqvinox2021 · in “The Demikernel Datapath OS Architecture”

Well, not a question. POSIX and Linux are not the same. There is no epoll in POSIX, it's a Linux addition. The BSDs have kqueue which according to some people is actually better [cf. ▶ this video ]. But kqueue isn't POSIX either. Only poll() and select() are...

CitesView on HN
@protomyth2018 · in “Maintaining 65k open connections in a single Ruby process”

link While a best effort has been made to mimic the Linux semantics, there are some semantics that are too peculiar or ill-conceived to merit accommodation. In particular, the Linux epoll facility will -- by design -- continue to generate events for closed file descriptors where/when the underlying file description remains open. For example, if one were to fork(2) and subsequently close an actively epoll'd file descriptor in the parent, any events generated in the child on the implicitly duplicated file descriptor will continue to be delivered to the parent -- despite the fact that the parent itself no longer has any notion of the file description! This epoll facility refuses to honor these semantics; closing the EPOLL_CTL_ADD'd file descriptor will always result in no further events being generated for that event description. Brian Cantrill on epoll ▶ this video

CitesView on HN
@beefhash2018 · in “Talks I have given”

I also found the somewhat more casual BSDnow podcasts that featured Mr. Cantrill quite insightful[1,2,3]. He shows up around 15 or 30 minutes in. [1] ▶ this video [2] link [3] link

RecommendsView on HN
@Annatar2018 · in “LinuxBoot: Linux as Firmware”

▶ this video - watch it to the end. How long "people have been doing it" has nothing to do with the quality, it's a fallacy. They can't code if they can't even get the basics like polling or startup / shutdown correctly.

CitesView on HN
@gizmo2017 · in “Epoll is fundamentally broken”

The linked interview with Bryan Cantrill gives a good explanation of why it's broken: a straightforward implementation behaves in a way you never want, with bizarre behavior where the kernel can wake up a thread with an accept() on a fd that has already been closed. linux should just have adopted kqueue or an IOCP model instead. ▶ this video

CitesView on HN
@Gracana2016 · in ““Node.js is one of the worst things to happen to the software industry” (2012)”

This sounds like something straight out of the Unix Hater's Handbook. :) But epoll is not the fault of Unix. Linux gets it wrong, but others do not. There's a good (and wildly entertaining) discussion/rant about it in this BSD Now episode: ▶ this video

RecommendsView on HN
@bcantrill2016 · in “Microsoft and Canonical partner to bring Ubuntu to Windows 10”

Exciting stuff! This is (very?) similar what with LX branded zones in SmartOS[1][2] -- and, as I've said before[3] -- we want as many other systems as possible take this approach. That said, we also know how long a haul this is, and how detail-intensive it is. So I've got a bunch of questions. ;) First, is the source available? Second, how much of the One Hundred Language Quine Relay[4] runs successfully? (For us, running that sucker to completion was an important early milestone.) Assuming that runs, my next questions are all common apps/programs that we knew to be especially thorny for one reason or another: Go, strace, tcpdump, systemd, etc. Anyway, it's great to see the SmartOS approach so broadly validated by Microsoft -- and hope that they both finish the job and open source it all! [1] link [2] link [3] ▶ this video [4] link

CitesView on HN
@protomyth2016 · in “Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” bricking UEFI”

For the few use cases where a system admin wants to "rm -rf /", there are hundreds of bad scripts that can screw up a system. I believe Solaris did the right thing and made it not work. ▶ this video

CitesView on HN
@myztic2016 · in “No POST after rm -rf /”

Reminds me of Cantrill, more so his story when they completely bricked a machine of a fellow worker once and then took a close look at the standard[1]. # rm -rf / Among other things, it will delete the current directory. In the standard it does not say what to delete first, In their implementation it will try to remove the current directory first -> undefined behaviour -> it fails. The logic behind it: When is it really your goal to delete your entire machine, mostly never, you don't type it out by accident, but shell scripts with unset variables might do it. And regarding Poettering's response[2] (not trying to start a fight): It's Poettering, what do you expect? You can hate or love systemd, but part of why people hate it is his intellectual arrogance in everything he does. [1] He tells the story somewhere in here ▶ this video (quite entertaining) [2] link

CitesView on HN
@myztic2015 · in “Run containers on bare metal already [video]”

Amusing Interview with Bryan Cantrill (regarding his background and he also shares some stories) ▶ this video Also very informative (about what happened at Sun in the 90s, dtrace, ...) Quite a funny and smart guy ;)

RecommendsView on HN
@protomyth2015 · in “Things you can do with ZFS [video]”

Probably not, since that would have allowed someone to add GPL-only code to it which couldn't be distributed with the whole. The video is very good and you can follow-up with ▶ this video

RecommendsView on HN
The Cantrill Strikes Back | BSD Now 1172:13:32

The Cantrill Strikes Back | BSD Now 117

Jupiter Broadcasting
9K views • 10 years ago
Benno Rice: The Tragedy of systemd -- BSDCan 201832:30

Benno Rice: The Tragedy of systemd -- BSDCan 2018

BSDCan
25K views • 8 years ago
A Narrative History of BSD, Dr. Kirk McKusick53:55

A Narrative History of BSD, Dr. Kirk McKusick

bsdconferences
30K views • 17 years ago
Bryan Cantrill on Jails and Solaris Zones1:45:47

Bryan Cantrill on Jails and Solaris Zones

PapersWeLove
34K views • 10 years ago
Leaping the chasm from proprietary to open: A survivor's guide43:28

Leaping the chasm from proprietary to open: A survivor's guide

Bryan Cantrill
14K views • 11 years ago
The Tragedy of systemd47:18

The Tragedy of systemd

linux.conf.au
1.3M views • 7 years ago
LISA11 - Fork Yeah! The Rise and Development of illumos1:04:04

LISA11 - Fork Yeah! The Rise and Development of illumos

USENIX
310K views • 14 years ago
Run containers on bare metal already!41:12

Run containers on bare metal already!

Bryan Cantrill
40K views • 11 years ago
Kirk McKusick - A Narrative History of BSD47:51

Kirk McKusick - A Narrative History of BSD

iX
17K views • 11 years ago
Linus Torvalds - Nvidia F*** You! #Shorts [V237]0:47

Linus Torvalds - Nvidia F*** You! #Shorts [V237]

Linux en Casa
59K views • 5 years ago
Aalto Talk with Linus Torvalds [Full-length]1:03:56

Aalto Talk with Linus Torvalds [Full-length]

aaltouniversityace
2M views • 14 years ago
Stanford Seminar - The Soul of a New Machine: Rethinking the Computer1:26:02

Stanford Seminar - The Soul of a New Machine: Rethinking the Computer

Stanford Online
76K views • 6 years ago
Linus Torvalds: Nvidia, Fuck You!0:41

Linus Torvalds: Nvidia, Fuck You!

SiliconNews
1.9M views • 14 years ago
Terry Davis' TempleOS Brutal Take Down of Linus Torvalds28:52

Terry Davis' TempleOS Brutal Take Down of Linus Torvalds

Terry Davis Old Archive
1.2M views • 9 years ago
Zebras All the Way Down - Bryan Cantrill, Uptime 201746:37

Zebras All the Way Down - Bryan Cantrill, Uptime 2017

Code & Supply
49K views • 9 years ago
The Mind Behind Windows: Dave Cutler3:10:28

The Mind Behind Windows: Dave Cutler

Dave's Garage
1M views • 3 years ago
Surge 2015 - Lightning Talks1:19:43

Surge 2015 - Lightning Talks

OmniTI
12K views • 10 years ago
Corporate Open Source Anti-patterns43:04

Corporate Open Source Anti-patterns

Bryan Cantrill
24K views • 12 years ago
27c3 - Desktop on the Linux... (and BSD, of course) - Wolfgang Draxinger (+ Lennart Poettering)55:44

27c3 - Desktop on the Linux... (and BSD, of course) - Wolfgang Draxinger (+ Lennart Poettering)

SirPumpkin
39K views • 15 years ago
EFI and Linux: the future is here, and it's awful - Matthew Garrett53:11

EFI and Linux: the future is here, and it's awful - Matthew Garrett

Linux.conf.au 2012 -- Ballarat, Australia
77K views • 14 years ago