[Top][All Lists]

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

Re: [PATCH 6/6] block/io: improve loadvm performance

From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH 6/6] block/io: improve loadvm performance
Date: Fri, 10 Jul 2020 17:40:04 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

09.07.2020 16:26, Denis V. Lunev wrote:
This patch creates intermediate buffer for reading from block driver
state and performs read-ahead to this buffer. Snapshot code performs
reads sequentially and thus we know what offsets will be required
and when they will become not needed.

Results are fantastic. Switch to snapshot times of 2GB Fedora 31 VM
over NVME storage are the following:
                 original     fixed
cached:          1.84s       1.16s
non-cached:     12.74s       1.27s

The difference over HDD would be more significant:)

Signed-off-by: Denis V. Lunev<den@openvz.org>
CC: Vladimir Sementsov-Ogievskiy<vsementsov@virtuozzo.com>
CC: Kevin Wolf<kwolf@redhat.com>
CC: Max Reitz<mreitz@redhat.com>
CC: Stefan Hajnoczi<stefanha@redhat.com>
CC: Fam Zheng<fam@euphon.net>
CC: Juan Quintela<quintela@redhat.com>
CC: Denis Plotnikov<dplotnikov@virtuozzo.com>

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

Best regards,

reply via email to

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