Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Desktop for 512MB RAM

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
Kurmis
n00b
n00b
User avatar
Posts: 47
Joined: Fri Jun 04, 2010 12:39 pm
Location: LV
Contact:
Contact Kurmis
Website

Desktop for 512MB RAM

  • Quote

Post by Kurmis » Sun Jan 05, 2025 8:52 pm

Good day experts.

I have old Pentium4 laptop with 512MB RAM.
It seems that this will be still enough for dump1090 service.
I wanna also simple desktop, terminal, mc, text editor , nm-applet .
My candidates for now are x11-wm/e16 , x11-wm/enlightenment , x11-wm/fluxbox .

Code: Select all

* x11-wm/enlightenment
     Available versions:  (0.17) 0.26.0(0.17/0.26.0)
       {acpi bluetooth connman doc exif geolocation nls pam policykit systemd udisks wayland xwayland}

* x11-wm/e16
     Available versions:  1.0.25-r1 1.0.29
      {+alsa audiofile dbus debug +dialogs doc examples gnome libhack modules nls no-container opengl +pango player +poll pulseaudio select +sndfile sound +themes xcomposite +xft xi2 xinerama xpresent +xrandr +xrender +xsm +xsync zoom}

* x11-wm/fluxbox
     Available versions:  1.3.7-r5^t {bidi +imlib nls +slit +systray test +toolbar +truetype vim-syntax xinerama}
     Homepage:            http://www.fluxbox.org
     Description:         X11 window manager featuring tabs and an iconbar
Which one eat less RAM, which one (probably) will be supported longer ... ?

According https://www.enlightenment.org/ :
We have included common features such as a terminal emulator (Terminology), video player (Rage), a photo viewer (Ephoto), and even the makings of an IDE (EDI). We have a basic text editor (Ecrire), a process monitor (Evisum), simple image viewer (Entice), a screen magnifier/measuring tool (Eruler) and more.

Code: Select all

$ eix terminology
* x11-terms/terminology
     Available versions:  1.13.0 {extras nls}
     Homepage:            https://www.enlightenment.org/about-terminology
     Description:         Feature rich terminal emulator using the Enlightenment Foundation Libraries
How can i know wheter terminology (and another packages) is compatible with e16 or with enlightenment-26


For now i have on another Pentium4 desktop with 2GB RAM installed stage3-i686-systemd-20241209T170323Z.tar.xz without GUI.

Code: Select all

$ free
               total        used        free      shared  buff/cache   available
Mem:         2017188      214692     1896624         676       86628     1802496
Swap:              0           0           0
Without GUI it already need ≈200MB RAM.
Is here any way to reduce RAM eating ?

Thanks in advance @ all
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Sun Jan 05, 2025 9:20 pm

I don't know any of DE you mentioned so I cannot comment on them.

However based on you idea of small memory footprint. What is your idea of Desktop Environment (DE) is?

You may not need a DE, may be just individual X applications will be sufficient for your need. I.E. XServer(Xorg), twm (Window Manager), Xterm (Terminal app). And may be some script to manage network.
Top
user
Apprentice
Apprentice
Posts: 245
Joined: Sun Feb 08, 2004 4:57 pm

Re: Desktop for 512MB RAM

  • Quote

Post by user » Sun Jan 05, 2025 9:57 pm

Hi Kurmis
Kurmis wrote:Which one eat less RAM, which one (probably) will be supported longer ... ?
I can provide memory stats for daily workhorse X+fluxbox over two decades only. Fluxbox support from original author is questionably but hey it is open-source.

Code: Select all

# ps o size,rss,vsz,comm $(pgrep X$) $(pgrep fluxbox)
 SIZE   RSS    VSZ COMMAND
154188 244404 1291284 X
 2760 12072  20072 fluxbox
Kurmis wrote:Is here any way to reduce RAM eating ?
One step is to identify memory usage per process.

Code: Select all

# ps -eo user,pid,size,rss,vsz,comm --sort -rss
Top
bstaletic
Guru
Guru
Posts: 517
Joined: Sat Apr 05, 2014 5:46 pm

  • Quote

Post by bstaletic » Sun Jan 05, 2025 10:15 pm

For such a limited system, I'd go for something even smaller than fluxbox, like dwm.
Fair warning: dwm is not anything like a usual desktop.

Code: Select all

 SIZE   RSS    VSZ COMMAND
47656 46024 302660 X
  856  6812  14740 dwm
Top
Zucca
Moderator
Moderator
User avatar
Posts: 4690
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Mon Jan 06, 2025 1:32 am

bstaletic wrote:I'd go for something even smaller than fluxbox, like dwm.
... Speaking of... I wonder if dwl is even lighter on resources? I mean being able to drop the whole X could make it quite light... I haven't measured, so just a thought.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
sublogic
Guru
Guru
User avatar
Posts: 386
Joined: Mon Mar 21, 2022 3:02 am
Location: Pennsylvania, USA

  • Quote

Post by sublogic » Mon Jan 06, 2025 2:59 am

There is also x11-wm/ctwm . Not a desktop environment, just a window manager with multiple workspaces. You install X applications separately, as pingtoo said.
Top
skellr
Veteran
Veteran
User avatar
Posts: 1037
Joined: Sat Jun 18, 2005 1:34 am
Location: The Village, Portmeirion

Re: Desktop for 512MB RAM

  • Quote

Post by skellr » Mon Jan 06, 2025 3:41 am

Kurmis wrote:How can i know wheter terminology (and another packages) is compatible with e16 or with enlightenment-26
They are not a part of e16, but made for e17+ (e26). You will need to install the EFL toolkit to use them with e16. They are separate from e16 but also not incompatible, just an extra toolkit like with GTK or QT applications.

EFL is used in embedded devices and is a bit lightweight but the Enlightenment WM might be a bit much for your system. It is a bit slower to start and has some "bling" like startup sounds and compositing. I don't know if you can disable compositing on recent versions of Enlightenment but you can disable the window and transparency effects in the options.

I would try all three of your candidates. You should be able to install all of them without conflict.

You may want to consider disabling truetype fonts and use bitmap fonts. Bitmap fonts take a lot less resources to render and it will make a huge difference in application loading times. Disable font scaling for bitmap fonts and try to use them at the pixel size they were made for and they will look better. Truetype fonts are "heavy".
Top
bstaletic
Guru
Guru
Posts: 517
Joined: Sat Apr 05, 2014 5:46 pm

  • Quote

Post by bstaletic » Mon Jan 06, 2025 9:09 am

sublogic wrote:There is also x11-wm/ctwm . Not a desktop environment, just a window manager with multiple workspaces. You install X applications separately, as pingtoo said.
Well, I got nerdsniped...

Wayland:

Code: Select all

 SIZE   RSS    VSZ COMMAND
  336  1844   2712 seatd
  340  1604   3004 dbus-run-sessio
  344  2896   4304 dbus-daemon
48692 50092 824296 dwl
35688 18676 836872 foot
10296 13540  94140 wmenu-run
X11:

Code: Select all

 SIZE   RSS    VSZ COMMAND
50972 49108 318264 X
  856  7344  14740 dwm
 2192  8724  17020 st
 1436  7824  15220 dmenu
I've included dbus and seatd on the wayland side only, because those wouldn't be running on my system if I were not trying dwl.
Top
Banana
Moderator
Moderator
User avatar
Posts: 2378
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Mon Jan 06, 2025 9:20 am

Just for getting ideas what to run or even maybe use them:
http://www.slackware.com/
http://tinycorelinux.net/
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
Zucca
Moderator
Moderator
User avatar
Posts: 4690
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Mon Jan 06, 2025 12:06 pm

bstaletic wrote:X11:

Code: Select all

 SIZE   RSS    VSZ COMMAND
50972 49108 318264 X
  856  7344  14740 dwm
 2192  8724  17020 st
 1436  7824  15220 dmenu
Quite a much lighter on memory then.
I was surprised by the... footprint of foot.
X still using the most, by a long shot. But I guess that's not a any significant amount. Next step would be tinyX.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Adel Ahmed
Veteran
Veteran
Posts: 1616
Joined: Fri Sep 21, 2012 7:59 am

  • Quote

Post by Adel Ahmed » Mon Jan 06, 2025 12:56 pm

fluxbox is the lightest of those 3, in light of such contrained memory, might i recommend icewm which uses even less memory and comes with its own panel.
here are some things I do to reduce memory consumption taht have little impact on my daily usage:
- for a terminal emulator st uses around 4mb memory , no tab support though
- for the text editor vim,once you get used to it it's not too bad
- i use busybox sh instead of bash(set in /etc/passwd, i compile custom options in busybox so I save around 05-1mb per shell open)
- dropbear instead of openssh saves me another megabyte I think
- use busybox inetd, will save you whatever amount of memory for listeneners you have running(it takes up 160k memory)
- also note if your setup is eating 200M on a 2GB machine, it will eat up less on a 512MB machine
- i have been testing wayland on a modern machine, while ps reports less memory usage than xorg+icewm, free -m reports more memory usage
Top
Zucca
Moderator
Moderator
User avatar
Posts: 4690
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Mon Jan 06, 2025 6:14 pm

Adel Ahmed wrote:- for a terminal emulator st uses around 4mb memory , no tab support though
Fluxbox, for example, can "tab windows". ;)
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Adel Ahmed
Veteran
Veteran
Posts: 1616
Joined: Fri Sep 21, 2012 7:59 am

  • Quote

Post by Adel Ahmed » Tue Jan 07, 2025 8:26 am

thanks zucca.
there is also tabbed from suckless which can tab st and other programs with xembed
I've been looking at ways to cut back the memory consumption of X, I've been looking for a window manager to run on the framebuffer, wayland compositors use up alot of memory unfortunately
I also found:
https://github.com/tinycorelinux/tinyx

which I am to test
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Jan 14, 2025 12:23 am

As an example LDXE desktop logged at <190 Mb with NM & WPA running:
Slim down kernel, activate CONFIG_TRIM_UNUSED_KSYMS. favor size over speed.
Compile packages with -Oz, with lto when smaller, with no-semantic-interposition when smaller.

As systemd has been mentioned, unsure which of openrc and systemd is best in this regard.

Off topic: an ebuild for tinyx would be welcome if available 8).

Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
saturnalia0
Apprentice
Apprentice
Posts: 172
Joined: Thu Oct 13, 2016 3:09 am

  • Quote

Post by saturnalia0 » Fri Jan 24, 2025 5:00 pm

I have used a 512MB ThinkPad with Gentoo for several years, with suckless' dwm as the WM of choice, and no DE. Never had any issues with RAM or sluggishness.
Top
Post Reply

15 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic