Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2004 19:38:38 -0400 
From:      Gerrit Nagelhout <gnagelhout@sandvine.com>
To:        'Robert Watson' <rwatson@freebsd.org>, freebsd-current@freebsd.org
Subject:   RE: 4.7 vs 5.2.1 SMP/UP bridging performance
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C85337021AB385@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help
Robert Watson wrote:

>> 
>> With previous platforms I have worked on (vxWorks), we had similar
>> issues, and ended up pushing buckets of packets through the 
>> data path,
>> so each mutex was only taken once for every 10-100 packets. 
>> 
>> Also, polling is currently done by only one CPU at a time.  
>> If this were
>> changed to have multiple threads poll multiple devices at 
>> the same time,
>> the performance should become much better. 
> 
> Getting polling and SMP to play nicely would be a very good thing, but
> isn't something I currently have the bandwidth to work on.  
> Don't suppose
> we could interest you in that? :-)
> 

I won't be able to work on that feature anytime soon, but if some
prototyping turns out to have good results, and the mutex cost issues
are worked out, it's quite likely that we'll try to implement it.  The
original author of the polling code (Luigi?) may have some input on
this as well.

Gerrit



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