* [Qemu-devel] [Bug 1458239] [NEW] Use qed instead of qcow2 for "-snapshot" functionality
@ 2015-05-23 20:38 Коренберг Марк
2015-05-24 7:26 ` [Qemu-devel] [Bug 1458239] " Michael Tokarev
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Коренберг Марк @ 2015-05-23 20:38 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
AFAIK, qed is better in performance than qcow2, so why we still use
qcow2 for internal snapshots ? patch is trivial.
** Affects: qemu
Importance: Undecided
Status: New
** Summary changed:
- Used qed instead of qcow2 for "-snapshot" functionality
+ Use qed instead of qcow2 for "-snapshot" functionality
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1458239
Title:
Use qed instead of qcow2 for "-snapshot" functionality
Status in QEMU:
New
Bug description:
AFAIK, qed is better in performance than qcow2, so why we still use
qcow2 for internal snapshots ? patch is trivial.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1458239/+subscriptions
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Qemu-devel] [Bug 1458239] Re: Use qed instead of qcow2 for "-snapshot" functionality
2015-05-23 20:38 [Qemu-devel] [Bug 1458239] [NEW] Use qed instead of qcow2 for "-snapshot" functionality Коренберг Марк
@ 2015-05-24 7:26 ` Michael Tokarev
2015-05-24 7:54 ` Коренберг Марк
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Michael Tokarev @ 2015-05-24 7:26 UTC (permalink / raw)
To: qemu-devel
I'm not sure I follow, why qed is better? qed was an example/testing
format in an attempt to make qcow2 faster. It succeeded in its task,
and qcow2 has been improved a lot after playing with qed. What's wrong
with qcow2 and why it is faster? How about providing some benchmarks?
** Changed in: qemu
Status: New => Invalid
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1458239
Title:
Use qed instead of qcow2 for "-snapshot" functionality
Status in QEMU:
Invalid
Bug description:
AFAIK, qed is better in performance than qcow2, so why we still use
qcow2 for internal snapshots ? patch is trivial.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1458239/+subscriptions
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Qemu-devel] [Bug 1458239] Re: Use qed instead of qcow2 for "-snapshot" functionality
2015-05-23 20:38 [Qemu-devel] [Bug 1458239] [NEW] Use qed instead of qcow2 for "-snapshot" functionality Коренберг Марк
2015-05-24 7:26 ` [Qemu-devel] [Bug 1458239] " Michael Tokarev
@ 2015-05-24 7:54 ` Коренберг Марк
2015-05-26 10:18 ` Stefan Hajnoczi
2015-05-26 15:52 ` Коренберг Марк
` (2 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Коренберг Марк @ 2015-05-24 7:54 UTC (permalink / raw)
To: qemu-devel
Sorry, I did not know tha qed is just experimental format. I thought
that qed is successor of qcow2. Can you add some links that qcow is not
worse than qed ? I did not make any benchmark, just read some articles
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1458239
Title:
Use qed instead of qcow2 for "-snapshot" functionality
Status in QEMU:
Invalid
Bug description:
AFAIK, qed is better in performance than qcow2, so why we still use
qcow2 for internal snapshots ? patch is trivial.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1458239/+subscriptions
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [Bug 1458239] Re: Use qed instead of qcow2 for "-snapshot" functionality
2015-05-24 7:54 ` Коренберг Марк
@ 2015-05-26 10:18 ` Stefan Hajnoczi
2015-05-26 11:01 ` Paolo Bonzini
0 siblings, 1 reply; 8+ messages in thread
From: Stefan Hajnoczi @ 2015-05-26 10:18 UTC (permalink / raw)
To: Коренберг Марк
Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 534 bytes --]
On Sun, May 24, 2015 at 07:54:19AM -0000, Коренберг Марк wrote:
> Sorry, I did not know tha qed is just experimental format. I thought
> that qed is successor of qcow2. Can you add some links that qcow is not
> worse than qed ? I did not make any benchmark, just read some articles
Hi,
QED's write performance optimization has been added to qcow2 (-o
lazy_refcounts=on).
qcow2 has been optimized further in the meantime and is the recommended
image file format if raw lacks features that you need.
Stefan
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [Bug 1458239] Re: Use qed instead of qcow2 for "-snapshot" functionality
2015-05-26 10:18 ` Stefan Hajnoczi
@ 2015-05-26 11:01 ` Paolo Bonzini
0 siblings, 0 replies; 8+ messages in thread
From: Paolo Bonzini @ 2015-05-26 11:01 UTC (permalink / raw)
To: Stefan Hajnoczi,
Коренберг Марк
Cc: qemu-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 26/05/2015 12:18, Stefan Hajnoczi wrote:
> On Sun, May 24, 2015 at 07:54:19AM -0000, Коренберг Марк wrote:
>> Sorry, I did not know tha qed is just experimental format. I
>> thought that qed is successor of qcow2. Can you add some links
>> that qcow is not worse than qed ? I did not make any benchmark,
>> just read some articles
>
> Hi, QED's write performance optimization has been added to qcow2
> (-o lazy_refcounts=on).
>
> qcow2 has been optimized further in the meantime and is the
> recommended image file format if raw lacks features that you need.
Also, -snapshots uses "cache=unsafe", so there should be no
performance difference between the two anyway.
Random idea: should qcow2 always use lazy refcounts if it receives
"cache=unsafe"?
Paolo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVZFJqAAoJEL/70l94x66D2iwH/0GqHdLooig5uWRzUxVXx0ty
kPx1dPWBnRbC2rid1n7BHlm/uCSoKZ8lURV2od3Jz97Mv/0/EIpT8nKvOb6/Sfpm
360hfZMKytTTytCLg2KvEPkXyBgvZZhIAHLb38H2kZxpis2lf+x3Ln2dRYvIfXNk
A2caRZIH7AH99krQjSImZlM58Q3VQhs9QUsUe0zHrjCznq5pjYV8POSeiDb5l41S
xrVkeVEBTwfSYaK2iBy9NTnlFUB5iXsIO5Ax8WEb5nRH18mSeH64En+yfe6kzOKh
qSVA3K6aS6aWuSjYyenGITcntpWUGPOo4R7fmJJVVgLqZDAmBtI70am9IqLbcW8=
=OUZz
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Qemu-devel] [Bug 1458239] Re: Use qed instead of qcow2 for "-snapshot" functionality
2015-05-23 20:38 [Qemu-devel] [Bug 1458239] [NEW] Use qed instead of qcow2 for "-snapshot" functionality Коренберг Марк
2015-05-24 7:26 ` [Qemu-devel] [Bug 1458239] " Michael Tokarev
2015-05-24 7:54 ` Коренберг Марк
@ 2015-05-26 15:52 ` Коренберг Марк
2015-05-27 12:04 ` Kevin Wolf
2015-05-27 16:14 ` Коренберг Марк
4 siblings, 0 replies; 8+ messages in thread
From: Коренберг Марк @ 2015-05-26 15:52 UTC (permalink / raw)
To: qemu-devel
Ok, from which qemu versions, qcow2 is faster or equal to qed ?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1458239
Title:
Use qed instead of qcow2 for "-snapshot" functionality
Status in QEMU:
Invalid
Bug description:
AFAIK, qed is better in performance than qcow2, so why we still use
qcow2 for internal snapshots ? patch is trivial.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1458239/+subscriptions
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Qemu-devel] [Bug 1458239] Re: Use qed instead of qcow2 for "-snapshot" functionality
2015-05-23 20:38 [Qemu-devel] [Bug 1458239] [NEW] Use qed instead of qcow2 for "-snapshot" functionality Коренберг Марк
` (2 preceding siblings ...)
2015-05-26 15:52 ` Коренберг Марк
@ 2015-05-27 12:04 ` Kevin Wolf
2015-05-27 16:14 ` Коренберг Марк
4 siblings, 0 replies; 8+ messages in thread
From: Kevin Wolf @ 2015-05-27 12:04 UTC (permalink / raw)
To: qemu-devel
Unless you're using cache=writethrough (which is not the case with
-snapshot), qed has never been faster than qcow2 in a release. qed was
introduced in the same release as qcow2 introduced a writeback metadata
cache which improved performance with cache=none/writeback a lot (qemu
0.14). cache=writethrough gained the same optimisation as qed had with
qcow2's lazy_refcounts, which can optionally be enabled since qemu 1.2.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1458239
Title:
Use qed instead of qcow2 for "-snapshot" functionality
Status in QEMU:
Invalid
Bug description:
AFAIK, qed is better in performance than qcow2, so why we still use
qcow2 for internal snapshots ? patch is trivial.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1458239/+subscriptions
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Qemu-devel] [Bug 1458239] Re: Use qed instead of qcow2 for "-snapshot" functionality
2015-05-23 20:38 [Qemu-devel] [Bug 1458239] [NEW] Use qed instead of qcow2 for "-snapshot" functionality Коренберг Марк
` (3 preceding siblings ...)
2015-05-27 12:04 ` Kevin Wolf
@ 2015-05-27 16:14 ` Коренберг Марк
4 siblings, 0 replies; 8+ messages in thread
From: Коренберг Марк @ 2015-05-27 16:14 UTC (permalink / raw)
To: qemu-devel
Huge thanks for detailed explanation.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1458239
Title:
Use qed instead of qcow2 for "-snapshot" functionality
Status in QEMU:
Invalid
Bug description:
AFAIK, qed is better in performance than qcow2, so why we still use
qcow2 for internal snapshots ? patch is trivial.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1458239/+subscriptions
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-05-27 16:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-23 20:38 [Qemu-devel] [Bug 1458239] [NEW] Use qed instead of qcow2 for "-snapshot" functionality Коренберг Марк
2015-05-24 7:26 ` [Qemu-devel] [Bug 1458239] " Michael Tokarev
2015-05-24 7:54 ` Коренберг Марк
2015-05-26 10:18 ` Stefan Hajnoczi
2015-05-26 11:01 ` Paolo Bonzini
2015-05-26 15:52 ` Коренберг Марк
2015-05-27 12:04 ` Kevin Wolf
2015-05-27 16:14 ` Коренберг Марк
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).