- This topic has 18 replies, 4 voices, and was last updated Jan 11-5:16 pm by BobC.
-
AuthorPosts
-
January 2, 2018 at 12:51 am #4649Moderator
BobC
The 33mb number is under AntiX 17 64 bit full. Under 16.2 32 bit full it is 2.6mb.
Is there a way to configure it to use less memory under AntiX 17?
- This topic was modified 5 years, 4 months ago by BobC.
January 2, 2018 at 1:47 am #4652Anonymous
::v—– After you post to this topic, we can take a look at whatall ya got goin’ on
https://www.antixforum.com/forums/topic/post-your-ps_mem-py-stats/
As you’ll notice from other posted results, SLiM don’t got no belly big enough to handle 33 megaburgers
;^)January 2, 2018 at 7:12 am #4655ModeratorBobC
::Thanks for helping…
This is with 2 mrxvt terminal tabs, mc as root, firefox with 4 tabs, wpa_supplicant, wpa_cli and dhclient for wifi, conky and spacefm with 2 panels and 6 tabs. The desktop is the default Rox-Icewm. I didn’t change anything related to slim, I don’t think. I’m not sure how to diagnose other than to lad the same o/s on another partition with no mods to see if its my tweaks causing it.
148.0 KiB + 39.0 KiB = 187.0 KiB ifplugd 204.0 KiB + 35.0 KiB = 239.0 KiB mem 224.0 KiB + 35.0 KiB = 259.0 KiB gpm 224.0 KiB + 42.5 KiB = 266.5 KiB icewm-session 272.0 KiB + 61.0 KiB = 333.0 KiB init 300.0 KiB + 39.5 KiB = 339.5 KiB acpid 348.0 KiB + 42.5 KiB = 390.5 KiB wpa_cli 296.0 KiB + 95.0 KiB = 391.0 KiB cron 268.0 KiB + 140.5 KiB = 408.5 KiB rpc.idmapd 332.0 KiB + 82.5 KiB = 414.5 KiB irqbalance 368.0 KiB + 115.5 KiB = 483.5 KiB dbus-launch 440.0 KiB + 145.0 KiB = 585.0 KiB rpcbind 376.0 KiB + 230.0 KiB = 606.0 KiB udevil 332.0 KiB + 619.5 KiB = 951.5 KiB avahi-daemon (2) 584.0 KiB + 374.5 KiB = 958.5 KiB gconfd-2 684.0 KiB + 399.0 KiB = 1.1 MiB devmon 892.0 KiB + 199.5 KiB = 1.1 MiB rpc.statd 916.0 KiB + 202.5 KiB = 1.1 MiB mrxvt-mini 788.0 KiB + 427.0 KiB = 1.2 MiB desktop-session 768.0 KiB + 484.5 KiB = 1.2 MiB dbus-daemon (2) 1.1 MiB + 179.5 KiB = 1.2 MiB sshd 920.0 KiB + 404.5 KiB = 1.3 MiB icewmbg 916.0 KiB + 453.0 KiB = 1.3 MiB getty (6) 1.2 MiB + 190.0 KiB = 1.4 MiB bluetoothd 1.0 MiB + 441.5 KiB = 1.5 MiB icewmtray 1.0 MiB + 676.0 KiB = 1.6 MiB polkitd 1.6 MiB + 77.0 KiB = 1.7 MiB rsyslogd 984.0 KiB + 917.0 KiB = 1.9 MiB sudo (2) 2.0 MiB + 79.0 KiB = 2.0 MiB udevd 1.9 MiB + 360.0 KiB = 2.2 MiB bash 2.2 MiB + 684.0 KiB = 2.8 MiB dhclient (2) 2.1 MiB + 849.0 KiB = 3.0 MiB cupsd 2.9 MiB + 109.0 KiB = 3.0 MiB wpa_supplicant 3.8 MiB + 437.5 KiB = 4.2 MiB mc 3.8 MiB + 596.5 KiB = 4.4 MiB console-kit-daemon 3.6 MiB + 872.0 KiB = 4.4 MiB icewm 4.2 MiB + 1.1 MiB = 5.4 MiB conky 4.2 MiB + 4.5 MiB = 8.7 MiB gksu (2) 16.9 MiB + 3.1 MiB = 20.0 MiB rox 26.7 MiB + 5.3 MiB = 32.0 MiB spacefm 32.9 MiB + 789.5 KiB = 33.6 MiB slim 98.9 MiB + 9.3 MiB = 108.1 MiB Xorg 214.6 MiB + 42.9 MiB = 257.5 MiB firefox-esr 378.3 MiB + 36.0 MiB = 414.3 MiB Web Content --------------------------------- 930.0 MiB- This reply was modified 5 years, 4 months ago by BobC.
January 2, 2018 at 8:26 am #4657Forum Admin
anticapitalista
::IIRC you re using hibernate/suspend and not rebooting. Maybe that explains the higher than normal RAM usage of all apps.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
January 2, 2018 at 8:53 am #4658ModeratorBobC
January 2, 2018 at 9:48 am #4661Anonymous
January 2, 2018 at 10:30 am #4663ModeratorBobC
::I rebooted and reran mem. Slim is still taking a lot of memory.
Private + Shared = RAM used Program 148.0 KiB + 39.0 KiB = 187.0 KiB ifplugd 204.0 KiB + 35.0 KiB = 239.0 KiB mem 204.0 KiB + 45.5 KiB = 249.5 KiB icewm-session 228.0 KiB + 33.0 KiB = 261.0 KiB gpm 300.0 KiB + 38.5 KiB = 338.5 KiB acpid 280.0 KiB + 61.0 KiB = 341.0 KiB init 296.0 KiB + 89.0 KiB = 385.0 KiB cron 340.0 KiB + 48.5 KiB = 388.5 KiB wpa_cli 264.0 KiB + 137.5 KiB = 401.5 KiB rpc.idmapd 312.0 KiB + 93.5 KiB = 405.5 KiB irqbalance 364.0 KiB + 117.5 KiB = 481.5 KiB dbus-launch 372.0 KiB + 150.0 KiB = 522.0 KiB xclip 360.0 KiB + 223.0 KiB = 583.0 KiB udevil 444.0 KiB + 149.0 KiB = 593.0 KiB rpcbind 684.0 KiB + 234.0 KiB = 918.0 KiB devmon 356.0 KiB + 598.5 KiB = 954.5 KiB avahi-daemon (2) 580.0 KiB + 409.5 KiB = 989.5 KiB gconfd-2 776.0 KiB + 277.0 KiB = 1.0 MiB desktop-session 888.0 KiB + 214.5 KiB = 1.1 MiB rpc.statd 924.0 KiB + 224.5 KiB = 1.1 MiB mrxvt-mini 1.0 MiB + 189.5 KiB = 1.2 MiB sudo 772.0 KiB + 478.5 KiB = 1.2 MiB dbus-daemon (2) 804.0 KiB + 482.0 KiB = 1.3 MiB su (2) 1.1 MiB + 187.5 KiB = 1.3 MiB sshd 960.0 KiB + 422.5 KiB = 1.4 MiB icewmbg 916.0 KiB + 500.0 KiB = 1.4 MiB getty (6) 1.2 MiB + 224.0 KiB = 1.4 MiB bluetoothd 1.0 MiB + 472.5 KiB = 1.5 MiB icewmtray 1.6 MiB + 86.0 KiB = 1.7 MiB rsyslogd 1.1 MiB + 787.0 KiB = 1.8 MiB polkitd 1.9 MiB + 70.0 KiB = 2.0 MiB udevd 1.8 MiB + 641.5 KiB = 2.4 MiB console-kit-daemon 2.2 MiB + 625.0 KiB = 2.8 MiB dhclient (2) 3.1 MiB + 101.0 KiB = 3.2 MiB wpa_supplicant 1.5 MiB + 1.7 MiB = 3.3 MiB gksu 3.1 MiB + 382.0 KiB = 3.5 MiB cupsd 3.4 MiB + 465.5 KiB = 3.9 MiB mc 3.5 MiB + 1.0 MiB = 4.5 MiB icewm 4.2 MiB + 1.3 MiB = 5.5 MiB conky 6.7 MiB + 1.1 MiB = 7.8 MiB bash (4) 18.4 MiB + 3.4 MiB = 21.9 MiB rox 32.8 MiB + 960.5 KiB = 33.7 MiB slim 96.3 MiB + 8.8 MiB = 105.1 MiB Xorg 165.5 MiB + 49.6 MiB = 215.2 MiB Web Content 209.7 MiB + 56.9 MiB = 266.6 MiB firefox-esr --------------------------------- 706.6 MiBJanuary 2, 2018 at 10:57 am #4664Forum Admin
dolphin_oracle
::chiming in on this.
fresh boot of my 64 bit antiX install to the default rox-icewm desktop gives me a slim usage as reported by ps_mem.py of about 3.7 MiB (total).
If I change desktops by logging out and logging back in, that goes to 15.1 MiB. I did not observe this when using the “change desktops” feature.
January 2, 2018 at 12:10 pm #4666ModeratorBobC
::I did a fresh install to a different partition with no mods at all while eating lunch and the results are similar. I lost some memory because I am using wicd and lxterminal, but slim is still around 33mb
When it boots, I have to give add to the grub boot line:
acpi_osi=! acpi_osi=WindowsOther than that, no changes whatsoever
root@antix17full:/home/bobc# ps_mem.py Private + Shared = RAM used Program 144.0 KiB + 38.0 KiB = 182.0 KiB ifplugd 160.0 KiB + 48.5 KiB = 208.5 KiB gnome-pty-helper 200.0 KiB + 38.5 KiB = 238.5 KiB icewm-session 224.0 KiB + 31.0 KiB = 255.0 KiB gpm 268.0 KiB + 55.0 KiB = 323.0 KiB init 296.0 KiB + 41.5 KiB = 337.5 KiB acpid 292.0 KiB + 89.0 KiB = 381.0 KiB cron 264.0 KiB + 126.5 KiB = 390.5 KiB rpc.idmapd 324.0 KiB + 80.5 KiB = 404.5 KiB irqbalance 368.0 KiB + 106.5 KiB = 474.5 KiB dbus-launch 372.0 KiB + 185.0 KiB = 557.0 KiB udevil 444.0 KiB + 154.0 KiB = 598.0 KiB rpcbind 488.0 KiB + 201.0 KiB = 689.0 KiB antixcc.sh 472.0 KiB + 237.5 KiB = 709.5 KiB su 588.0 KiB + 281.5 KiB = 869.5 KiB gconfd-2 684.0 KiB + 200.0 KiB = 884.0 KiB devmon 316.0 KiB + 602.5 KiB = 918.5 KiB avahi-daemon (2) 744.0 KiB + 258.0 KiB = 1.0 MiB desktop-session 884.0 KiB + 216.5 KiB = 1.1 MiB rpc.statd 1.0 MiB + 189.5 KiB = 1.2 MiB sshd 956.0 KiB + 325.5 KiB = 1.3 MiB icewmbg 1.2 MiB + 171.0 KiB = 1.3 MiB bluetoothd 872.0 KiB + 509.5 KiB = 1.3 MiB at-spi-bus-launcher 896.0 KiB + 488.0 KiB = 1.4 MiB getty (6) 1.0 MiB + 383.5 KiB = 1.4 MiB icewmtray 1.0 MiB + 517.0 KiB = 1.5 MiB polkitd 1.6 MiB + 73.0 KiB = 1.7 MiB rsyslogd 1.1 MiB + 584.0 KiB = 1.7 MiB dbus-daemon (3) 1.9 MiB + 72.0 KiB = 2.0 MiB udevd 1.8 MiB + 471.5 KiB = 2.3 MiB console-kit-daemon 2.7 MiB + 88.0 KiB = 2.8 MiB wpa_supplicant 2.2 MiB + 635.0 KiB = 2.9 MiB dhclient (2) 2.7 MiB + 401.0 KiB = 3.1 MiB at-spi2-registryd 3.2 MiB + 357.0 KiB = 3.5 MiB cupsd 3.3 MiB + 459.0 KiB = 3.7 MiB mc 2.4 MiB + 2.0 MiB = 4.4 MiB gksu (2) 3.6 MiB + 1.1 MiB = 4.7 MiB conky 5.1 MiB + 763.5 KiB = 5.9 MiB icewm 5.0 MiB + 2.4 MiB = 7.4 MiB lxterminal 6.7 MiB + 1.0 MiB = 7.7 MiB bash (4) 7.2 MiB + 2.2 MiB = 9.4 MiB wicd-monitor 9.8 MiB + 985.0 KiB = 10.8 MiB wicd 8.1 MiB + 3.1 MiB = 11.2 MiB gtkdialog 7.8 MiB + 4.2 MiB = 11.9 MiB volumeicon 21.2 MiB + 4.6 MiB = 25.8 MiB wicd-client 32.9 MiB + 740.5 KiB = 33.6 MiB slim 36.0 MiB + 2.5 MiB = 38.6 MiB rox 101.0 MiB + 9.0 MiB = 110.0 MiB Xorg 169.6 MiB + 33.2 MiB = 202.8 MiB Web Content 185.5 MiB + 38.3 MiB = 223.8 MiB firefox-esr --------------------------------- 751.2 MiBJanuary 2, 2018 at 1:41 pm #4674ModeratorBobC
::I did some experimenting and if the background is changed to a very small .png file the memory for slim usage drops to about 4 mb
Attachments:
January 2, 2018 at 3:14 pm #4678Anonymous
::While the high memory consumption existed, what was the assigned background?
? Was it the stock /usr/share/slim/themes/antiX/background.jpg.
related (I forgot to mention in the “lightweight” topic):
I’ve noticed that the existence of “tray icons” and “desktop icons” can consume 1MB each.
The overhead is due to cached pixbufs when comparatively large png imagefiles are used, vs tiny xpm resource files.
(BTW: by default, fluxbox will only cache 200kb of xpm resources)January 2, 2018 at 3:41 pm #4681ModeratorBobC
::I could swear that I replaced (and removed background.jpg) with a very simple background.png and the memory use dropped to about 4 mb, but its back to 33-35 range again, on both the fresh install and my tweaked system.
Sometimes things make no sense…
January 2, 2018 at 3:47 pm #4683Anonymous
::i am reading https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=slim;dist=unstable
edit:
{headscratch}https://packages.debian.org/stretch/slim
Package: slim (1.3.6-5.1)Until today, I didn’t notice that antiX is shipping a custom-packaged version of SLiM.
/etc/apt/sources.list.d/antix.list
# Use with Debian Stable/stretch repositories. Set as default for antiX-17. Note new repos
deb http://repo.antixlinux.com/stretch stretch main nosystemd
deb-src http://repo.antixlinux.com/stretch stretch main nosystemdapt-get source slim
oops, AFAICT, no source package is available is available from antiX repo (so, we can’t gauge whether any of these are applicable)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817787
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839949
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617456
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751618 {—-
https://sources.debian.org/patches/slim/1.3.6-5.1/slim-fix-env-alloc.patch/
but clearly something is amiss$slim -v slim version: 1.3.4$dpkg-query -s slim [...] Version: 1.3.6.9+nmu1January 3, 2018 at 6:42 am #4692Forum Admin
anticapitalista
::antiX is shipping an old customised version of slim since the 1.3.6 versions removed the F1 toggle when using a session. It was changed to session_dir since slim 1.3.6 now looks there ie /usr/share/xsessions to auto-detect any window managers). However, this does not pick up an Rox/Space/min options and we would have to edit those session files to work with antiX.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
January 3, 2018 at 11:09 am #4694Forum Admin
anticapitalista
::I updated the github source of the slim version used on antiX.
https://github.com/antiX-Linux/slim-antix
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
-
AuthorPosts
- You must be logged in to reply to this topic.


