cinder/cinder/tests/unit
Liang Fang 9073f7591e Leverage hw accelerator in image compression
When trying to upload volume to glance as image, currently all the
format transformation is done by software and the performance is not
good.

Leverage hardware accelerator to do the image compression, so as to
offload CPU, release CPU to do more common and complex thing.
Professional hardware accelerator will get better performance and
shorter conversion time than software solution. Currently hardware
accelerator is getting more popular and some are integrated in server
chipset by default.

This patch includes:

1. Uses the new image container_format 'compressed' introduced by Glance
in the Train release

2. Implemented a simple framework: if there's an accelerator detected in
system, then try to use it

3. Supported Intel QAT as one of the accelerator

4. Add command filter for command 'qzip' and 'gzip' in rootwrap

5. New configuration option 'allow_compression_on_image_upload' and
'compression_format' added

6. Releasenote added

Change-Id: I8460f58d2ad95a6654cf4d6a6bb367f3c537536b
Implements: blueprint leverage-compression-accelerator
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
2019-09-18 03:01:18 +00:00
..
api Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
attachments Prevent double-attachment race in attachment_reserve 2019-07-29 12:57:51 -04:00
backup Merge "Rename volume/utils.py to volume/volume_utils.py" 2019-09-12 16:12:49 +00:00
brick Revert "Synchronize all LVM operations" 2018-12-18 00:18:41 +00:00
cmd Fix online data migrations 2019-09-06 12:48:23 +02:00
compute nova: use EndpointNotFound from keystoneauth1 2019-09-03 10:58:59 -04:00
consistencygroup
db Compact DB migrations to Queens 2019-05-03 09:45:21 -05:00
glance
group Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
image Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
keymgr Add 'volume_attachment' to volume expected attributes 2018-08-21 17:06:12 +08:00
message Add user messages for some volume snapshot actions 2019-04-26 17:02:05 -04:00
monkey_patch_example
objects Merge "Support Incremental Backup Completion In RBD" 2019-09-06 16:25:51 +00:00
policies Refactor on policy in code 2019-01-15 01:22:37 +00:00
scheduler Continue renaming volume_utils (core) 2019-09-09 20:48:26 -04:00
targets Continue renaming of volume_utils (drivers) 2019-09-10 09:15:45 -04:00
volume Merge "Tests: Fix test_volume.py import ordering" 2019-09-14 00:10:03 +00:00
windows Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
zonemanager Bump hacking version to 1.1.x 2019-05-30 15:06:02 -04:00
__init__.py
cast_as_call.py
conf_fixture.py Stop using deprecated rpc_backend option 2018-10-08 20:52:53 +00:00
fake_cluster.py
fake_constants.py Rekey volume on clone 2019-09-13 00:09:31 -04:00
fake_group.py
fake_group_snapshot.py
fake_notifier.py
fake_objects.py
fake_service.py Fix migration 112 to use live_data_migration API 2017-10-20 18:24:33 -06:00
fake_snapshot.py Add context to cloning snapshots in remotefs driver 2019-07-10 10:41:15 +02:00
fake_utils.py
fake_volume.py Fix VolumeAttachment is not bound to a Session 2019-03-15 11:29:25 +01:00
policy.json Add policy test for volume extend/retype/update_ro policy 2019-01-15 01:22:24 +00:00
test_api.py
test_api_urlmap.py
test_cleanable_manager.py
test_cmd.py Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
test_context.py Update oslo.context RequestContext args 2017-11-21 14:56:06 -06:00
test_coordination.py Handle deprecation of inspect.getargspec 2017-11-21 12:57:05 -06:00
test_db_api.py Fix online data migrations 2019-09-06 12:48:23 +02:00
test_db_worker_api.py
test_evaluator.py
test_exception.py Make CinderException format errors fatal for tests 2018-02-06 21:17:17 +00:00
test_fixtures.py Explicitly set expected log level for tests 2017-11-17 16:58:40 -06:00
test_hacking.py Bump hacking version to 1.1.x 2019-05-30 15:06:02 -04:00
test_image_utils.py Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
test_interface.py Fix get_driver_options 2019-07-31 20:24:52 +02:00
test_macrosan_drivers.py Continue renaming of volume_utils (drivers) 2019-09-10 09:15:45 -04:00
test_manager.py
test_paginate_query.py
test_policy.py Add policy granularity to the encryption API 2018-08-15 09:22:25 -05:00
test_qos_specs.py Move some code out of utils.py 2019-08-26 11:34:20 -04:00
test_quota.py Remove auth_uri usage 2018-08-29 11:46:11 +08:00
test_quota_utils.py Remove auth_uri usage 2018-08-29 11:46:11 +08:00
test_rpc.py
test_service.py Refresh the Service.service_id after re-spawning children 2019-01-17 10:23:21 +08:00
test_service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
test_setup_profiler.py Use constants for cinder-volume 2017-12-29 09:05:08 +08:00
test_ssh_utils.py Fix invalid function name 2019-04-30 14:12:49 +08:00
test_test.py Fix test_rpc_consumer_isolation for oslo.messaging 5.31.0 2017-09-06 15:12:45 -04:00
test_test_utils.py Update oslo.context RequestContext args 2017-11-21 14:56:06 -06:00
test_utils.py Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
test_volume_cleanup.py Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
test_volume_configuration.py Add support for shared "backend_defaults" config 2017-07-11 18:58:58 +00:00
test_volume_glance_metadata.py
test_volume_throttling.py Implement privsep boilerplate in cinder. 2018-06-06 09:42:54 +08:00
test_volume_transfer.py Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
test_volume_types.py Rollback the volume_types table when failed to update quota_usages 2019-04-16 07:15:17 +00:00
test_volume_types_extra_specs.py
test_volume_utils.py Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
utils.py Move some code out of utils.py 2019-08-26 11:34:20 -04:00