9–11 Sept 2019
Europe/Lisbon timezone

Map batch processing

11 Sept 2019, 18:20
20m
Esmerelda/room-I&II (Corinthia Hotel Lisbon)

Esmerelda/room-I&II

Corinthia Hotel Lisbon

126

Speaker

Yonghong Song

Description

bcc community has long discussed that batch
dump, lookup and delete will help its typical
use case, periodically retrieving and deleting
all samples in the kernel. Without batch APIs,
bcc typically does
iterate through all keys (get_next_key API)
get (key, value) pairs
iterate through all keys to delete them

Also, Brian Vazquez
has proposed BPF_MAP_DUMP command to dump
more than one entry per syscall call.
https://www.spinics.net/lists/netdev/msg583538.html

This discussion will propose new bpf subcommands
for map batch processing, e.g., batching
get_next_key/lookup/update/delete/lookup_and_delete.
discuss its pros and cons etc.

Looks the subject has been discussed actively in the mailing list.
If the discussion reached its maturity, we may not need to discuss
in the conference.

I agree to abide by the anti-harassment policy Yes

Primary author

Presentation materials

Diamond Sponsor

Platinum Sponsors



Gold Sponsors


Silver Sponsors

Evening Event Sponsor

Lunch Sponsor

Catchbox Sponsor

T-Shirt Sponsor

Official Carrier

Location Sponsor