Skip to content

Commit

Permalink
Update platform diagram to replace ptrace with systrap.
Browse files Browse the repository at this point in the history
Also include reference to Systrap in the Platform Portability blog post.

Fixes #10386

PiperOrigin-RevId: 632639005
  • Loading branch information
EtiennePerot authored and gvisor-bot committed May 11, 2024
1 parent f84a013 commit 4b80904
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 54 deletions.
Binary file modified g3doc/architecture_guide/platforms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
109 changes: 56 additions & 53 deletions g3doc/architecture_guide/platforms.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion website/blog/2020-10-22-platform-portability.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ requires expensive bare-metal machines or cloud instances to run safely with
good performance, increasing cost and complexity for Cloud users. gVisor,
however, takes a more flexible approach.

**NOTE 2024-05**: This post describes the ptrace and KVM platforms, which were
the only two gVisor platforms at the time it was written. The
[Systrap platform](/blog/2023/04/28/systrap-release/) was added since and
provides better performance than ptrace.

One of the pillars of gVisor's architecture is portability, allowing it to run
anywhere that runs Linux. Modern Cloud-Native applications run in containers in
many different places, from bare metal to virtual machines, and can't always
rely on nested virtualization. It is important for gVisor to be able to support
the environments where you run containers.

gVisor achieves portability through an abstraction called a _Platform_.
gVisor achieves portability through an abstraction called a *Platform*.
Platforms can have many implementations, and each implementation can cover
different environments, making use of available software or hardware features.

Expand Down

0 comments on commit 4b80904

Please sign in to comment.