Better HN
topnewbestaskshowjobs
Log inSign up

sys_call

62 karma · joined Aug 19, 2020 (6y ago) · 10 submissions

Submissions

1.

Ambient Music via Conway's Game of Life(moishelettvin.com ↗)

2 points · by sys_call · 4mo ago · discuss

2.

NUMA: Cores, memory, and the distance between them(edera.dev ↗)

140 points · by sys_call · 5mo ago · 33 comments

3.

Rendering OCI Images in Rust: Introducing Ocirender(edera.dev ↗)

5 points · by sys_call · 8mo ago · discuss

comment 1y ago · link · parent

We run unmodified containers in a VM guest environment, so you get the developer ergonomics of containers with the security and hardware controls of a VMM.

comment 1y ago · link · parent

Yes, precisely. This also provides container operators with the benefits of a hypervisor, like memory ballooning, and dynamically allocating CPU and memory to workloads, improving resource utilization and the current node overprovisioning patterns.

comment 1y ago · link · parent

A zone is jargon for a virtual machine guest environment (an homage to Solaris Zones). Styrolite and Edera runs containers inside virtual machine guests for improved isolation and resource management.

comment 1y ago · link · parent

gVisor runs a userspace kernel that proxies syscalls to a shared host kernel. Running an "application kernel" in userspace impacts performance because it goes through two schedulers. Virtual machine isolation is more restrictive because it doesn't share any kernel state with other containers. We have a whitepaper that compares the performance of gVisor and Stylorite/Edera if you want to see the differences http://arxiv.org/abs/2501.04580

comment 1y ago · link · parent

gVisor emulates a kernel in userspace, providing some isolation but still relying on a shared host kernel. The recent Nvidia GPU container toolkit vulnerability was able to privilege escalate and container escape to the host because of a shared inode.

Styrolite runs containers in a fully isolated virtual machine guest with its own, non-shared kernel, isolated from the host kernel. Styrolite doesn't run a userspace kernel that traps syscalls; it runs a type 1 hypervisor for better performance and security. You can read more in our whitepaper: http://arxiv.org/abs/2501.04580

comment 1y ago · link · parent

Non-root containers still operate under a shared kernel. Non-root containers that run under a vulnerable kernel can lead to privilege escalation and container escapes.

Styrolite is a container runtime engine that runs containers in a virtual machine guest environment with no shared kernel state. It uses a type 1 hypervisor to fully isolate a running container from the node and other containers. It's similar to Firecracker or Kata containers, but doesn't require bare metal instances (runs on standard EC2, etc) and utilizes paravirtualization.

comment 5y ago · link · parent

Also https://ebpf.io/