Opened 7 months ago

Last modified 7 months ago

#2264 new enhancement

Reduce blockage in EventPumper

Reported by: zab Owned by:
Priority: minor Milestone: undecided
Component: router/transport Version: 0.9.34
Keywords: ntcp nio Cc:
Parent Tickets:

Description

EventPumper is frequently blocked on the LinkedHashSet monitors in the Reader and Writer. See attached YourKit screenshot.

I will be updating this ticket as I experiment with various approaches to reducing that blockage.

Subtickets (add)

Attachments (1)

EventPumperMonitor.png (294.2 KB) - added by zab 7 months ago.
Blockage analysis as reported by Yourkit

Download all attachments as: .zip

Change History (2)

Changed 7 months ago by zab

Blockage analysis as reported by Yourkit

comment:1 Changed 7 months ago by zab

I put together the following patch http://zerobin.i2p/?df7ef6e17462b77b#aTAPsgSnHopedS7gVA3LoIcBk9phRL+qlKzVo4kb9Do= (it also includes #2247)

It introduces two threads called "transit" between EventPumper and the NTCP Reader and Writer threads.

Note: See TracTickets for help on using tickets.