Article 6X51H Optimisation of parallel TCP input

Optimisation of parallel TCP input

by
from OpenBSD Journal on (#6X51H)

Alexander Bluhm (bluhm@) hascommittedchanges which eliminate contentionby caching the socket lock in TCP input:

CVSROOT:/cvsModule name:srcChanges by:bluhm@cvs.openbsd.org2025/05/07 08:10:19Modified files:sys/net : if.c if_var.h sys/netinet : tcp_input.c tcp_var.h Log message:Cache socket lock during TCP input.Parallel TCP input is running for a few days now and looks quitestable. Final step is to implement caching of the socket lock.Without large receive offloading (LRO) in the driver layer, it isvery likely that consecutive TCP segments are in the input queue.This leads to contention of the socket lock between TCP input andsocket receive syscall from userland.

Read more...

External Content
Source RSS or Atom Feed
Feed Location http://undeadly.org/cgi?action=rss
Feed Title OpenBSD Journal
Feed Link http://undeadly.org/
Reply 0 comments