All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Marczykowski <marmarek@invisiblethingslab.com>
To: Ben Guthro <ben@guthro.net>
Cc: Jan Beulich <JBeulich@suse.com>, xen-devel@lists.xen.org
Subject: Re: Only CPU0 active after ACPI S3, xen 4.1.3
Date: Fri, 21 Dec 2012 00:17:07 +0100	[thread overview]
Message-ID: <50D39C73.906@invisiblethingslab.com> (raw)
In-Reply-To: <CAOvdn6V1aeLr+VsA2rrizDa8a0dOUMoWzea8Le+hvM1QOdPFsA@mail.gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 1178 bytes --]

On 20.12.2012 20:41, Ben Guthro wrote:
> See if the attached patch helps.
> This was a patch I forgot was still in my queue, that Jan had some
> objections about (though I don't recall specifically what they were)
> I had found that the scheduler was removing all cpus during suspend, and
> this seemed to help with that, IIRC.
> 
> That said - I'm starting to be forced to look back into S3 issues, as while
> I thought they were all resolved, they are not.
> I have an Ivybridge laptop that I didn't have back in May that exhibits
> some issues very similar to those that I was trying to solve with Jan in
> the thread I pasted above.
> 
> This particular machine goes to sleep, and when it resumes, the disk light
> flashes briefly, and then the sleep led goes back to pulsing.

With this patch applied (on 4.1.4 and 4.3-unstable), I've got original symptom
- only CPU0 active after ACPI S3. Didn't get reboot after few tries.
"xl debug-key r" output attached.
Anyway it looks like bug was introduced somehow between 4.1.2 and 4.1.3 - on
4.1.2 none of above problems happened.

-- 
Best Regards / Pozdrawiam,
Marek Marczykowski
Invisible Things Lab

[-- Attachment #1.1.2: xl-debug-key-r--only-cpu0-active.txt --]
[-- Type: text/plain, Size: 1388 bytes --]

(XEN) sched_smt_power_savings: disabled
(XEN) NOW=0x000000592C3F629D
(XEN) Idle cpupool:
(XEN) Scheduler: SMP Credit Scheduler (credit)
(XEN) info:
(XEN) 	ncpus              = 4
(XEN) 	master             = 0
(XEN) 	credit             = 1200
(XEN) 	credit balance     = 466
(XEN) 	weight             = 512
(XEN) 	runq_sort          = 3709
(XEN) 	default-weight     = 256
(XEN) 	tslice             = 30ms
(XEN) 	credits per msec   = 10
(XEN) 	ticks per tslice   = 3
(XEN) 	migration delay    = 0us
(XEN) idlers: 00000000,00000000,00000000,0000000e
(XEN) active vcpus:
(XEN) 	  1: [0.1] pri=0 flags=0 cpu=0 credit=208 [w=512]
(XEN) Cpupool 0:
(XEN) Scheduler: SMP Credit Scheduler (credit)
(XEN) info:
(XEN) 	ncpus              = 4
(XEN) 	master             = 0
(XEN) 	credit             = 1200
(XEN) 	credit balance     = 466
(XEN) 	weight             = 512
(XEN) 	runq_sort          = 3709
(XEN) 	default-weight     = 256
(XEN) 	tslice             = 30ms
(XEN) 	credits per msec   = 10
(XEN) 	ticks per tslice   = 3
(XEN) 	migration delay    = 0us
(XEN) idlers: 00000000,00000000,00000000,0000000e
(XEN) active vcpus:
(XEN) 	  1: [0.1] pri=0 flags=0 cpu=0 credit=208 [w=512]
(XEN) CPU[00]  sort=3708, sibling=00000000,00000000,00000000,00000003, core=00000000,00000000,00000000,0000000f
(XEN) 	run: [0.1] pri=0 flags=0 cpu=0 credit=208 [w=512]
(XEN) 	  1: [32767.0] pri=-64 flags=0 cpu=0


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 551 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2012-12-20 23:17 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29 18:55 Only CPU0 active after ACPI S3, xen 4.1.3 Marek Marczykowski
2012-11-30  9:33 ` Jan Beulich
2012-11-30 16:07   ` Marek Marczykowski
2012-11-30 16:12     ` Jan Beulich
2012-11-30 16:18       ` Marek Marczykowski
2012-12-03  7:39         ` Jan Beulich
2012-12-04 13:27           ` Marek Marczykowski
2012-12-20 15:59             ` Marek Marczykowski
2012-12-20 16:37               ` Jan Beulich
2012-12-20 19:41               ` Ben Guthro
2012-12-20 23:17                 ` Marek Marczykowski [this message]
2012-12-21  4:52                   ` Marek Marczykowski
2012-12-21  8:55                     ` Jan Beulich
2012-12-21 13:33                       ` Marek Marczykowski
2012-12-21 13:34                         ` Marek Marczykowski
2012-12-21 13:42                         ` Jan Beulich
2012-12-21 13:59                           ` Marek Marczykowski
2012-12-21 14:03                             ` Ben Guthro
2012-12-21 14:05                             ` Jan Beulich
2012-12-21 15:30                             ` Marek Marczykowski
2012-12-21 15:54                               ` Ben Guthro
2012-12-21 16:03                               ` Jan Beulich
2012-12-21 16:18                                 ` Ben Guthro
2012-12-23  2:49                                   ` Marek Marczykowski
2012-12-23 13:45                                     ` Ben Guthro
2012-12-31 12:51                                       ` Ben Guthro
2013-01-03  8:52                                         ` Jan Beulich
2013-01-16 11:22                                           ` George Dunlap
2013-01-16 11:58                                             ` George Dunlap
2013-01-16 13:08                                               ` Jan Beulich
2013-01-16 13:58                                                 ` George Dunlap
2013-01-16 14:31                                                   ` Jan Beulich
2013-01-03  8:52                         ` Jan Beulich
2013-01-12  7:05                           ` Marek Marczykowski
2013-01-14  3:28                             ` Marek Marczykowski
2012-11-30 21:33 ` Konrad Rzeszutek Wilk
2012-11-30 22:12   ` Ben Guthro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50D39C73.906@invisiblethingslab.com \
    --to=marmarek@invisiblethingslab.com \
    --cc=JBeulich@suse.com \
    --cc=ben@guthro.net \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.