cinder/cinder
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 Merge "Rename volume/utils.py to volume/volume_utils.py" 2019-09-12 16:12:49 +00:00
backup Merge "Rename volume/utils.py to volume/volume_utils.py" 2019-09-12 16:12:49 +00:00
brick Replace 'lvconvert' from rootwrap 2019-02-17 14:33:31 -05:00
cmd Continue renaming volume_utils (core) 2019-09-09 20:48:26 -04:00
common Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
compute nova: use EndpointNotFound from keystoneauth1 2019-09-03 10:58:59 -04:00
db Continue renaming volume_utils (core) 2019-09-09 20:48:26 -04:00
group Continue renaming volume_utils (core) 2019-09-09 20:48:26 -04:00
hacking Fix pylint warning 2018-09-26 21:37:25 -04:00
image Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
interface Remove BackupDriverWithVerify class 2019-05-14 23:19:13 +03:00
keymgr Fix "import xxx as xxx" grammar 2019-01-23 15:35:53 +08:00
locale Imported Translations from Zanata 2019-07-26 08:24:24 +00:00
message Add user messages for some volume snapshot actions 2019-04-26 17:02:05 -04:00
objects Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
policies Add project_id in group snapshots list and show API 2019-03-01 22:59:19 +05:30
privsep Revert "Remove truncate from rootwrap filters" 2019-03-06 10:08:10 -05:00
scheduler Continue renaming volume_utils (core) 2019-09-09 20:48:26 -04:00
tests Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
transfer Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
volume Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
wsgi Prevent double-attachment race in attachment_reserve 2019-07-29 12:57:51 -04:00
zonemanager Cisco FC Zone Manager Driver - Python3.x support 2019-08-12 04:22:29 +00:00
__init__.py
context.py Merge "Add key-manager to sevice catalog" 2019-08-04 20:26:15 +00:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
flow_utils.py
i18n.py Replace http with https for doc links in cinder 2017-10-17 11:14:01 +08:00
manager.py Allow configuring tpool size 2018-03-08 15:59:29 +01:00
opts.py Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
policy.py Correct default policy_file in the sample config 2019-01-15 13:54:17 -05:00
quota.py Bump hacking version to 1.1.x 2019-05-30 15:06:02 -04:00
quota_utils.py Enable split logging for cinder-keystoneclient interaction 2018-09-26 08:53:30 +00:00
rpc.py Replace assert to raise AssertionError 2019-06-05 18:41:21 +03:00
service.py Rename volume/utils.py to volume/volume_utils.py 2019-09-09 15:00:07 -04:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Stop a connections leak when freeing an SSHPool 2018-02-14 18:16:55 -06:00
test.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
version.py