Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Kip Macy
On Mon, Jul 7, 2008 at 6:07 PM, Mike Tancsa [EMAIL PROTECTED] wrote: At 02:44 PM 7/7/2008, Paul wrote: Also my 82571 NIC supports multiple received queues and multiple transmit queues so why hasn't anyone written the driver to support this? It's not a 10gb card and it still supports it and

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Kip Macy
On Mon, Jul 7, 2008 at 6:22 PM, Paul [EMAIL PROTECTED] wrote: I read through the IGB driver, and it says 82575/6 only... which is the new chip Intel is releasing on the cards this month 2 port and october 4 port, but the chips are on some of the motherboards right now. Why can't it also use

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Robert Watson
On Mon, 7 Jul 2008, Artem Belevich wrote: As was already mentioned, we can't avoid all cache misses as there's data that's recently been updated in memory via DMA and therefor kicked out of cache. However, we may hide some of the latency penalty by prefetching 'interesting' data early.

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Stefan Lambrev
Hi, Kip Macy wrote: On Mon, Jul 7, 2008 at 6:07 PM, Mike Tancsa [EMAIL PROTECTED] wrote: At 02:44 PM 7/7/2008, Paul wrote: Also my 82571 NIC supports multiple received queues and multiple transmit queues so why hasn't anyone written the driver to support this? It's not a 10gb card

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Kip Macy
I have a pre-production card. With some bug fixes and some tuning of interrupt handling (custom stack - I've been asked to push the changes back in to CVS, I just don't have time right now) an otherwise unoptimized igb can forward 1.04Mpps from one port to another (1.04 Mpps in on igb0 and

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Paul
Will someone confirm if it will support the 82571EB ? I don't see a reason why not as it's very similar hardware and it's available now in large quantities so making 82571 part of igb I think would be a good idea. Kip Macy wrote: I have a pre-production card. With some bug fixes and some

Help: FreeBSD 6.3 - em driver taskqueue priority

2008-07-08 Thread Joe Kuan
Hi all, I have implemented an network application in kernel space and it is working fine. The application involves 3 network interfaces that FreeBSD 6.3 can forward mbuf between em0 and em1 in a rate 1.3 - 1.4 millions packets per second. Em2 is used for controlling the network

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Bruce Evans
On Mon, 7 Jul 2008, Erik Trulsson wrote: On Mon, Jul 07, 2008 at 10:30:53PM +1000, Bruce Evans wrote: On Mon, 7 Jul 2008, Andre Oppermann wrote: The theoretical maximum at 64byte frames is 1,488,100. I've looked up my notes the 1.244Mpps number can be ajusted to 1.488Mpps. Where is the

Re: Help: FreeBSD 6.3 - em driver taskqueue priority

2008-07-08 Thread Ivan Voras
Joe Kuan wrote: Hi all, I have implemented an network application in kernel space and it is working fine. The application involves 3 network interfaces that FreeBSD 6.3 can forward mbuf between em0 and em1 in a rate 1.3 - 1.4 millions packets per second. Em2 is used for controlling the

Re: Help: FreeBSD 6.3 - em driver taskqueue priority

2008-07-08 Thread Joe Kuan
On 8 Jul 2008, at 12:35, Ivan Voras wrote: Joe Kuan wrote: Hi all, I have implemented an network application in kernel space and it is working fine. The application involves 3 network interfaces that FreeBSD 6.3 can forward mbuf between em0 and em1 in a rate 1.3 - 1.4 millions packets

Re: smbmount / smbclient : strangely varying transfer speeds

2008-07-08 Thread Achim
On Tuesday 08 July 2008 03:32:40 Peter Jeremy wrote: On 2008-Jul-07 16:15:40 +, Achim [EMAIL PROTECTED] wrote: Performance with a single client is degraded when the client is smbmount and downloading. With a second transfer in any direction, performance becomes better, to about 3.5

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Stefan Lambrev
Hi, Kip Macy wrote: On Mon, Jul 7, 2008 at 6:22 PM, Paul [EMAIL PROTECTED] wrote: I read through the IGB driver, and it says 82575/6 only... which is the new chip Intel is releasing on the cards this month 2 port and october 4 port, but the chips are on some of the motherboards right now.

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Artem Belevich
On 7/8/08, Robert Watson [EMAIL PROTECTED] wrote: There were some patches floating around for if_em to do a prefetch of the first bit of packet data on packets before handing them up the stack. My I found Andre Oppermann's optimization patch mentioned in july 2005 status report:

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Paul
But this is probably no routing table, and single source and dst ips or very limited number of ips and ports. the entire problem with Linux is the route cache, try and generate random source ips and random source/dst ports and it won't even do 100kpps without problems. I would like to log into

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Kip Macy
On Tue, Jul 8, 2008 at 1:46 PM, Brian McGinty [EMAIL PROTECTED] wrote: I have a pre-production card. With some bug fixes and some tuning of interrupt handling (custom stack - I've been asked to push the changes back in to CVS, I just don't have time right now) an otherwise unoptimized igb can

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-08 Thread Brian McGinty
I have a pre-production card. With some bug fixes and some tuning of interrupt handling (custom stack - I've been asked to push the changes back in to CVS, I just don't have time right now) an otherwise unoptimized igb can forward 1.04Mpps from one port to another (1.04 Mpps in on igb0 and