To get a fast s3 resume, just add a parameter in grub.cfg to tboot command line 
loglvl=none

For example:
Multiboot2 /boot.tboot.gz /boot/tboot.gz loglvl=none logging=serial,memory

From: Justin King-Lacroix [mailto:justin.king-lacr...@cs.ox.ac.uk]
Sent: Friday, November 20, 2015 5:05 AM
To: Ross Philipson
Cc: Sun, Ning; tboot-devel@lists.sourceforge.net
Subject: Re: [tboot-devel] TBOOT 1.8.3 fails to resume from S3

Adding to Ross's case: on a Lenovo x201 Tablet, I am finding exactly the same 
symptom: tboot 1.8.3 is *very* slow on resume from S3. (This was not a problem 
with tboot 1.8.1.)

On 15 September 2015 at 17:33, Ross Philipson 
<ross.philip...@gmail.com<mailto:ross.philip...@gmail.com>> wrote:
On 09/15/2015 12:12 PM, Sun, Ning wrote:
> Did you try the tboot + linux kernel?

No but I don't see how that would make a difference. The problem is in
the compression code in tboot (and the potential overflow too). See the
other thread I started - I tried to be as clear as possible.

Thanks
Ross

>
> -----Original Message-----
> From: Ross Philipson 
> [mailto:ross.philip...@gmail.com<mailto:ross.philip...@gmail.com>]
> Sent: Tuesday, September 15, 2015 8:02 AM
> To: Sun, Ning; 
> tboot-devel@lists.sourceforge.net<mailto:tboot-devel@lists.sourceforge.net>
> Subject: Re: [tboot-devel] TBOOT 1.8.3 fails to resume from S3
>
> On 09/14/2015 03:54 PM, Sun, Ning wrote:
>> Try these commands in a script, and check the print-out after resumed from 
>> S3:
>> date
>> sudo rtcwake -u -s 20 -m mem
>> date
>>
>>
>> Thanks,
>> -ning
>>
>
> I started another thread where I explain what the actual problems are in the 
> log compression code. But in order to not ignore this response, I ran the 
> above:
>
> root@xenclient-dom0:/storage# ./do-s3.sh Tue Sep 15 14:37:17 UTC 2015 wakeup 
> from "mem" at Tue Sep 15 14:37:38 2015 Tue Sep 15 14:38:57 UTC 2015
>
> It is taking 1m and 40s to come back. 20s are the delay for rtcwake but the 
> 1m 20s remaining is spent in LZ_Compress.
>
> [snip]
>


--
Ross Philipson

------------------------------------------------------------------------------
_______________________________________________
tboot-devel mailing list
tboot-devel@lists.sourceforge.net<mailto:tboot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/tboot-devel

------------------------------------------------------------------------------
_______________________________________________
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel

Reply via email to