[haiku-bugs] Re: [Haiku] #9078: FreeBSD network drivers using legacy interrupt wrappers are extremely slow

  • From: "tqh" <trac@xxxxxxxxxxxx>
  • Date: Mon, 22 Oct 2012 15:51:59 -0000

#9078: FreeBSD network drivers using legacy interrupt wrappers are extremely 
slow
----------------------------------------+----------------------------
   Reporter:  kallisti5                 |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1/alpha4
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:  8295
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by tqh):

 Ah then it gets harder, perhaps check how interrupts are
 acknowledged/disabled by different drivers.
 '''It would be really good if people with slow network cards report what
 card they have. '''

 It could be it is just a problem with i4965 and marvell yukon. Given that
 yukon does not use wlan code at all, it might be easier to try and see
 what's the problem there first. I don't have a marvell yukon so I can't do
 much.
 I do have a i4965 and it tops out at 100KB/s under Haiku, while on Linux
 it is at least >20 times faster. Pinging the router goes from <2ms to 1s
 if you start a download, but returns to <2ms if you stop the download.
 i4965 uses a lot of locking and do heavy handling in the int handler so I
 suspect lock contention. I think there is something to be learned by how
 FreeBSD does (MSI?) int handling, havn't got the time to look into it yet.

 Btw have you checked that it is using the 8139 driver? IIRC some
 generations are more like 8169. You might also want to compare cpu usage.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9078#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: