** Also affects: apt (Ubuntu)
   Importance: Undecided
       Status: New

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.

  Docker trusty image is very slow

Status in cloud-images:
Status in apt package in Ubuntu:

Bug description:
  I have strange slowness using the trusty image. I see no such slowness
  with the Artful image.

  I expect there is something wrong with my system/configuration, but
  I'm at a loss to explain what is going on.

  The difference appears to be IO related:

  root@gisli:~# docker run -it ubuntu:trusty /bin/bash
  root@5e4f73d56fa7:/# time apt-cache search iorate

  real    0m8.666s
  user    0m0.710s
  sys     0m7.957s
  root@5e4f73d56fa7:/# exit
  root@gisli:~# docker run -it ubuntu:artful /bin/bash
  root@5da05fb579d5:/# time apt-cache search iorate

  real    0m0.049s
  user    0m0.029s
  sys     0m0.020s

  Basic things feel very sluggish in it. apt-get update, installing
  packages, etc.

  However dd output looks fine:

  root@gisli:~# docker run -it ubuntu:trusty /bin/bash
  root@87749c754dc9:/# dd if=/dev/zero of=tempfile bs=1M count=1024 
  1024+0 records in
  1024+0 records out
  1073741824 bytes (1.1 GB) copied, 1.43277 s, 749 MB/s
  root@gisli:~# docker run -it ubuntu:artful /bin/bash
  root@7ab8fa9cd28a:/# dd if=/dev/zero of=tempfile bs=1M count=1024 
conv=fdatasync,notrunc status=progress
  1024+0 records in
  1024+0 records out
  1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.37745 s, 780 MB/s

  As do things like transferring data to the image via nc, running
  sha256sum on large files. I haven't been able to pin down what the
  problem is.

  This is running on an Ubuntu Artful host using Docker 18.03.0-ce.

  root@gisli:~# docker pull ubuntu:trusty
  trusty: Pulling from library/ubuntu
  Status: Image is up to date for ubuntu:trusty

  Is there anything I could try? Or should this be expected?

  Thank you!

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to