Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1309987

Re: phy: SMSC LAN8710/LAN8720 high load

From Teresa Remmet <t.remmet@phytec.de>
Newsgroups linux.kernel
Subject Re: phy: SMSC LAN8710/LAN8720 high load
Date 2016-01-15 10:30 +0100
Message-ID <qR8RJ-464-27@gated-at.bofh.it> (permalink)
References <qPFoJ-7Hy-3@gated-at.bofh.it> <qQ5sS-fW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello David,

Am Dienstag, den 12.01.2016, 11:33 +0000 schrieb David Laight:
> From: Teresa Remmet
> > Sent: 11 January 2016 07:42
> > we have noticed load issues on our AM335x boards with a LAN8710 phy while
> > cpu is idling using 4.4-rc8.
> > 
> > CPU:   0% usr   0% sys   0% nic  99% idle   0% io   0% irq   0% sirq
> > Load average: 1.21 1.16 1.00 1/84 372
> 
> The 'Load average' value is mostly meaningless.
> It includes any process/thread that is sleeping uninterruptably - even
> if the process is never woken (or is only woken for short periods).
> 
> If you have a kernel thread that you don't want affected by signals
> (exits on some request to the driver) then you end up increasing the
> 'load average'.

thank you for your explanation. But I'm still worried that waiting so
long in this function might be a problem.

When I look at the function duration of lan87xx_read_status it takes in
average about 1277869 us. When disabling the the power detect mode the
time drops down to 555.326 us.

As disabling over device tree does not work correct for lan87xx a patch
follows.

Teresa

> 
> 	David
> 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

net: phy: SMSC LAN8710/LAN8720 high load Teresa Remmet <t.remmet@phytec.de> - 2016-01-11 08:50 +0100
  Re: net: phy: SMSC LAN8710/LAN8720 high load Igor Plyatov <plyatov@gmail.com> - 2016-01-11 09:10 +0100
  RE: phy: SMSC LAN8710/LAN8720 high load David Laight <David.Laight@ACULAB.COM> - 2016-01-12 12:40 +0100
    Re: phy: SMSC LAN8710/LAN8720 high load Teresa Remmet <t.remmet@phytec.de> - 2016-01-15 10:30 +0100

csiph-web