Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve setup performance #80

Open
yonas opened this issue Apr 14, 2024 · 4 comments
Open

Improve setup performance #80

yonas opened this issue Apr 14, 2024 · 4 comments

Comments

@yonas
Copy link

yonas commented Apr 14, 2024

My first suggestion to improve performance is to use a pre-made image with everything already installed.

Looking at the logs, it seems a lot of Ubuntu packages are installed. Have these packages pre-installed.

@Neilpang
Copy link
Member

what packages do you want?
There is a disk limit in the github runner. we can not do it too big.

@yonas
Copy link
Author

yonas commented Apr 21, 2024

> Importing VM
...
The following additional packages will be installed:
    cpu-checker gir1.2-atk-1.0 gir1.2-ayatanaappindicator3-0.1
    gir1.2-gstreamer-1.0 gir1.2-gtk-3.0 gir1.2-gtk-vnc-2.0 gir1.2-gtksource-4
    gir1.2-harfbuzz-0.0 gir1.2-libosinfo-1.0 gir1.2-libvirt-glib-1.0
    gir1.2-pango-1.0 gir1.2-spiceclientglib-2.0 gir1.2-spiceclientgtk-3.0
    gir1.2-vte-2.91 gstreamer1.0-plugins-base gstreamer1.0-plugins-good
    gstreamer1.0-x i965-va-driver ibverbs-providers intel-media-va-driver
    ipxe-qemu ipxe-qemu-256k-compat-efi-roms libaa1 libasyncns0 libavc1394-0
    libayatana-appindicator3-1 libayatana-ido3-0.4-0 libayatana-indicator3-7
    libboost-iostreams1.74.0 libboost-thread1.74.0 libbrlapi0.8 libcaca0
    libcacard0 libcdparanoia0 libdaxctl1 libdecor-0-0 libdecor-0-plugin-1-cairo
    libdv4 libfdt1 libflac8 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0
    libgovirt-common libgovirt2 libgstreamer-plugins-base1.0-0
    libgstreamer-plugins-good1.0-0 libgtk-vnc-2.0-0 libgtksourceview-4-0
    libgtksourceview-4-common libgvnc-1.0-0 libibverbs1 libiec61883-0
    libigdgmm12 libiscsi7 libjack-jackd2-0 libmp3lame0 libmpg123-0 libndctl6
    libnl-route-3-200 libnss-mymachines libopus0 liborc-0.4-0 libosinfo-1.0-0
    libpangoxft-1.0-0 libpcsclite1 libphodav-2.0-0 libphodav-2.0-common libpmem1
    libpmemobj1 libpulse0 librados2 libraw1394-11 librbd1 librdmacm1
    librest-0.7-0 libsamplerate0 libsdl2-2.0-0 libshout3 libsndfile1
    libsoup-gnome2.4-1 libspeex1 libspice-client-glib-2.0-8
    libspice-client-gtk-3.0-5 libspice-server1 libtag1v5 libtag1v5-vanilla
    libtheora0 libtpms0 libtwolame0 liburing2 libusbredirhost1
    libusbredirparser1 libv4l-0 libv4lconvert0 libva-x11-2 libva2
    libvirglrenderer1 libvirt-clients libvirt-daemon
    libvirt-daemon-config-network libvirt-daemon-config-nwfilter
    libvirt-daemon-driver-qemu libvirt-daemon-system-systemd libvirt-glib-1.0-0
    libvirt-glib-1.0-data libvirt0 libvisual-0.4-0 libvorbisenc2 libvpx7
    libvte-2.91-0 libvte-2.91-common libwavpack1 libxml2-utils libxv1 mdevctl
    mesa-va-drivers msr-tools osinfo-db ovmf python3-cairo python3-gi-cairo
    python3-libvirt python3-libxml2 qemu-block-extra qemu-system-common
    qemu-system-data qemu-system-gui qemu-utils seabios
    spice-client-glib-usb-acl-helper swtpm swtpm-tools systemd-container
    va-driver-all virt-viewer virtinst
...
Fetched 60.8 MB...

There is a disk limit in the github runner. we can not do it too big.

The compressed size of all these packages is only 61MB. Hopefully that won't exceed the GitHub limit.

@yonas
Copy link
Author

yonas commented Apr 21, 2024

Also, if all these packages will be pre-installed, we can avoid running apt-update all-together in Debian.

@Neilpang
Copy link
Member

how ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants