Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2007 20:11:39 +0400
From:      Vladimir Ivanov <wawa@yandex-team.ru>
To:        Ed Maste <emaste@phaedrus.sandvine.ca>
Cc:        freebsd-net@freebsd.org, Cristian KLEIN <cristi@net.utcluj.ro>, lists@codeangels.com
Subject:   Re: FreeBSD as a gigabit router
Message-ID:  <470CF9BB.5090704@yandex-team.ru>
In-Reply-To: <20071010145453.GA54106@sandvine.com>
References:  <4703F9C3.2060601@net.utcluj.ro>	<4532.192.168.2.137.1191451931.squirrel@www.codeangels.com>	<470535D6.7020601@net.utcluj.ro>	<0D18E826-52EA-4BEC-9404-1C98BFCDD418@staff.openaccess.org> <20071010145453.GA54106@sandvine.com>

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

[-- Attachment #1 --]
Ed Maste wrote:
> On Thu, Oct 04, 2007 at 12:02:56PM -0700, Michael DeMan wrote:
>
>   
>> Also, we've noticed at least on FBSD 6.x that there seem to be very  
>> few advantages in using polling on network interfaces.  We still run  
>> it, so that we have responsive SSH/BGP/OSPF processes on the  
>> machines, but my testing has shown that for sheer throughput, there  
>> is basically no difference.  I'd be curious if anybody knows the  
>> scoop on this.
>> The polling mechanism includes a feedback mechanism that attempts to
>> keep a certain amount of CPU time available for userland.  It works
>> well at keeping the system usable under high load, but it doesn't
>> perform so well if you want to dedicate most of the CPU time to polling
>> in order to get near the maximum throughput.
>>
>>     
JFYI: We've used another trick. Yandex's driver allows to alter RX' 
threads priority.  Also, it disables interrupts if driver busy (and 
works like a polling).  This combination seems to be very stable under 
heavy load.
Also, I seem it more intuitive for tuning.
> I have some prototype code that addresses this, and the the throughput
> with the new polling algorithm beat the non-polling kernel perf. by a
> small margin.  This won't make it into RELENG_7, but I plan to bring
> it to HEAD at some point.
>
> -Ed
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>   

WBR,

-- 
Vladimir Ivanov
Network Operations Center
OOO "Yandex"
t: +7 495 739-7000
f: +7 495 739-7070
@: noc@yandex.net (corporate)
  wawa@yandex-team.ru (personal)
www: www.yandex.ru
-- 


[-- Attachment #2 --]
0	*H
010	+0	*H
'00I
rJN0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
070704151345Z
080703151345Z0E10UThawte Freemail Member1"0 	*H
	wawa@yandex-team.ru0"0
	*H
0
ۨZ~M[d#{ȲeP|z?)!S}hamN0lؾߏJ{B6%rM4lqC%Qdi4uòI
ߥ2'Bj{
]λh~/DhG pXCBRIܕ}φAԝ=TΪ\7oƏ7f/wo?pXB{MC˥|m&ug<
YY00.0U0wawa@yandex-team.ru0U00
	*H
Vbop兵1U{ph5PϹ(;fr`&Blo
.Vْ3z>䜺:'1<ۥusxK\(oe0,43tU#-$0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1Q0M0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
rJN0	+0	*H
	1	*H
0	*H
	1
071010161139Z0#	*H
	1"5ARu1B$-0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0
	*H
ƹZ
O/VFA	?_Ar	ܻlsPx
e՚$T@RE4ʽʠEkT{P|E:[9`vjW@$,(=/X^İ1Ggfk:ey"d-I>z{5P?9cjG*2[
e	<}ZD'ܹy`gdǘфZncj.{dsj

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