Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Intel I218-LM LAN card speed slow
2014-12-26, 03:53 (This post was last modified: 2015-02-04 08:28 by Richard_Compal.)
Post: #1
Intel I218-LM LAN card speed slow
Dear All,
we found Intel I218-LM LAN card intird speed very slowly, only about 2MB/s,
LAN chip PIC ID is 8086 155A
iPXE version: iPXE.efi(d38b)
file size:250MB
cost time:100s~120s
average: 2MB/s

but use Realtek PCIe GBE LAN card NB boot to iPXE, load same file only need about five seconds.
i also checked iPXE source, and can not find 8086 155A in intel.c, who can help me solve this issue? or tell us how to modify it. Many thanks for your great support.

update: the same unit(8086 155A) boot to iPXE with Legacy model, the speed is normal.

Sorry for my english very poor. ^_^!
Find all posts by this user
Quote this message in a reply
2014-12-26, 11:56
Post: #2
RE: Intel I218-LM LAN card speed slow
It's not clear if you're using the native iPXE driver or SNP/NII driver. If you're using the SNP driver then this is most likely an issue with your firmware-provided NIC driver.
If the PCI id is not present in intel.c, you could try to add a PCI_ROM() line for the I218LM and see how it works. If it is able to achieve linkup and transfer data we can add it. It might linkup at the wrong speed, which is a known problem with some chipsets using the intel driver. We're working on a fix. Have patience.
Visit this user's website Find all posts by this user
Quote this message in a reply
2014-12-29, 01:46
Post: #3
RE: Intel I218-LM LAN card speed slow
Dear Robin,
oh, i only git the source code from iPXE, and build ipxe.efi with command: make bin-x86_64-efi/ipxe.efi EMBED=myscript.ipxe, i don't know i use which driver. (In fact, we used iPXE with Legacy loong time, but we didn't know it deeply. -_-! )

I add PCI_ROM ( 0x8086, 0x155a, "i218lm", "I218-LM", 0 ) into intel.c, and rebuild ipxe.efi, but it seems like no improvement, current we cannot make sure this is a BIOS issue or Intel driver issue as you said, because the same NB boot to Legacy model with iPXE, the speed normal. Do you have any idea about it? or tell me how to do for using the native iPXE driver or SNP/NII driver?

By the way, we test so much LAN chipset, they all no speed issue, except Intel I218(VEN_8086&DEV_155A) and I217(VEN_8086&DEV_153A&SUBSYS_05BD1028) have speed slowly issue.
Find all posts by this user
Quote this message in a reply
2014-12-29, 09:52
Post: #4
RE: Intel I218-LM LAN card speed slow
Dear Robin,
I also found another thread http://forum.ipxe.org/showthread.php?tid=7553, my issue like this, but i not only find I218-LM (rev 04) speed slowly, but also I217(VEN_8086&DEV_153A&SUBSYS_05BD1028)

--richard
Find all posts by this user
Quote this message in a reply
2014-12-30, 08:12
Post: #5
RE: Intel I218-LM LAN card speed slow
Dear Robin,
I try rebuild snponly.efi, and use Intel I218 LAN card boot to UEFI, boot fail, then i add PCI_ROM ( 0x8086, 0x155a, "i218lm", "I218-LM", 0 ) into intel.c, and rebuild snponly.efi again, it can boot to iPXE, but initrd file speed slowly, the phenomenon same as ipxe.efi.
Find all posts by this user
Quote this message in a reply
2015-01-03, 16:07
Post: #6
RE: Intel I218-LM LAN card speed slow
If you're using snponly.efi or snp.efi, you're not using the native iPXE-based intel driver, but the one provided by your UEFI environment. To be certain that you're using the iPXE intel driver you should compile intel.efi (with the added PCI_ROM line) and see if that one works at all. If it works, but only links up at 10Mbps then that last part is a known issue with some Intel NICs with the current intel.c driver.
Visit this user's website Find all posts by this user
Quote this message in a reply
2015-01-05, 08:09
Post: #7
RE: Intel I218-LM LAN card speed slow
I compiled intel.efi(with the added PCI_ROM line), it can boot to efi, but the speed also slowly,
1. Intel LAN card(8086/155A, 8086/153A), intel.efi(with added PCI_ROM line, 250MB file, initrd cost 80~90 seconds.
2. Intel LAN card(8086/155A, 8086/153A), ipxe.efi and snponly.efi, 250MB file, initrd cost 120 seconds.
3. others Intel LAN card, realtek LAN card, ipxe.efi and snponly.efi, 250MB file, initrd cost 5~10 seconds.
Find all posts by this user
Quote this message in a reply
2015-01-12, 04:56
Post: #8
RE: Intel I218-LM LAN card speed slow
who can tell me the difference with intel.efi,snponly.efi and ipxe.efi? which driver are they using? and all of these driver all code by IPXE,isn't it?
Find all posts by this user
Quote this message in a reply
2015-01-22, 08:55
Post: #9
RE: Intel I218-LM LAN card speed slow
It seems like the 8086:155a and 8086:153a Intel cards are hit by the same issue plaguing other Intel models. It ends up in 10Mbit half-duplex mode, even though it is capable of gigabit. Hopefully this can be resolved at some point. I have a feeling that fixing the single bug might fix it for all the models we see with issues.

The only option for now is to be patient and wait for the developers to fix the issues and use another NIC if the speed is too much of an issue. If you have enough experience debugging things you should join us on IRC and help out with testing.
Visit this user's website Find all posts by this user
Quote this message in a reply
2015-02-02, 09:51
Post: #10
RE: Intel I218-LM LAN card speed slow
We can not change the LAN model, because we are ODM for NoteBook,I am a Junior programmer, and i have programming experience with C,VB,VC, but have no driving programming experience. I have enough time and lots of type LAN card(intel/Realtek) Notebook for debugging and testing, How can i join your team for this issue debugging?
Find all posts by this user
Quote this message in a reply
2015-02-04, 02:50
Post: #11
RE: Intel I218-LM LAN card speed slow
Hi, Robin, can you give me the server and chanel for IRC?
Find all posts by this user
Quote this message in a reply
2015-02-04, 08:29
Post: #12
RE: Intel I218-LM LAN card speed slow
oh, forgot one info: the same unit with Intel LAN card(8086 155A) boot to iPXE with Legacy model, the speed is normal.
Find all posts by this user
Quote this message in a reply
2015-02-04, 08:56 (This post was last modified: 2015-02-04 08:58 by robinsmidsrod.)
Post: #13
RE: Intel I218-LM LAN card speed slow
You can find all the contact details over at http://ipxe.org/contact which includes the IRC channel and network (#ipxe on Freenode for those familiar with IRC conventions).
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-01-30, 21:29
Post: #14
RE: Intel I218-LM LAN card speed slow
I also noticed that Intel I217 is simply unusable with ipxe. All my Broadcom/Realtek/other Intel (mostly onboard in Dell/Lenovo/HP hardware - desktops/laptops) work perfectly fine, these Intel in Lenovo Thinkcentre M73z are just tragic!

450 Mb wim (wimboot) on normal machine takes ~ 3 seconds, on I217 takes over 5 minutes

Any cure available?

sebus
Find all posts by this user
Quote this message in a reply
2016-02-03, 20:49 (This post was last modified: 2016-02-04 10:34 by sebus.)
Post: #15
RE: Intel I218-LM LAN card speed slow
I have exactly the same with I217 (PCI\VEN_8086&DEV_153B), ipxe legacy only (not UEFI)

Booting undionly.kkpxe --> pxelinux.0 (syslinux 4.06) for menu --> ipxe.lkrn --> .ipxe with wimboot kernel (maybe not the most efficient?)

HTTP download speed is beyond tragic, 450 Mb wim (that takes less then 5 sec on Realtek, it takes over 5 min on I217)

Can this be improved in any way (what would I need to do)?

sebus
Find all posts by this user
Quote this message in a reply
2016-02-04, 14:22
Post: #16
RE: Intel I218-LM LAN card speed slow
(2016-02-03 20:49)sebus Wrote:  I have exactly the same with I217 (PCI\VEN_8086&DEV_153B), ipxe legacy only (not UEFI)

Booting undionly.kkpxe --> pxelinux.0 (syslinux 4.06) for menu --> ipxe.lkrn --> .ipxe with wimboot kernel (maybe not the most efficient?)

HTTP download speed is beyond tragic, 450 Mb wim (that takes less then 5 sec on Realtek, it takes over 5 min on I217)

Can this be improved in any way (what would I need to do)?

In drivers/net/intel.c, you'll see some PCI_ROM() lines that include INTEL_NO_PHY_RST. This is a workaround for this issue.

Try adding INTEL_NO_PHY_RST to the relevant PCI_ROM() lines for your NIC and see if that fixes the problem. If it does, please send a patch to ipxe-devel@lists.ipxe.org.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-02-04, 17:44
Post: #17
RE: Intel I218-LM LAN card speed slow
Michael, many thanks. Works perfectly now

sebus
Find all posts by this user
Quote this message in a reply
2016-02-04, 17:46
Post: #18
RE: Intel I218-LM LAN card speed slow
(2016-02-04 17:44)sebus Wrote:  Michael, many thanks. Works perfectly now

Great! Please do send a patch to the mailing list, so that this fix is available to everyone.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)