qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC] qed: Add QEMU Enhanced Disk format


From: Avi Kivity
Subject: Re: [Qemu-devel] [RFC] qed: Add QEMU Enhanced Disk format
Date: Wed, 08 Sep 2010 11:53:54 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Thunderbird/3.1.2

 On 09/08/2010 11:41 AM, Alexander Graf wrote:
On 08.09.2010, at 10:23, Avi Kivity wrote:

On 09/08/2010 01:27 AM, Anthony Liguori wrote:
FWIW, L2s are 256K at the moment and with a two level table, it can support 5PB 
of data.

I clearly suck at basic math today.  The image supports 64TB today.  Dropping 
to 128K tables would reduce it to 16TB and 64k tables would be 4TB.
Maybe we should do three levels then.  Some users are bound to complain about 
64TB.
Why 3 levels? Can't the L2 size be dynamic? Then big images get a big L2 map 
while small images get a smaller one.


Dunno, just seems more regular to me. Image resize doesn't need to relocate the L2 table in case it overflows.

The overhead from three levels is an extra table, which is negligible. With 64K tables, the maximum image size is 32PiB, which is 14 bits away from a 2TB disk, giving us about 30 years.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain. q




reply via email to

[Prev in Thread] Current Thread [Next in Thread]