[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MirageOS-devel] copying packets


  • To: mirageos-devel <mirageos-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Hannes Mehnert <hannes@xxxxxxxxxxx>
  • Date: Sun, 1 Nov 2015 11:12:05 +0000
  • Delivery-date: Sun, 01 Nov 2015 11:12:53 +0000
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
  • Openpgp: id=11B5464249B5BD858FFF6328BC896588DF7C28EE

Hi (sorry if you already saw this),

recently Luke Gorrie explained whether packet copies are expensive or
not -- https://github.com/SnabbCo/snabbswitch/issues/648 -- on modern
CPUs.  Even if the packet is not page aligned, it seems to be fair
enough to not have to think about copies of packets, and just do it ;)

(Downside for mirage is certainly that there's still no inline assembly
in OCaml, thus we've to call out to a C function which seems to be
slightly expensive.)


hannes

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.