Ticket #37 (new defect)

Opened 15 years ago

Last modified 14 years ago

ZOID does not work with buffers in flat memory

Reported by: iskra Owned by: kazutomo
Priority: major Milestone: V1R4 Release
Component: ZeptoOS Version:
Keywords: Cc:

Description

If flat memory is used (buffers_flat.c), ZOID becomes very unreliable. In particular, IP forwarding seems to be completely broken, but I/O forwarding is not exactly reliable, either (rawiobench experiments with 64 clients were unsuccessful).

Debugging of IP forwarding problem indicates that data is correctly written into the zoid buffer by the IP forwarding thread, but the worker thread writing that data to the tree sees zeros in the same memory locations! We do pthread_mutex_lock/unlock, which should do memory barrier, so we should be OK.

Change History

comment:1 Changed 14 years ago by kazutomo

  • Owner changed from zepto team to kazutomo
  • Milestone set to 1 V1R4 Release
Note: See TracTickets for help on using tickets.