Opened 18 months ago
Last modified 18 months ago
#2264 new enhancement
Reduce blockage in EventPumper
Reported by: | Zlatin Balevsky | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | undecided |
Component: | router/transport | Version: | 0.9.34 |
Keywords: | ntcp nio | Cc: | |
Parent Tickets: | Sensitive: | no |
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
Attachments (1)
Change History (2)
Changed 18 months ago by
Attachment: | EventPumperMonitor.png added |
---|
comment:1 Changed 18 months ago by
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.
Blockage analysis as reported by Yourkit