[haiku-bugs] Re: [Haiku] #8454: Very low network performance with a Marvell Yukon card.

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Mon, 05 Nov 2012 00:14:04 -0000

#8454: Very low network performance with a Marvell Yukon card.
---------------------------------------------+----------------------------
   Reporter:  bga                            |      Owner:  nobody
       Type:  bug                            |     Status:  new
   Priority:  high                           |  Milestone:  R1/beta1
  Component:  Drivers/Network/marvell_yukon  |    Version:  R1/Development
 Resolution:                                 |   Keywords:
 Blocked By:  8743                           |   Blocking:  8928
Has a Patch:  1                              |   Platform:  All
---------------------------------------------+----------------------------

Comment (by korli):

 I and oco tried both patches on oco's sony laptop, and it seems they don't
 help at solving the current problem, sorry.

 We managed to narrow the high CPU load to an interrupt looping in
 msk_handle_events(). The driver is supposed to have some events to process
 (line 3510, test is false) but the first event at the current position is
 still hardware owned (line 3523, test is true).
 Thus msk_handle_events() returns with still some work to do, this triggers
 an interrupt which in turn calls msk_handle_events() again.

 Tests so far give a value for sc->msk_stat_cons of 512 or 1024, when the
 high CPU load is triggered. It seems to be linked with a crossed page
 boundary (the size of an event is 8 bytes).

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

Other related posts: