Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


[Request] Lightweight packages recommendations
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[Request] Lightweight packages recommendations

Hi,

I am wondering if there is a list of recommended lightweight packages for Linux server to use in low end VPS solutions. For example, Nginx, Sqlite, PHP-FPM, Dropbear, ...

I would like to replace as much as possible to get the maximum performance with little ram / processing power.

Thanks,
Mark

«1

Comments

  • eoleol Member

    Lighttpd.

  • Just use Alpine Linux w/ mini_httpd and busybox.

    Thanked by 2eol uptime
  • busybox

    maybe even take a look at OpenWRT for some inspiration if you're looking to cram a bunch of services into something like 32 mb ram

    Thanked by 1Letzien
  • amjamj Member

    inetutils-syslogd

  • @amj said:
    inetutils-syslogd

    Ya know that you can get a syslog service as part of busybox, right?

  • top

    Thanked by 1eol
  • MasonRMasonR Community Contributor

    Isn't this like saying, "I need the smallest tool that will get the job done"? Okay... but what is the job?

    Or are we to catalog every single tool in existence under 5cm? @Letzien, we'll start with you.

    Thanked by 2rm_ Aidan
  • @MasonR said:
    Or are we to catalog every single tool in existence under 5cm? @Letzien, we'll start with you.

    1) @MasonR penis

    Thanked by 1alilet
  • MasonRMasonR Community Contributor

    @Letzien said:

    @MasonR said:
    Or are we to catalog every single tool in existence under 5cm? @Letzien, we'll start with you.

    1) @MasonR penis

    That's being generous. I'll start a micro list for people like us.

  • amjamj Member

    @Letzien said:

    @amj said:
    inetutils-syslogd

    Ya know that you can get a syslog service as part of busybox, right?

    Yep but busybox-syslogd used more memory (both VSZ and RSS) than inetutils-syslogd on my box.

    Thanked by 1Letzien
  • @amj said:

    @Letzien said:

    @amj said:
    inetutils-syslogd

    Ya know that you can get a syslog service as part of busybox, right?

    Yep but busybox-syslogd used more memory (both VSZ and RSS) than inetutils-syslogd on my box.

    Now you need to take into account the disk space, as well. If we're going for the super small tradeoffs, we gotta do it right!

    Idle hard.

  • amjamj Member

    @Letzien said:

    @amj said:

    @Letzien said:

    @amj said:
    inetutils-syslogd

    Ya know that you can get a syslog service as part of busybox, right?

    Yep but busybox-syslogd used more memory (both VSZ and RSS) than inetutils-syslogd on my box.

    Now you need to take into account the disk space, as well. If we're going for the super small tradeoffs, we gotta do it right!

    Idle hard.

    Replacing inetutils-syslogd with busybox-syslogd frees 245kB storage.
    Hmm... I still choose inetutils-syslogd for my 128MB/3GB VM of Gullo's.

  • Well, share the difference in RAM use.

  • @uptime said:

    busybox

    maybe even take a look at OpenWRT for some inspiration if you're looking to cram a bunch of services into something like 32 mb ram

    I think OpenWRT 15.05 was the last one to run in 32/4, and barely.

    Thanked by 1uptime
  • out of the box, sure ... if you don't need/want LuCI then can strip it down a bit.

    OpenWRT on a zsun with 64 mb ram / 16 mb flash is a ton of fun about the size of a thumb drive ...

  • @uptime said:
    out of the box, sure ... if you don't need/want LuCI then can strip it down a bit.

    OpenWRT on a zsun with 64 mb ram / 16 mb flash is a ton of fun about the size of a thumb drive ...

    Ooh. That does look like fun. Using it as a throwy with a siimple webserver to goatse people looking for free wifi? Oh, wait, I've gone the wrong way..

    Thanked by 1uptime
  • uptimeuptime Member
    edited January 2019

    ummmm whatever floats your goat I guess ...

    EDIT2: (risky click of he day)

  • eoleol Member

    Yhanks.

  • perennateperennate Member, Host Rep
    edited January 2019

    stress, it compute the square roots fast and not use much RAM

    Thanked by 3eol Letzien uptime
  • eoleol Member
    edited January 2019

    +1 stress.

    EDIT42:

    #include<stdio.h>

    int main() {
    printf("Hello World\n");
    return 0;
    }

    Thanked by 1Janevski
  • @eol said:
    +1 stress.

    EDIT42:

    #include<stdio.h>

    int main() {
    printf("Hello World\n");
    return 0;
    }

    A few typos there..

    int main() { 
        while(1) { 
           fork();  
           printf("Hello World\n");
        }
        return 0; 
    }
    
    Thanked by 1eol
  • Thank you for the answers :)

    Thanked by 1eol
  • amjamj Member
    edited February 2019

    @Letzien said:
    Well, share the difference in RAM use.

    in my real box running Debian 32bit:
    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    root      9012  0.0  0.0   2948  1352 ?        Ss   11:38   0:00 /sbin/syslogd -
    root      9853  0.0  0.0   2380    96 ?        S    11:39   0:00 /usr/sbin/syslo
    
    in my 128MB/3GB VM of Gullo's running Debian 32bit:
    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    root       821  0.0  0.4   2888   628 ?        Ss   11:39   0:00 /sbin/syslogd -
    root      1063  0.0  0.5   2320   660 ?        S    11:39   0:00 /usr/sbin/syslo
    
    in my 128MB/3GB VM of Gullo's running Debian 64bit:
    root     19352  0.0  0.4   4908   540 ?        Ss   11:43   0:00 /sbin/syslogd -
    root     19591  1.6  0.5   8368   684 ?        D    11:43   0:00 /usr/sbin/syslo
    

    /sbin/syslogd is busybox-syslogd, /usr/sbin/syslogd is inetutils-syslogd.

    Now I've decided to use busybox-syslogd for VMs. :smile: Thank you!

  • That is a bit of memory savings.

  • Nah, ps, you even save one letter.

    Thanked by 1eol
  • Is there any tutorial install openwrt properly on KVM? i've tried few months ago on virmach vm but always fail recognize the wan interface

  • uptimeuptime Member
    edited February 2019

    printf("Hello World\n");

    http://www.sparetimelabs.com/tinyprintf/tinyprintf.php

    EDIT2:

    any tutorial install openwrt properly on KVM?

    Might find some useful config tips here: https://openwrt.org/docs/guide-user/virtualization/qemu

    Thanked by 1eol
  • jsgjsg Member, Resident Benchmarker

    @Mark_ said:
    I am wondering if there is a list of recommended lightweight packages for Linux server to use in low end VPS solutions. For example, Nginx, Sqlite, PHP-FPM, Dropbear, ...

    I would like to replace as much as possible to get the maximum performance with little ram / processing power.

    • What OS?
    • If linux, do you need a "comfortable" distro (package manager, etc) like Debian or Centos or will any distro do?
    • Do you need ready to be installed packages?
    • Do you need "some scripting capability" or do you expressly need PHP?
    • Do you know how (and are you willing) to config & compile a kernel?
  • @brian777 said:
    Is there any tutorial install openwrt properly on KVM? i've tried few months ago on virmach vm but always fail recognize the wan interface

    Should work just fine, given that it supports VirtIO, etc.

    https://openwrt.org/docs/guide-user/virtualization/qemu_host

  • https://lowendbox.com/blog/wordpress-cheap-vps-lowendscript/

    The script needs a little tweaking to run on more recent Debian, but still great start.

    Thanked by 1uptime
Sign In or Register to comment.