Skip to contentSkip to conversation

ixgbe unstable performance at 1Gb/s

DISCUSSION Charles 2 participants 5 messages Sep 24, 2012 – Sep 27, 2012

Subsystems (2)
lore
Share & tools
lore

Charles

author
#0 lore raw

Hi,

I hope I am posting on the right mailing-list. If not, sorry; please redirect me to the right place. Thanks.

I have a new motherboard with integrated Intel X540 10GBase-T. For now, I want to use it at 1Gb/s.

The bandwidth is only of ~300 Mbit/s (with Iperf). It's actually very unstable (always varies between 100 to 800 Mbit/s during the transfer).

If I do "ethtool -K eth1 ntuple on", things are a bit better but still very unstable bandwidth. If I add the kernel parameter "pci=nomsi", everything is fine (and normal, with the same performance, ~950 MBit/s, as a 1Gbit/s NIC).

I also run the set_irq_affinity.sh script, w/o noticing a difference.

The only weird thing I have found is with ethtoll -S eth1:

    tx_queue_0_packets: 304262
     tx_queue_1_packets: 0
     tx_queue_2_packets: 0
     tx_queue_3_packets: 1
     tx_queue_4_packets: 502939
     tx_queue_5_packets: 677967
     tx_queue_6_packets: 459869
     tx_queue_7_packets: 0
     tx_queue_8_packets: 0
     tx_queue_9_packets: 0
     tx_queue_10_packets: 632626
     tx_queue_11_packets: 1719870
     tx_queue_12_packets: 0
     tx_queue_13_packets: 449811
     tx_queue_14_packets: 0

.......

I am using ArchLinux with kernel 3.5.4. Please ask for more details.

Any help would be appreciated. Thanks

Charles

#1 lore raw
Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Charles
Sent: Monday, September 24, 2012 10:47 AM
To: [email protected]
Subject: ixgbe unstable performance at 1Gb/s

Hi,

I hope I am posting on the right mailing-list. If not, sorry; please redirect me
to the right place. Thanks.

Quoted 7 lines

I have a new motherboard with integrated Intel X540 10GBase-T. For now, I want
to use it at 1Gb/s.

The bandwidth is only of ~300 Mbit/s (with Iperf). It's actually very unstable
(always varies between 100 to 800 Mbit/s during the transfer).

Do you by any chance have CONFIG_IXGBE_PTP set in your kernel config?

If so, try disabling it and see if it fixes your performance.

Thanks,
Emil

#2 lore raw
Quoted 20 lines · Emil S
Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Charles
Sent: Monday, September 24, 2012 10:47 AM
To: [email protected]
Subject: ixgbe unstable performance at 1Gb/s

Hi,

I hope I am posting on the right mailing-list. If not, sorry; please redirect me
to the right place. Thanks.

Quoted 7 lines

I have a new motherboard with integrated Intel X540 10GBase-T. For now, I want
to use it at 1Gb/s.

The bandwidth is only of ~300 Mbit/s (with Iperf). It's actually very unstable
(always varies between 100 to 800 Mbit/s during the transfer).

Quoted 7 lines

Do you by any chance have CONFIG_IXGBE_PTP set in your kernel config?

If so, try disabling it and see if it fixes your performance.

Thanks,
Emil

Hi,

Thanks for your reply.

I compiled manually the ixgbe module with the default options of my distribution (Archlinux). I had the same problem.

I then changed the CONFIG_IXGBE_PTP to no (default is yes) as you suggested, and recompiled. The problem disappeared; normal transfer.

Could you please explain why this PTP is causing a problem? How can this be fixed without having to recompile the module (ethtool, /sys, bios... )? Thanks

Regards,

Charles

#3 lore raw
Quoted 43 lines

-----Original Message-----
From: Charles Vejnar [mailto:[email protected]]
Sent: Wednesday, September 26, 2012 11:33 AM
To: Tantilov, Emil S; [email protected]
Subject: Re: ixgbe unstable performance at 1Gb/s

Quoted 2 lines · Emil S
Quoted 2 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]

On

Quoted 5 lines
Quoted 5 lines

Behalf Of Charles
Sent: Monday, September 24, 2012 10:47 AM
To: [email protected]
Subject: ixgbe unstable performance at 1Gb/s

Quoted 7 lines
Quoted 7 lines

Hi,

I hope I am posting on the right mailing-list. If not, sorry; please redirect me
to the right place. Thanks.

I have a new motherboard with integrated Intel X540 10GBase-T. For now,

I

Quoted 6 lines
Quoted 6 lines

want
to use it at 1Gb/s.

The bandwidth is only of ~300 Mbit/s (with Iperf). It's actually very unstable
(always varies between 100 to 800 Mbit/s during the transfer).

Quoted 7 lines

Do you by any chance have CONFIG_IXGBE_PTP set in your kernel config?

If so, try disabling it and see if it fixes your performance.

Thanks,
Emil

Hi,

Thanks for your reply.

I compiled manually the ixgbe module with the default options of my distribution (Archlinux). I had the same problem.

Quoted 6 lines

I then changed the CONFIG_IXGBE_PTP to no (default is yes) as you suggested, and recompiled. The problem disappeared; normal transfer.

Could you please explain why this PTP is causing a problem? How can this be fixed without having to recompile the module (ethtool, /sys, bios... )? Thanks

This is actually a bug in the driver. We should have a patch out very soon to address it.

Quoted 4 lines

Regards,

Charles

Thanks,
Emil

#4 lore raw
Quoted 49 lines · Emil S
Quoted 43 lines

-----Original Message-----
From: Charles Vejnar [mailto:[email protected]]
Sent: Wednesday, September 26, 2012 11:33 AM
To: Tantilov, Emil S; [email protected]
Subject: Re: ixgbe unstable performance at 1Gb/s

Quoted 2 lines · Emil S
Quoted 2 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]

On

Quoted 5 lines
Quoted 5 lines

Behalf Of Charles
Sent: Monday, September 24, 2012 10:47 AM
To: [email protected]
Subject: ixgbe unstable performance at 1Gb/s

Quoted 7 lines
Quoted 7 lines

Hi,

I hope I am posting on the right mailing-list. If not, sorry; please redirect me
to the right place. Thanks.

I have a new motherboard with integrated Intel X540 10GBase-T. For now,

I

Quoted 6 lines
Quoted 6 lines

want
to use it at 1Gb/s.

The bandwidth is only of ~300 Mbit/s (with Iperf). It's actually very unstable
(always varies between 100 to 800 Mbit/s during the transfer).

Quoted 7 lines

Do you by any chance have CONFIG_IXGBE_PTP set in your kernel config?

If so, try disabling it and see if it fixes your performance.

Thanks,
Emil

Hi,

Thanks for your reply.

I compiled manually the ixgbe module with the default options of my distribution (Archlinux). I had the same problem.

Quoted 6 lines

I then changed the CONFIG_IXGBE_PTP to no (default is yes) as you suggested, and recompiled. The problem disappeared; normal transfer.

Could you please explain why this PTP is causing a problem? How can this be fixed without having to recompile the module (ethtool, /sys, bios... )? Thanks

Quoted 7 lines

This is actually a bug in the driver. We should have a patch out very soon to address it.

Quoted 3 lines

Regards,

Charles

Thanks,
Emil

Hi Emil,

Quoted 1 line

This is actually a bug in the driver. We should have a patch out very soon to address it.

OK. Please send a reply to this thread when it's available. I can test the patch.

Thanks

Charles