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

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

On Mon, Nov 13, 2017 at 01:45:32AM -0800, Elias Mårtenson wrote:
> On Thursday, 9 November 2017 23:25:34 UTC+8, Marek Marczykowski-Górecki 
> wrote:
> 
> > 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 
> >
> 
> Is that how it worked in 3.2? Because I'm sure it was very fast there (less
> than 10 seconds, if I remember correctly).

There is a chance it will be even faster (the second option).

> > As for qrexec timeouts, this is unrelated issue[1], which we have some 
> > (hopefully sufficient) fix - it will land in testing repo today.
> 
> 
> Did it land yet? I did a dom0-update from testing and I'm still suffering 
> from
> this issue (although I can't say if the frequency has been reduced).

No, there were some infrastructure-related problems. It should be there
tomorrow...

- -- 
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

iQEcBAEBCAAGBQJaBkTUAAoJENuP0xzK19csiF8H/iGUy8dHdpkR9hQhCPqqj5cp
zXAwveTmuVX4ghbA+gYaLTAtIWwiSFh+73LRnB6QRGemGAa5RLflo7iTqeH+oLfe
XkDyJ4TaQbO2d8meZOa0uOj2zNjprhKaEahsrvx7ql4R9GbJMr3rZkD/agYDQvIE
VQsszPOIiUEDvlHutOnMk/9d6DkzRm8H09evu1D4OAw9eD1gTb19bE/S0dw/fX1P
QpEpkAgjvjmN1aqA3cBRhSjVSEQbLOn/oGTOMtagmAiwjupFiFMy7UstTr/FzFVU
SRw9ojNaTOsVUQuMrgCsvxRhAZb1U7f6xbcZlRddUzZHviYQz5oHnD+qNRi6I6k=
=QmFM
-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/20171113095033.GA1061%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 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.