Skip to content

when use docker with devicemapper(direct-lvm) , the performance(disk Random read-write stress test) is lower than the host? #34866

@y123456yz

Description

@y123456yz
root@xxx:/$ docker info
Containers: 24
 Running: 0
 Paused: 0
 Stopped: 24
Images: 28
Server Version: 1.13.1
Storage Driver: devicemapper
 Pool Name: docker-thinpool
 Pool Blocksize: 524.3 kB
 Base Device Size: 21.47 GB
 Backing Filesystem: xfs
 Data file: 
 Metadata file: 
 Data Space Used: 21.16 GB
 Data Space Total: 1.9 TB
 Data Space Available: 1.879 TB
 Metadata Space Used: 11.54 MB
 Metadata Space Total: 16.98 GB
 Metadata Space Available: 16.97 GB
 Thin Pool Minimum Free Space: 190 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: true
 Deferred Deletion Enabled: true
 Deferred Deleted Device Count: 0
 Library Version: 1.02.107-RHEL7 (2015-10-14)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins: 
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1
runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 3.10.0-327.36.3.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 24
Total Memory: 62.41 GiB
Name: fd-mesos-master03.gz01
ID: MUDS:WJIP:Z2NZ:P3MM:SVTP:HCFA:SIY7:TXEJ:TUC3:SIUA:563X:FICP
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
root@xx$ uname -a
Linux fd-mesos-master03.gz01 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@xx$ ls /dev/mapper/
control  docker-thinpool  docker-thinpool_tdata  docker-thinpool_tmeta

when disk Read/write stress test through docker with devicemapper(direct-lvm) , the performance(disk Random read-write) is lower than the host? about low twenty percent.

if there have some Solution to solve this problem.

thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions