>>> Issue #1: VPP crashes when scales to multiple worker cores/threads.
[...]
>>> We guess VPP buffer metadata has been corrupted in the case of multiple
>>> worker threads using VPP release version

>> BG: do you reproduce the issue on both x86 and ARM? Or only on ARM? I’m
>> especially thinking about difference in memory coherency that could bite
>> us here…

> [Honnappa]  On Arm, the barriers for working with MMIO are different than
> the ones used for normal shared memory. Currently, in VPP, this
> distinction does not exist (please correct me if I am wrong).

Yes, I was thinking about something along that line. Currently we use 
CLIB_MEMORY_STORE_BARRIER() defined as __builtin_ia32_sfence() on x86 and 
__sync_synchronize() on ARM.
__sync_synchronize() should be a full memory barrier but is it enough for MMIO 
on ARM?

Best
ben
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22148): https://lists.fd.io/g/vpp-dev/message/22148
Mute This Topic: https://lists.fd.io/mt/94862787/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to