From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107652] amdgpu couldn't resume after suspend Date: Tue, 28 Aug 2018 20:28:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0612592273==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 3BA6A6E410 for ; Tue, 28 Aug 2018 20:28:17 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0612592273== Content-Type: multipart/alternative; boundary="15354880970.FEa9cf25A.20878" Content-Transfer-Encoding: 7bit --15354880970.FEa9cf25A.20878 Date: Tue, 28 Aug 2018 20:28:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D107652 --- Comment #3 from mikhail.v.gavrilov@gmail.com --- Yep you right. But suspend mode will be totally useless on the computer on which no progra= ms are running. The sence of suspend mode to put the computer to sleep with all running programs, and then wake up and that everything continues to work. Anyway, I see that in swap there was enough space for unloading the full si= ze of RAM. $ free -m total used free shared buff/cache avail= able Mem: 32158 27500 1054 1193 3603 = 3007 Swap: 65535 7912 57623 $ cat /proc/meminfo MemTotal: 32930572 kB MemFree: 1149372 kB MemAvailable: 3127012 kB Buffers: 28 kB Cached: 3366532 kB SwapCached: 1007320 kB Active: 20999764 kB Inactive: 3531864 kB Active(anon): 19666712 kB Inactive(anon): 2725324 kB Active(file): 1333052 kB Inactive(file): 806540 kB Unevictable: 31468 kB Mlocked: 31468 kB SwapTotal: 67108860 kB SwapFree: 59004668 kB Dirty: 2008 kB Writeback: 0 kB AnonPages: 21151436 kB Mapped: 1888740 kB Shmem: 1222624 kB Slab: 894752 kB SReclaimable: 301996 kB SUnreclaim: 592756 kB KernelStack: 77072 kB PageTables: 405340 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 83574144 kB Committed_AS: 347269980 kB VmallocTotal: 34359738367 kB VmallocUsed: 0 kB VmallocChunk: 0 kB Percpu: 12864 kB HardwareCorrupted: 0 kB AnonHugePages: 2207744 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB CmaTotal: 0 kB CmaFree: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Hugetlb: 0 kB DirectMap4k: 29582752 kB DirectMap2M: 3901440 kB DirectMap1G: 1048576 kB $ vmstat -s 32930572 K total memory 28110600 K used memory 21000912 K active memory 3542156 K inactive memory 1140784 K free memory 28 K buffer memory 3679160 K swap cache 67108860 K total swap 8103680 K used swap 59005180 K free swap 21926506 non-nice user cpu ticks 1867047 nice user cpu ticks 4336923 system cpu ticks 101407781 idle cpu ticks 547470 IO-wait cpu ticks 452621 IRQ cpu ticks 266687 softirq cpu ticks 0 stolen cpu ticks 40223592 pages paged in 62917184 pages paged out 2325269 pages swapped in 4803989 pages swapped out 2369356089 interrupts 4293312571 CPU context switches 1535402349 boot time 398972 forks --=20 You are receiving this mail because: You are the assignee for the bug.= --15354880970.FEa9cf25A.20878 Date: Tue, 28 Aug 2018 20:28:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 3 on bug 10765= 2 from mikhail.v.gavrilov@gmail.com
Yep you right.
But suspend mode will be totally useless on the computer on which no progra=
ms
are running.
The sence of suspend mode to put the computer to sleep with all running
programs, and then wake up and that everything continues to work.

Anyway, I see that in swap there was enough space for unloading the full si=
ze
of RAM.

$ free -m
              total        used        free      shared  buff/cache   avail=
able
Mem:          32158       27500        1054        1193        3603        =
3007
Swap:         65535        7912       57623


$ cat  /proc/meminfo
MemTotal:       32930572 kB
MemFree:         1149372 kB
MemAvailable:    3127012 kB
Buffers:              28 kB
Cached:          3366532 kB
SwapCached:      1007320 kB
Active:         20999764 kB
Inactive:        3531864 kB
Active(anon):   19666712 kB
Inactive(anon):  2725324 kB
Active(file):    1333052 kB
Inactive(file):   806540 kB
Unevictable:       31468 kB
Mlocked:           31468 kB
SwapTotal:      67108860 kB
SwapFree:       59004668 kB
Dirty:              2008 kB
Writeback:             0 kB
AnonPages:      21151436 kB
Mapped:          1888740 kB
Shmem:           1222624 kB
Slab:             894752 kB
SReclaimable:     301996 kB
SUnreclaim:       592756 kB
KernelStack:       77072 kB
PageTables:       405340 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    83574144 kB
Committed_AS:   347269980 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
Percpu:            12864 kB
HardwareCorrupted:     0 kB
AnonHugePages:   2207744 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:    29582752 kB
DirectMap2M:     3901440 kB
DirectMap1G:     1048576 kB

$ vmstat -s
     32930572 K total memory
     28110600 K used memory
     21000912 K active memory
      3542156 K inactive memory
      1140784 K free memory
           28 K buffer memory
      3679160 K swap cache
     67108860 K total swap
      8103680 K used swap
     59005180 K free swap
     21926506 non-nice user cpu ticks
      1867047 nice user cpu ticks
      4336923 system cpu ticks
    101407781 idle cpu ticks
       547470 IO-wait cpu ticks
       452621 IRQ cpu ticks
       266687 softirq cpu ticks
            0 stolen cpu ticks
     40223592 pages paged in
     62917184 pages paged out
      2325269 pages swapped in
      4803989 pages swapped out
   2369356089 interrupts
   4293312571 CPU context switches
   1535402349 boot time
       398972 forks


You are receiving this mail because:
  • You are the assignee for the bug.
= --15354880970.FEa9cf25A.20878-- --===============0612592273== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0612592273==--