Block size for dd command in LVM driver not configurable

Bug #1157417 reported by Christoph Kassen on 2013-03-19
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Christoph Kassen

Bug Description

The block size used by the dd command in the LVM driver is currently set to 1M. In our setup this leads to poor performance, especially when deleting volumes.

By setting the block sized passed to dd to a higher value we could improve the performance. Unfortunately the block size used is not user configurable.

I'm working on a patch which adds an additional configuration option making the bs parameter passed to dd user configurable.

Fix proposed to branch: master
Review: https://review.openstack.org/24833

Changed in cinder:
assignee: nobody → Christoph Kassen (c-kassen)
status: New → In Progress

Reviewed: https://review.openstack.org/24833
Committed: http://github.com/openstack/cinder/commit/8e8f200d909ff62c9286d585e658dab93bdfea67
Submitter: Jenkins
Branch: master

commit 8e8f200d909ff62c9286d585e658dab93bdfea67
Author: Christoph Kassen <email address hidden>
Date: Tue Mar 19 21:50:51 2013 +0100

    Make dd block size user configurable

    This patch introduces a new configuration option volume_dd_blocksize
    to change the bs parameter passed to the dd command when creating or
    deleting volumes. In certain scenarios changing the block size might
    result in better performance.

    The default value is still 1M, which was used before.

    Change-Id: I0398436ab3ecca51f6121e8f521af8b2dc60acd3
    Fixes: bug #1157417

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-05-29
Changed in cinder:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers