From Fedora Project Wiki

No edit summary
(Some info on the checkpoint restore feature)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{header|docs}}
{{header|docs}}
{{Docs_beat_open}}
[[Category:Docs Project]]


{{Docs_beat_open}}
= Checkpoint and Restore Applications with CRUI =
= Perl =
The CRIU (Checkpoint/Restore in User-space) projects offers a user-space implementation of process and process group checkpoint/restore. With the user-space tools crtools included in this release it is possible checkpoint processes and restore them at a later time again (e.g. after a crash) or migrate the checkpointed process or process group to another system. CRIU aims to be as transparent as possible so that no instrumentation or re-compilation of the process to be checkpointed is necessary.
== Perl updated to 5.16 ==
Perl 5.16 introduces a number of significant changes:


=== New Features ===
Using the `crtools` package, users can easily checkpoint and restore processes with the crtools package:
* Unicode 6.1
* More consistent ''eval'' controlled with ''unicode_eval'' and ''evalbytes'' feature
* 2- and 3-argument ''substr'' called in left-value context is evaluted even after changing original string
* New ''T_*REF_REFCOUNT_FIXED'' XS typemap fixing reference counter decremetion
* New ''is_utf8_char_buf'' XS-callable function replaces broken ''is_utf8_char'' function
* ''$$'' variable is writable
* Improved debugger: tracing mode can be restricted to certain level, breakpoints can be disabled temporarily, breakpoints can be set by file name
* ''sort'' subroutines can be autoloaded
* ''$['' variable is provided by ''arybase'' module
* mmaped PerlIO layer is now a separate module ''PerlIO::mmap''


=== Deprecated Features ===
`crtools dump -D <dump-directory> -t <PID>`
* Accessing Unicode database files directly is deprecated now; use ''Unicode::UCD'' instead
* ''Version::Requirements'' is deprecated in favor of ''CPAN::Meta::Requirements''


=== Incompatible Changes ===
`crtools restore -D <dump-directory -t <PID>`
* Special blocks (e.g. ''BEGIN'') are called in void context
* Unoverloaded stringification of regular expression does not return the expression literal
* ''T_DATAUNIT'' and ''T_CALLBACK'' XS typemaps removed
* User defined case-changing has been removed in favor of ''Unicode::Casing''
* XSUB C functions are static now and they are not exported from their object files
* Read-only references cannot be weaken
* ''$$'',  ''$<'', ''$>'', ''$('', and ''$)'' do not cache their value
* ''Devel::DProf'', ''Shell'' have been removed from Perl core
* perl4 libraries removed: abbrev.pl, assert.pl, bigfloat.pl, bigint.pl, bigrat.pl, cacheout.pl, complete.pl, ctime.pl, dotsh.pl, exceptions.pl, fastcwd.pl, flush.pl, getcwd.pl, getopt.pl, getopts.pl, hostname.pl, importenv.pl, lib/find{,depth}.pl, look.pl, newgetopt.pl, open2.pl, open3.pl, pwd.pl, hellwords.pl, stat.pl, tainted.pl, termcap.pl, timelocal.pl


= Clojure joined by leiningen and tools =
To learn more about CRUI, visit http://criu.org and read `man 1 crtools`
Fedora 18 now ships a more complete Clojure programming stack, including the build tool Leiningen. This will make it easier to package other Clojure libraries in the future.


[[Category:Docs Project]]
[[Category:Draft documentation]]
[[Category:Draft documentation]]
[[Category:Documentation beats]]
[[Category:Documentation beats]]

Revision as of 19:01, 15 April 2013

DocsProject Header docTeam1.png
Note.png
Beat is open
This beat is now ready to have Fedora 25 content added by the beat writer

Checkpoint and Restore Applications with CRUI

The CRIU (Checkpoint/Restore in User-space) projects offers a user-space implementation of process and process group checkpoint/restore. With the user-space tools crtools included in this release it is possible checkpoint processes and restore them at a later time again (e.g. after a crash) or migrate the checkpointed process or process group to another system. CRIU aims to be as transparent as possible so that no instrumentation or re-compilation of the process to be checkpointed is necessary.

Using the crtools package, users can easily checkpoint and restore processes with the crtools package:

crtools dump -D <dump-directory> -t <PID>

crtools restore -D <dump-directory -t <PID>

To learn more about CRUI, visit http://criu.org and read man 1 crtools