Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2008 21:46:45 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet raw_ip.c
Message-ID:  <200808252146.m7PLksRG012922@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mav         2008-08-25 21:46:45 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netinet          raw_ip.c 
  Log:
  SVN rev 182177 on 2008-08-25 21:46:45Z by mav
  
  MFC r180828
  
  Add hash table lookup for a fully connected raw sockets.
  
  This gives significant performance improvements when many raw sockets used.
  Benchmarks of mpd handeling 1000 simultaneous PPTP connections show up to 50%
  performance boost. With higher number of connections benefit becomes even
  bigger. PopTop snd others should also get some benefits.
  
  MFC r180833, r180874
  
  According to in_pcb.h protocol binding information has double locking.
  It allows access it while list travercing holding only global pcbinfo lock.
  This relaxed locking noticably increses receive socket lookup performance.
  
  Revision   Changes    Path
  1.180.2.6  +93 -18    src/sys/netinet/raw_ip.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808252146.m7PLksRG012922>