• Preload packages to ram


    Hi all!
    I want to ask if some of you use or have some tip about preloading packages to ram.
    Here’s a reference link https://wiki.archlinux.org/index.php/Preload quoting 2 packages (from AUR).
    Seems very interesting to me, but since i never used i’d like to know your opinion.
    Cheers!

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • Works well over time using the system … in the long run you feel the quickest change of applications when opening.

  • I mean I boot my system from SSD and it is plenty fast for me.

    But, if you installed your system on a HDD, it might be worth it. Also, you can check out BFQ scheduler before you go with preload, it helps boosting I/O speed.

  • i just let my programs start together with i3-wm (browser, email, music) , as i think it would not make a big difference at all on a system with SSD and a lot of Cores powering it up…

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3 GNOME

  • I was thinking more to launch playonlinux, to speed up some program/games load

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @joekamprad said in Preload packages to ram:

    creo que no haría una gran diferencia en absoluto en un sistema con SSD

    Of course since yes, only when there was only HDD

  • Thank you all for your help, i guess i wont use it after all and wont add to my iso as well. Though seems a very useful tool, perhaps in the future i can use it.
    Cheers!

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @fernandomaroto said in Preload packages to ram:

    wont add to my iso as well.

    I don’t know if you’re interested or not, but I read here awhile ago that there’s this command for Cnchi that points it to packages already on your system to install rather than fetching them from the internet. I can’t remember the exact command, but if you’re interested, we could ask @karasu about it:grinning:. Would this be something you would be interested in for your iso?

    Keep trying, never give up. In the end, you will find that it was all worth it

    Community ISO: https://antergoscommunityeditions.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • @fernandomaroto

    This is a tool that I find very interesting to add, if you think necessary, it is called dnsmasq and it looks important, maybe, already added, but hey it’s just a suggestion ;)

    https://wiki.archlinux.org/index.php/dnsmasq

  • @Keegan said in Preload packages to ram:

    this command for Cnchi that points it to packages already on your system to install rather than fetching them from the internet

    You mean if a package is already present in the iso i don’t need to waste time downloading it? Or you mean it checks /var/cache/pacman/pkg before? I could be interested depending on what it really does.

    @judd said in Preload packages to ram:

    This is a tool that I find very interesting to add, if you think necessary, it is called dnsmasq

    I’ll check it, i see no problem adding to the iso, is so small that wont increase the iso final size. I just don’t know if i can configurate since this IP adress configs are complicated to me.

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @fernandomaroto said in Preload packages to ram:

    You mean if a package is already present in the iso i don’t need to waste time downloading it?

    I think so, although I really can’t remember all of the details. This post I’m recalling was from so long ago! I know for sure though it can be used to point Cnchi to a custom directory / directories to fetch the programs locally rather than from the internet. As for the details, I’ll have to leave that to @karasu:grinning:.

    Hope this helps!

    Keep trying, never give up. In the end, you will find that it was all worth it

    Community ISO: https://antergoscommunityeditions.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • @Keegan
    ok, right now i have 4 options to install the system eheheh

    1. offline installer just like the iso
    2. offline installer + modifications done by the user while running the iso
    3. Online installer that install packages from repositories and AUR (not present in the available isos - the user must write the packages he wants in 2 text files)
    4. Cnchi installer

    So methods 1 and 2 are made by copying files, that means your method is not necessary, but may be useful in methods 3 and 4.

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @fernandomaroto said in Preload packages to ram:

    So methods 1 and 2 are made by copying files, that means your method is not necessary, but may be useful in methods 3 and 4.

    Great! And WOW!!! those are some amazing options:grinning:.

    Keep trying, never give up. In the end, you will find that it was all worth it

    Community ISO: https://antergoscommunityeditions.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • About Cnchi, let me explain:

    1. Cnchi always tries to use cached packages from the ISO when installing. Minimal ISO has no packages there :( but live ISO does. This makes installation faster. Nevertheless, if Cnchi finds out that there is a newer online version of any of those packages, it will download and use them. This means you always end up with the latest version of all installed packages. That’s one of the many reasons that is important to use the latest ISO, so to avoid many downloads.

    2. Cnchi has many options when called. You can see them with cnchi -h. One of them, -c allows to specify a folder where xz packages are stored (like a cache). If you use this parameter, Cnchi will search not only in the ISO but also in that folder for the packages it needs to install. Again, if it finds out that there is a newer online version of them, it will discard them and download the newer version.

    Please ask as many questions you have!

  • @karasu i understand. I noticed some time ago that antergos iso could be something like 400mb smaller if you didn’t use pacman cache, but i understand your motives :)

    That means i can’t use this method since i have no packages in the iso; or people choose the offline installer (copying files) or download through my installer (through pacstrap) or even cnchi. (my iso is big, so i don’t want to add packages to cache)

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @karasu said in Preload packages to ram:

    Again, if it finds out that there is a newer online version of them, it will discard them and download the newer version.

    Just out of curiosity, is it possible to keep Cnchi from using a newer online version? Would it work if one did not connect to the internet when installing? It seems like that would be an interesting thing to try some day…

    Keep trying, never give up. In the end, you will find that it was all worth it

    Community ISO: https://antergoscommunityeditions.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • @Keegan said in Preload packages to ram:

    Just out of curiosity, is it possible to keep Cnchi from using a newer online version? Would it work if one did not connect to the internet when installing? It seems like that would be an interesting thing to try some day…

    I’m afraid not. First thing it does is update databases, so if you’re disconnected this won’t work and cnchi will fail.

  • Ah… thank you:grinning:.

    Keep trying, never give up. In the end, you will find that it was all worth it

    Community ISO: https://antergoscommunityeditions.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

Posts 18Views 513
Log in to reply