Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1307858
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 net-next 0/4] bpf: bpf_htab: Add BPF_MAP_TYPE_PERCPU_HASH |
| Date | 2016-01-12 22:50 +0100 |
| Message-ID | <qQeZe-6Mv-61@gated-at.bofh.it> (permalink) |
| References | <qQ2v0-6Gt-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Martin KaFai Lau <kafai@fb.com> Date: Tue, 12 Jan 2016 00:20:48 -0800 > BPF + kprobe is very useful in statistics collection. In particular, > bpf is strong in doing aggregation within the kernel instead of > outputting a lot of raw samples to the userspace. > > In some cases, bumping a counter/value of a particular key will have > noticeable impact. For example, doing statistics collection > on received packets and aggregating them by network > prefix (like /64 in IPv6). Having a percpu value can help. Please: http://marc.info/?l=linux-netdev&m=145248145925834&w=2 Thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 net-next 0/4] bpf: bpf_htab: Add BPF_MAP_TYPE_PERCPU_HASH Martin KaFai Lau <kafai@fb.com> - 2016-01-12 09:30 +0100 Re: [PATCH v2 net-next 0/4] bpf: bpf_htab: Add BPF_MAP_TYPE_PERCPU_HASH David Miller <davem@davemloft.net> - 2016-01-12 22:50 +0100
csiph-web