README, perf_report: Markdown and CSS fixes

Updating md2html on the server needs a few adjustments.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-10-22 14:52:47 +02:00
parent 94c7c1dbcf
commit a77c5ef93a
2 changed files with 30 additions and 28 deletions

View file

@ -183,13 +183,14 @@ traffic outside the namespace using native Layer-4 sockets.
Existing approaches typically implement a full, generic TCP/IP stack for this Existing approaches typically implement a full, generic TCP/IP stack for this
translation between data and transport layers, without the possibility of translation between data and transport layers, without the possibility of
speeding up local connections, and usually requiring NAT. _pasta_: speeding up local connections, and usually requiring NAT. _pasta_:
* avoids the need for a generic, full-fledged TCP/IP stack by coordinating TCP * avoids the need for a generic, full-fledged TCP/IP stack by coordinating TCP
connection dynamics between sender and receiver connection dynamics between sender and receiver
* offers a fast bypass path for local connections: if a process connects to * offers a fast bypass path for local connections: if a process connects to
another process on the same host across namespaces, data is directly forwarded another process on the same host across namespaces, data is directly forwarded
using pairs of Layer-4 sockets using pairs of Layer-4 sockets
* with default options, maps routing and addressing information to the * with default options, maps routing and addressing information to the
namespace, avoiding any need for NAT namespace, avoiding any need for NAT
## Non-functional Targets ## Non-functional Targets
@ -331,12 +332,12 @@ Test logs [here](/builds/latest/test/).
cd passt cd passt
make make
* alternatively, static builds for x86_64, with or without AVX2 instructions, * alternatively, static builds for x86_64, with or without AVX2 instructions,
as of the latest commit are also available for convenience as of the latest commit are also available for convenience
[here](/builds/latest/x86_64/avx2/) and [here](/builds/latest/x86_64/avx2/) and
[here](/builds/latest/x86_64/). Convenience, non-official [here](/builds/latest/x86_64/). Convenience, non-official
packages for Debian (and derivatives) and RPM-based distributions are also packages for Debian (and derivatives) and RPM-based distributions are also
available there. These binaries and packages are simply built with: available there. These binaries and packages are simply built with:
CFLAGS="-static" make avx2 CFLAGS="-static" make avx2
make pkgs make pkgs
@ -356,13 +357,13 @@ Test logs [here](/builds/latest/test/).
* from the same network namespace, start qemu. At the moment, qemu doesn't * from the same network namespace, start qemu. At the moment, qemu doesn't
support UNIX domain sockets for the `socket` back-end. Two alternatives: support UNIX domain sockets for the `socket` back-end. Two alternatives:
* use the _qrap_ wrapper, which maps a tap socket descriptor to _passt_'s * use the _qrap_ wrapper, which maps a tap socket descriptor to _passt_'s
UNIX domain socket, for example: UNIX domain socket, for example:
ip netns exec passt ./qrap 5 qemu-system-x86_64 ... -net socket,fd=5 -net nic,model=virtio ... ip netns exec passt ./qrap 5 qemu-system-x86_64 ... -net socket,fd=5 -net nic,model=virtio ...
* or patch qemu with [this patch](/passt/tree/qemu/0001-net-Allow-also-UNIX-domain-sockets-to-be-used-as-net.patch) * or patch qemu with [this patch](/passt/tree/qemu/0001-net-Allow-also-UNIX-domain-sockets-to-be-used-as-net.patch)
and start it like this: and start it like this:
qemu-system-x86_64 ... -net socket,connect=/tmp/passt.socket -net nic,model=virtio qemu-system-x86_64 ... -net socket,connect=/tmp/passt.socket -net nic,model=virtio
@ -394,12 +395,12 @@ Test logs [here](/builds/latest/test/).
cd passt cd passt
make make
* alternatively, static builds for x86_64, with or without AVX2 instructions, * alternatively, static builds for x86_64, with or without AVX2 instructions,
as of the latest commit are also available for convenience as of the latest commit are also available for convenience
[here](/builds/latest/x86_64/avx2/) and [here](/builds/latest/x86_64/avx2/) and
[here](/builds/latest/x86_64/). Convenience, non-official [here](/builds/latest/x86_64/). Convenience, non-official
packages for Debian (and derivatives) and RPM-based distributions are also packages for Debian (and derivatives) and RPM-based distributions are also
available there. These binaries and packages are simply built with: available there. These binaries and packages are simply built with:
CFLAGS="-static" make avx2 CFLAGS="-static" make avx2
make pkgs make pkgs
@ -420,7 +421,7 @@ Test logs [here](/builds/latest/test/).
dhclient dhclient
and, optionally: and, optionally:
dhclient -6 dhclient -6

View file

@ -21,10 +21,10 @@ Throughput in Gbps, latency in µs. Threads are <span style="font-family: monosp
Click on numbers to show test execution. Measured at head, commit <span style="font-family: monospace;">__commit__</span>. Click on numbers to show test execution. Measured at head, commit <span style="font-family: monospace;">__commit__</span>.
<style type="text/CSS"> <style type="text/CSS">
table td { border: 0px solid; padding: 10px; } table.passt td { border: 0px solid; padding: 6px; line-height: 1; }
table td { text-align: right; } table.passt td { text-align: right; }
table th { text-align: center; font-weight: bold; } table.passt th { text-align: center; font-weight: bold; }
table tr:not(:first-of-type) td:not(:first-of-type) { font-family: monospace; font-weight: bolder; } table.passt tr:not(:first-of-type) td:not(:first-of-type) { font-family: monospace; font-weight: bolder; }
table.passt tr:nth-child(3n+0) { background-color: #112315; } table.passt tr:nth-child(3n+0) { background-color: #112315; }
table.passt tr:not(:nth-child(3n+0)) td { background-color: #101010; } table.passt tr:not(:nth-child(3n+0)) td { background-color: #101010; }
table.passt td:nth-child(6n+7) { background-color: #603302; } table.passt td:nth-child(6n+7) { background-color: #603302; }
@ -49,9 +49,10 @@ td:empty { visibility: hidden; }
</table> </table>
<style type="text/CSS"> <style type="text/CSS">
table td { border: 0px solid; padding: 10px; } table.pasta td { border: 0px solid; padding: 6px; line-height: 1; }
table td { text-align: right; } table.pasta td { text-align: right; }
table th { text-align: center; font-weight: bold; } table.pasta th { text-align: center; font-weight: bold; }
table.pasta tr:not(:first-of-type) td:not(:first-of-type) { font-family: monospace; font-weight: bolder; }
table.pasta tr:nth-child(3n+0) { background-color: #112315; } table.pasta tr:nth-child(3n+0) { background-color: #112315; }
table.pasta tr:not(:nth-child(3n+0)) td { background-color: #101010; } table.pasta tr:not(:nth-child(3n+0)) td { background-color: #101010; }
table.pasta td:nth-child(4n+5) { background-color: #603302; } table.pasta td:nth-child(4n+5) { background-color: #603302; }