coreos-installer: downloads/installs slowly

In kola testiso we spawn a local webserver and point qemu at it. The legacy installer downloads and writes to disk in about one second. This new one takes…about 4 minutes. Something must be going terribly wrong 😄

I didn’t bother to try to debug this much yet, but it seems like the host webserver is spending a lot of time idle.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 17 (17 by maintainers)

Commits related to this issue

Most upvoted comments

#290 switched to a copy() implementation with a larger buffer.

Here’s a profile from current git master:

https://perfht.ml/2xLdVoJ

Basically I think what this is saying is that we are losing out by doing decompression and I/O on the same core - this type of thing is where classical Unix pipelines like curl | gunzip > /dev/disk win.