* [Intel-wired-lan] Reduce resume times of Ethernet devices
@ 2017-03-01 11:19 Paul Menzel
2017-03-06 15:43 ` Paul Menzel
0 siblings, 1 reply; 2+ messages in thread
From: Paul Menzel @ 2017-03-01 11:19 UTC (permalink / raw)
To: intel-wired-lan
Dear Linux folks,
I am analyzing the time spent during resume on a Dell OptiPlex 7010 with
the script `analyze_suspend.py` [1] in `scripts`.
```
$ more /proc/version
Linux version 4.9.0-2-amd64 (debian-kernel at lists.debian.org) (gcc
version 6.3.0 20170221 (Debian 6.3.0-8) ) #1 SMP Debian 4.9.13-1
(2017-02-27)
$ lspci -s 00:19.0 -v
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network
Connection (rev 04)
Subsystem: Dell 82579LM Gigabit Network Connection
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at f7c00000 (32-bit, non-prefetchable) [size=128K]
Memory at f7c39000 (32-bit, non-prefetchable) [size=4K]
I/O ports at f080 [size=32]
Capabilities: <access denied>
Kernel driver in use: e1000e
Kernel modules: e1000e
```
The times are quite good already.
> Total Suspend Time: 601 ms Total Resume Time: 806 ms
> Kernel Suspend: 600.993 ms Firmware Suspend: 0.000 ms Firmware Resume: 554.340 ms Kernel Resume: 251.898 ms
But the resume time is slowed down by the e1000e module, as it takes
longest, and therefore slowing down the resume.
> e1000e @ 0000:00:19.0 {e1000e} async_device (Total Suspend: 100.518 ms Total Resume: 190.209 ms)
Then I created the callgraph with the command below. (The configs are in
the upstream suspendresume repository [2].)
```
sudo ./analyze_suspend.py -config config/suspend-callgraph.cfg \
--filter e1000e
```
Please find the HTML file attached.
There it can be seen that most of the time is spent in `e1000e_reset`.
> e1000e_reset [e1000e] (109.285 ms @ 3485.092445)
Is a reset necessary during resume? Can this be improved, and certain
things be postponed to later stages?
Kind regards,
Paul
[1] https://01.org/suspendresume/
[2] https://github.com/01org/suspendresume/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plumpsklo_mem.html.7z
Type: application/x-7z-compressed
Size: 112195 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20170301/24392142/attachment-0001.bin>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Intel-wired-lan] Reduce resume times of Ethernet devices
2017-03-01 11:19 [Intel-wired-lan] Reduce resume times of Ethernet devices Paul Menzel
@ 2017-03-06 15:43 ` Paul Menzel
0 siblings, 0 replies; 2+ messages in thread
From: Paul Menzel @ 2017-03-06 15:43 UTC (permalink / raw)
To: intel-wired-lan
Dear Linux folks,
I created ticket #558 [1] for this issue.
Kind regards,
Paul
[1] https://sourceforge.net/p/e1000/bugs/558/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-06 15:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-01 11:19 [Intel-wired-lan] Reduce resume times of Ethernet devices Paul Menzel
2017-03-06 15:43 ` Paul Menzel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.