Re: [qubes-devel] Re: Is there a way to save dispvm snapshots for fast startup?

2017-11-09 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Thu, Nov 09, 2017 at 10:52:43PM +0800, Elias Mårtenson wrote:
> On 9 Nov 2017 9:33 pm, "blacklight"  wrote:
> 
> 
> qubes never had these snapshots you mentionded, but were you refering to
> the dvm images?
> 
> 
> Perhaps. It certainly did something that made DVM's start really quickly.
> Definitely faster thaw a normal VM. I always assumed it took a snapshot
> after booting, but I could be wrong. I would very much like to know what it
> did.
> 
> Whatever it did, it certainly made the experience of using DVM's much
> nicer, and the question is if something similar is available in 4.0?

Currently not. We'll work on improving DispVM performance, but after
final 4.0 release. Some ideas include:
 - having PVHv2 really working (it will cut stubdomain and bootloader
   out of boot process - about 1-2s improvement)
 - pre-starting a DispVM so it sits there ready for use[2] - this have
   noticeable memory impact, but similar to 3.2 - copy of the savefile
   is stored in dom0 RAM

As for qrexec timeouts, this is unrelated issue[1], which we have some
(hopefully sufficient) fix - it will land in testing repo today.

[1] https://github.com/QubesOS/qubes-issues/issues/3221
[2] https://github.com/QubesOS/qubes-issues/issues/1512

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJaBEYQAAoJENuP0xzK19csqLoH/0ldwR2nMWg3xFpPReKGfgKV
ArkClWAMLdi/1vBPr115TlF296tmhCwsWK67pUMF0/7gU+6CgaOhCVXa7MV8iqpP
LwT6QvWyleWRY5/bu5PdxvblBezVay9ygW8z8WRVD3xJSZRn7FBK7O8+6w9DfXvY
aHwUSIcIXxp1EbW55GRUPXxrJtDGe9v632g2XadA2wVhs+Ea5cC44dE9W80ZFH54
Vjd/5MJe9rnuifD1rxYta+FfFkv+AvLuqYHxt/5Ti9yyVrTTjb8ifMGT5ECordQx
r/cRbYkCwOaUiF1nQmzfNXj3lBi1bzQVdBWkK7xIRGSJzyZCdjHliiBIuigiRj0=
=UxZs
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-devel@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/20171109152506.GS15871%40mail-itl.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-devel] Re: Is there a way to save dispvm snapshots for fast startup?

2017-11-09 Thread Elias Mårtenson
On 9 Nov 2017 9:33 pm, "blacklight"  wrote:


qubes never had these snapshots you mentionded, but were you refering to
the dvm images?


Perhaps. It certainly did something that made DVM's start really quickly.
Definitely faster thaw a normal VM. I always assumed it took a snapshot
after booting, but I could be wrong. I would very much like to know what it
did.

Whatever it did, it certainly made the experience of using DVM's much
nicer, and the question is if something similar is available in 4.0?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-devel@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/CADtN0WJzN6ywT9%3DnJQK8SC%2B4V5kB9rSE5HRHv1Jfk0GSRM4naw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-devel] Re: Is there a way to save dispvm snapshots for fast startup?

2017-11-09 Thread blacklight


On Thursday, 9 November 2017 10:46:52 UTC, Elias Mårtenson wrote:
>
> Qubes 3.2 supported snapshots that made starting up a dispvm very fast. 
> This functionality seems to have disappeared in 4.0. Is there a way to do 
> something similar now?
>
> If I'm lucky, a dispvm starts in about 30 seconds. If I'm unlucky it 
> doesn't start at all (rexec timeout, I think) and I have to try again. 
> Getting the snapshot behaviour from 3.2 would be very helpful.
>
> Regards,
> Elias
>

qubes never had these snapshots you mentionded, but were you refering to 
the dvm images? 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-devel@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/e48119de-a0ac-4c65-a7f2-79ee0604d815%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-devel] Where does Qubes 4 store the VM images?

2017-11-09 Thread Elias Mårtenson
On Wednesday, 8 November 2017 21:11:39 UTC+8, Marek Marczykowski-Górecki 
wrote:
 

> sudo lvs qubes_dom0/pool00


Thank you very much. It makes much more sense now. I can see how the new 
system is much more powerful than the old behaviour.

Regards,
Elias 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-devel@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/ca898f0b-3090-4242-b0e0-ffc9d01aaf12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-devel] Is there a way to save dispvm snapshots for fast startup?

2017-11-09 Thread Elias Mårtenson
Qubes 3.2 supported snapshots that made starting up a dispvm very fast. 
This functionality seems to have disappeared in 4.0. Is there a way to do 
something similar now?

If I'm lucky, a dispvm starts in about 30 seconds. If I'm unlucky it 
doesn't start at all (rexec timeout, I think) and I have to try again. 
Getting the snapshot behaviour from 3.2 would be very helpful.

Regards,
Elias

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-devel@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/269a9d47-1184-417b-90d0-99f4420921c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.