Re: 9.2-RC3 - suspend/resume causes slow system performance

2013-09-01 Thread Andriy Gapon
on 01/09/2013 02:40 Adrian Chadd said the following: On 31 August 2013 10:35, Mike Harding mvhard...@gmail.com mailto:mvhard...@gmail.com wrote: I've tracked this down to a single line, details in http://www.freebsd.org/cgi/query-pr.cgi?pr=181632. Basically, the code is

Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-09-01 Thread Adrian Chadd
(cc jkim) Hi! Would you mind taking a look at the -acpi list posts with this subject? It looks like a lot of the video suspend/resume issues on these thinkpads boil down to the VESA driver code. If it's disabled, (at least) x11 resume works. Would you be able to help us track down what's going

Re: 9.2-RC3 - suspend/resume causes slow system performance

2013-09-01 Thread Adrian Chadd
On 31 August 2013 23:41, Andriy Gapon a...@freebsd.org wrote: I've tracked this down to a single line, details in http://www.freebsd.org/cgi/query-pr.cgi?pr=181632. Basically, the code is now doing a 'sti, hlt' vs. a 'sti' in some code that is only supposed to run if

Re: 9.2-RC3 - suspend/resume causes slow system performance

2013-09-01 Thread Adrian Chadd
On 1 September 2013 14:35, Andriy Gapon a...@freebsd.org wrote: Do you have any evidence that there is anybody else besides Mike who has this problem? Nope! but we can't assume that users are reporting all the system slowdowns. And honestly, I've heard enough strange stories on mailing

Re: 9.2-RC3 - suspend/resume causes slow system performance

2013-09-01 Thread Andriy Gapon
on 02/09/2013 00:58 Adrian Chadd said the following: On 1 September 2013 14:35, Andriy Gapon a...@freebsd.org mailto:a...@freebsd.org wrote: Do you have any evidence that there is anybody else besides Mike who has this problem? Nope! but we can't assume that users are

Re: 9.2-RC3 - suspend/resume causes slow system performance

2013-09-01 Thread Adrian Chadd
.. well, when is that pointer NULL? It looks like it's supposed to be NULL for one pair of the two HT CPUs? Are you taking the whole core into an ACPI idle state if one of two logical CPUs representing a core is going idle? -adrian ___

Re: 9.2-RC3 - suspend/resume causes slow system performance

2013-09-01 Thread Mike Harding
This would be a 'strange story' if I had not tracked this down. The disk works, only much slower than normal. I only noticed it because I was doing a buildworld. There is no crash, no dmesg, no console logs. I'll ask again, why change that line? Did you feel that the original author of the

Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-09-01 Thread Glen Barber
On Sun, Sep 01, 2013 at 12:51:47PM -0700, Adrian Chadd wrote: (cc jkim) Hi! Would you mind taking a look at the -acpi list posts with this subject? It looks like a lot of the video suspend/resume issues on these thinkpads boil down to the VESA driver code. If it's disabled, (at least) x11

Re: 9.2-RC3 - suspend/resume causes slow system performance

2013-09-01 Thread Andriy Gapon
on 02/09/2013 01:21 Adrian Chadd said the following: .. well, when is that pointer NULL? It's never NULL. But that is besides the point as we are talking about a different check. * if (is_idle_disabled(sc)) {* - ACPI_ENABLE_IRQS(); + acpi_cpu_c1(); It looks like it's supposed

Re: 9.2-RC3 - suspend/resume causes slow system performance

2013-09-01 Thread Andriy Gapon
on 02/09/2013 02:13 Mike Harding said the following: I'll ask again, why change that line? I got your question the first few times you asked it. I do not see why you keep asking it when nobody has a clear explanation of what exactly is going on on your system and I've already told that I want