James has a pretty darn good guess. Could you share the output of the "buildah info" command? Also, are you using an Ubuntu userspace on WSL? Note there can be things you need to do to tune the WSL kernel, like this: https://www.redhat.com/sysadmin/podman-windows-wsl2 Though, I wouldn't expect cgroups to affect buildah, as it's using chroots so I don't "think" the cgroups should matter. On Wed, Jun 3, 2020 at 12:31 PM James Cassell <fedoraproject@cyberpear.com> wrote:
On Wed, Jun 3, 2020, at 2:24 AM, Dominic wrote:
Hello,
I've been using podman and buildah for a while on native Ubuntu and it's been great. With the release of WSL2 I'm trying to start building containers on Windows, but I'm running into some performance issues. Running something like: buildah copy $container . /srv in my project root takes maybe a second or two on native linux and minutes on my WSL2 system.
Windows task manager doesn't show high resource utilization from any particular process during this time. Any ideas on how I can debug this?
My guess is it's not using overlay capable fs, but is instead using VFS.
V/r, James Cassell _______________________________________________ Buildah mailing list -- buildah@lists.buildah.io To unsubscribe send an email to buildah-leave@lists.buildah.io
-- -- Moving Wordpress, Mediawiki and Request Tracker into containers: http://crunchtools.com/a-hackers-guide-to-moving-linux-services-into-contain... -- Scott McCarty Product Management - Containers, Red Hat Enterprise Linux & OpenShift Email: smccarty@redhat.com Phone: 312-660-3535 Cell: 330-807-1043 Web: http://crunchtools.com Using Azure Pipelines with Red Hat Universal Base Image and Quay.io: https://red.ht/2TvYo3Y