|
Re: Headers Parsing with fields of variable length
Could you elaborate more on this ? Unfortunately, I cannot find the comments you gave me yesterday. (i think I chose a private reply)
Could you elaborate more on this ? Unfortunately, I cannot find the comments you gave me yesterday. (i think I chose a private reply)
|
By
mdimolianis@...
·
#1789
·
|
|
Performance with sockhash in istio/k8s
Cilium has an idea to accelerate packet forward performance using sockops & sockhash when using istio service mesh, the code is here. But this function is heavily coupling with cilium codebase so I
Cilium has an idea to accelerate packet forward performance using sockops & sockhash when using istio service mesh, the code is here. But this function is heavily coupling with cilium codebase so I
|
By
Forrest Chen
·
#1788
·
|
|
Re: Build error on current Amazon Linux 2
What is your llvm version? What is your cmake output? Looks like llvm
libraries are not really linked?
What is your llvm version? What is your cmake output? Looks like llvm
libraries are not really linked?
|
By
Yonghong Song
·
#1787
·
|
|
Build error on current Amazon Linux 2
Before I started to make a small change to bcc, I thought that I ought to verify that 'master' would actually build -- I'm running on Amazon Linux 2 AMI (HVM), SSD Volume Type - ami-0b69ea66ff7391e80.
Before I started to make a small change to bcc, I thought that I ought to verify that 'master' would actually build -- I'm running on Amazon Linux 2 AMI (HVM), SSD Volume Type - ami-0b69ea66ff7391e80.
|
By
pjsg-iovisor@...
·
#1786
·
|
|
Re: [agenda] IO Visor TSC/Dev Meeting
No agenda means tomorrow conf call is cancelled.
And that would be few months in a row.
I think we should stop doing this email roll call as well.
The conf call was useful for long time, but not any
No agenda means tomorrow conf call is cancelled.
And that would be few months in a row.
I think we should stop doing this email roll call as well.
The conf call was useful for long time, but not any
|
By
Alexei Starovoitov
·
#1785
·
|
|
[agenda] IO Visor TSC/Dev Meeting
Hi, All,
Brenden is on vacation this week. So I am sending out the notice. Does
anybody have any agenda to discuss on our pre-schedule 30min meeting
on Sept 4, 11:00am - 11:30am? If you do, please
Hi, All,
Brenden is on vacation this week. So I am sending out the notice. Does
anybody have any agenda to discuss on our pre-schedule 30min meeting
on Sept 4, 11:00am - 11:30am? If you do, please
|
By
Yonghong Song
·
#1784
·
|
|
Re: CPU Concurrency Issues
<arnaldo.melo@...> wrote:
You did not miss anything. Currently, there are no counters to count those
drops due to nmi or due to bpf program already running on that cpu.
There is effort by
<arnaldo.melo@...> wrote:
You did not miss anything. Currently, there are no counters to count those
drops due to nmi or due to bpf program already running on that cpu.
There is effort by
|
By
Yonghong Song
·
#1783
·
|
|
Re: CPU Concurrency Issues
Thanks Matt and Yonghong. Info on the preempt_disable()/preempt_enable() region is exactly what I was looking for.
Thanks Matt and Yonghong. Info on the preempt_disable()/preempt_enable() region is exactly what I was looking for.
|
By
brad.lewis@...
·
#1782
·
|
|
Re: CPU Concurrency Issues
Thanks for the pointer to the code!
--matt
Thanks for the pointer to the code!
--matt
|
By
Matt Ahrens
·
#1781
·
|
|
Re: CPU Concurrency Issues
Yes. See
https://github.com/torvalds/linux/blob/master/kernel/trace/bpf_trace.c#L88-L97
Yes. See
https://github.com/torvalds/linux/blob/master/kernel/trace/bpf_trace.c#L88-L97
|
By
Yonghong Song
·
#1780
·
|
|
Re: CPU Concurrency Issues
Great, thanks Yonghong! And I get that this is part of the infrastructure that calls into the bpf code (e.g. perf_events), not bcc.
> Also we have per cpu counter to prevent when bpf program
Great, thanks Yonghong! And I get that this is part of the infrastructure that calls into the bpf code (e.g. perf_events), not bcc.
> Also we have per cpu counter to prevent when bpf program
|
By
Matt Ahrens
·
#1779
·
|
|
Re: CPU Concurrency Issues
bpf program run is wrapped in preempt_disable()/preempt_enable()
region. Also we have per cpu counter to prevent when bpf program
interrupted then another bpf to run for tracing programs.
bpf program run is wrapped in preempt_disable()/preempt_enable()
region. Also we have per cpu counter to prevent when bpf program
interrupted then another bpf to run for tracing programs.
|
By
Yonghong Song
·
#1778
·
|
|
Re: CPU Concurrency Issues
When running bpf code from a kprobe / kretprobe, does anything ensure that cpu_id doesn't change while the bpf is running (e.g. due to preemption)? Does anything ensure that no other bpf code runs on
When running bpf code from a kprobe / kretprobe, does anything ensure that cpu_id doesn't change while the bpf is running (e.g. due to preemption)? Does anything ensure that no other bpf code runs on
|
By
Matt Ahrens
·
#1777
·
|
|
agenda: IO Visor TSC/Dev Meeting
Hi All,
We have the bi-weekly phone conference scheduled for two days from now, does
anybody have a discussion topic to add to the agenda? As a reminder, we are
planning to hold the meeting only if
Hi All,
We have the bi-weekly phone conference scheduled for two days from now, does
anybody have a discussion topic to add to the agenda? As a reminder, we are
planning to hold the meeting only if
|
By
Brenden Blanco
·
#1776
·
|
|
Re: CPU Concurrency Issues
preemption is a kernel thing, bcc does not disable it. You need to
check kernel configuration CONFIG_PREEMPT in your host.
preemption is a kernel thing, bcc does not disable it. You need to
check kernel configuration CONFIG_PREEMPT in your host.
|
By
Yonghong Song
·
#1775
·
|
|
CPU Concurrency Issues
Hi all,
I'm trying to verify that there are no concurrency issues with an approach I'm using cpu_id as a key to a HASH_MAP. My understanding is that bcc disables preemption but the details are
Hi all,
I'm trying to verify that there are no concurrency issues with an approach I'm using cpu_id as a key to a HASH_MAP. My understanding is that bcc disables preemption but the details are
|
By
brad.lewis@...
·
#1774
·
|
|
Re: agenda: IO Visor TSC/Dev Meeting
Hi All,
Since we haven't received any agenda suggestions for the meeting
today, please consider it canceled.
Thanks,
Brenden
Hi All,
Since we haven't received any agenda suggestions for the meeting
today, please consider it canceled.
Thanks,
Brenden
|
By
Brenden Blanco
·
#1773
·
|
|
Does bpf_redirect_map support redirect packet to bridge device or veth which master is a bridge?
Hi all,
I attach an XDP prog(SKB mode) to host net device(enp0s9) and the prog will redirect packet to veth device.
If there's only veth device, I can redirect packet into netns through veth device in
Hi all,
I attach an XDP prog(SKB mode) to host net device(enp0s9) and the prog will redirect packet to veth device.
If there's only veth device, I can redirect packet into netns through veth device in
|
By
Forrest Chen
·
#1772
·
Edited
|
|
Re: agenda: IO Visor TSC/Dev Meeting
Hello Song!
I'm using sys_enter_execve/sys_exit_execve and
sys_enter_execveat/sys_exit_execveat.
Bound loops seem really useful! This is going to solve many of the
issues I had.
I don't have code I
Hello Song!
I'm using sys_enter_execve/sys_exit_execve and
sys_enter_execveat/sys_exit_execveat.
Bound loops seem really useful! This is going to solve many of the
issues I had.
I don't have code I
|
By
alessandro.gario@...
·
#1771
·
|
|
Re: agenda: IO Visor TSC/Dev Meeting
Which tracepoint do you have in mind for your particular use case?
The recent kernel (5.3) added bounded loop support up to 1M
instructions. You can have a bounded loop like
start = ...
for (i
Which tracepoint do you have in mind for your particular use case?
The recent kernel (5.3) added bounded loop support up to 1M
instructions. You can have a bounded loop like
start = ...
for (i
|
By
Yonghong Song
·
#1770
·
|