Skip to content

TCP checksum computation: improve performance #31

@hannesm

Description

@hannesm

from #30

siege -c 1 -r 1000 on my laptop (and a retreat unikernel on the other side) results in:
mirage-tcpip (which doesn't validate any checksums): ~2000 req/s
current main (cea1509): ~1400 req/s
this head (d639adc): ~1500 req/s
utcp without checksum verficiation: ~2300 req/s

It may be worth to investigate using C or assembly (see e.g. https://blogs.igalia.com/dpino/2018/06/14/fast-checksum-computation/ and especially snabbco/snabb#899).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions