performance - Boot2docker very slow on Windows without shared folders -
i have docker image oracle database , around 5 million rows need process.
my machine runs windows 7, , use docker inside virtualbox vm running ubuntu. vm configured 2 gb ram , 4 logical cores. database running inside docker container on vm, , client of application runs on host windows machine. in scenario application runs , processes in 230 seconds.
the second scenario on same host machine, instead of ubuntu vm use boot2docker. configured boot2docker vm use 2 gb ram , 4 logical cores. using same docker image before, start database container in boot2docker , use windows run client. however, time test takes 1840 seconds instead of 230.
those tests repeatable , show variation of no more 5%.
besides cpu , memory, network configuration same (one adapter nat , 1 host-only), storage configuration same , uses same disk on host, , container doesn't use shared folders on host, know can cause performance problems virtualbox.
i tried testing using debian vm , performance same ubuntu.
i confused on why happening. hardware same, both ubuntu , boot2docker run inside virtualbox vms using exact same configuration, ubuntu 8x faster boot2docker. idea why?
i found problem. when boot2docker installed host-only network created adapter type paravirtualized network. changed pcnet-fast iii , got faster.
Comments
Post a Comment