Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 03:53:14 +0400
From:      Artemiev Igor <ai@kliksys.ru>
To:        freebsd-current@freebsd.org
Subject:   netisr software flowid
Message-ID:  <20100926235313.GA4848@two.kliksys.ru>

next in thread | raw e-mail | index | archive | help

Hi.

What is the status for software flowid calculation? I found the old netisr2
patch[1] from Robert Watson and took from there code for setting flowid in
tcp_input with some changes[2]. It work for me very well (8.1-stable) - now the
server can handle not transit traffic without drops up to 118Kpps 60MB/s
incoming and up to 107Kpps 50MB/s outgoing, netisr dispatch packets via three
threads by round-robin:

 12 root     -44    -     0K   336K CPU2    2  18:43 56.15% {swi1: netisr 2}
 12 root     -44    -     0K   336K RUN     3  18:41 54.49% {swi1: netisr 3}
 12 root     -44    -     0K   336K CPU0    0  18:39 50.39% {swi1: netisr 0}
 12 root     -68    -     0K   336K WAIT    1   8:01 18.07% {irq256: bge0}

So, what the reason to exclude this code from final version?  

[1] http://www.watson.org/~robert/freebsd/netperf/20090523-netisr2.diff
[2] http://gate.kliksys.ru/~ai/software_flowid.diff 



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