OpenVZ Forum


Home » General » Support » *SOLVED* chkpnt/restore time
Re: chkpnt/restore time [message #15657 is a reply to message #15638] Thu, 09 August 2007 08:06 Go to previous messageGo to previous message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
Hello!

There are different types of memory pages which are used by processes.
We need to save whole pages which are allocated and used, but we need to save only information about allocated pages.
We do not need to save pages which are read-only mapped from files (code sections and other data).

In your examples we have:

1. tmpfs
we have to save this file to dump, because it is stored only in memory and we can't map it from another place later during restore
That is why size of dump file is so huge

2. C-program
it is not clear what your program is doing. Just allocating memory or allocating and clearing it? Can you please post here source code of this test program.

3. mysql
mysql is threaded application and much memory is used for pages with code. We do not save such pages as I wrote above, thus image size is not so huge.


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network problems
Next Topic: large memory server (32GB) :: 64bit kernel advantageous?
Goto Forum:
  


Current Time: Tue May 30 23:25:45 GMT 2023

Total time taken to generate the page: 0.01276 seconds