Nigel Cunningham
2015-01-28 10:43:28 UTC
Hi all.
As I type, the first git push in some months is being sent to github.
I'm doing so with some caveats - on my laptop, it is not yet working
perfectly. It is most reliable when I disable saving the image in 2
pagesets (echo 1 > /sys/power/tuxonice/no_pageset2), but even then it
sometimes hangs on atomic restore but works if I then press the power
button for 4 seconds, power the machine back up and try the resume again.
If you try using 2 pagesets, please expect memory corruption and
potentially on-disk corruption. You have been warned!
The version I'm testing is current HEAD - what will become 3.19. I've
not yet backported the code to 3.18 or earlier.
Significant changes since the last push:
- In 3.17, upstream reworked the storage of memory bitmaps, requiring a
fair bit of work from me to get things going again.
- Back around 3.8, the means of generating the page tables for the
atomic restore was changed. TuxOnIce versions from then until now
reverted that change as I hadn't been able to get TuxOnIce to work with
the changes. I've now sorted out that issue and am using the new version.
- There's a new trace_debug_on sysfs entry. I've been using this when
running TuxOnIce in a qemu VM, with console output going to a X terminal
on the host. If you capture the whole console output into a text file,
then feed the text file to the new scripts/tuxonice_output_to_csv.sh,
you'll get a CSV crosstab of what happens to each page. The script takes
the name of the input file (assuming no spaces) and produces a CSV with
".csv" appended to the original name. It tries to open the file in
Libreoffice.
Regards,
Nigel
As I type, the first git push in some months is being sent to github.
I'm doing so with some caveats - on my laptop, it is not yet working
perfectly. It is most reliable when I disable saving the image in 2
pagesets (echo 1 > /sys/power/tuxonice/no_pageset2), but even then it
sometimes hangs on atomic restore but works if I then press the power
button for 4 seconds, power the machine back up and try the resume again.
If you try using 2 pagesets, please expect memory corruption and
potentially on-disk corruption. You have been warned!
The version I'm testing is current HEAD - what will become 3.19. I've
not yet backported the code to 3.18 or earlier.
Significant changes since the last push:
- In 3.17, upstream reworked the storage of memory bitmaps, requiring a
fair bit of work from me to get things going again.
- Back around 3.8, the means of generating the page tables for the
atomic restore was changed. TuxOnIce versions from then until now
reverted that change as I hadn't been able to get TuxOnIce to work with
the changes. I've now sorted out that issue and am using the new version.
- There's a new trace_debug_on sysfs entry. I've been using this when
running TuxOnIce in a qemu VM, with console output going to a X terminal
on the host. If you capture the whole console output into a text file,
then feed the text file to the new scripts/tuxonice_output_to_csv.sh,
you'll get a CSV crosstab of what happens to each page. The script takes
the name of the input file (assuming no spaces) and produces a CSV with
".csv" appended to the original name. It tries to open the file in
Libreoffice.
Regards,
Nigel