Skip to main content
Topic: General Unix/Linux Thread (Read 120514 times)

Re: General Unix/Linux Thread

Reply #325
I'm very disapointed that my Ubuntu Mate upgrade, from 15 to 16 version, uses around 40% to 50% ram memory, just for the operative system, instead the usual less than 30%, at the previous version, for my one giga ram memory old laptop.

If it keeps like this, soon, accessing DnD will be the only thing I can do with my computer...
A matter of attitude.

Re: General Unix/Linux Thread

Reply #326
Try other distros with Mate, for example

Mint Mate (next version will arrive in a month or so)
Manjaro Mate

Both have very simple installer walkthroughs.

And then there are lighter desktops than Mate. In my notebook (Atom processor and 1GB RAM) I have taken a look at JWM and I think it could run there nicely https://www.youtube.com/watch?v=1X9L9cTQJ48 (turn the sound off before you click).


Re: General Unix/Linux Thread

Reply #328
If you like basic Windows desktop style, you could give LXDE a try.

Re: General Unix/Linux Thread

Reply #329
What we need is a RAM contest for small window managers.

To give every WM the same conditions I measured the wm's memory with only the wm running plus urxvt - in which I executed the smem command. Additional bars, panels, etc. were not running - only the "core" wm binary. So the results are different than when taking the measurement in the middle of the work, when you have typically opened several different programs. But it will give you an idea.

dwm 2.3M
ratpoison 2.5M
cwm 2.6M
notion 2.9M
fluxbox 4.4M
i3 5.5M
icewm 6.2M
openbox 8.3M
awesome 26.9M
Fluxbox, IceWM and Openbox are probably the least geeky among these. The sad thing is I don't know of an up-to-date distro that would offer these.

Manjaro used to do Openbox, but so many moons ago that if you install it now, it will be a struggle to be able to update.

The best Openbox used to be on Crunchbang, which is abandoned. It has Debian underneath, so if you know Debian well, maybe you can figure it out.

Then there's Arch documentation where you can follow instruction to configure any desktop after you have managed to install Linux. For example https://wiki.archlinux.org/index.php/fluxbox These instructions tend to be Arch-specific though and Arch is hard to install. But they apply to Manjaro too.

I have tried IceWM and DWM for fun. I don't remember where I saw IceWM. I think I downloaded DWM on Ubuntu that I used to have. IceWM was amazingly workable out of the box, but DWM requires much geeky configuring.

Re: General Unix/Linux Thread

Reply #330
@Belfrager: LXDE is based on Openbox. It worked well out-of-the-box on a netbook with 1GB RAM with Debian.

Re: General Unix/Linux Thread

Reply #331
Ah, I remember I booted into Fluxbox once too. It was nice and light and complete out of the box. Very similar to Openbox, but I didn't like the taskbar.

Re: General Unix/Linux Thread

Reply #332
What we need is a RAM contest for small window managers.
To be fair, if you have to load all of GTK+ or Qt/KDE for some program you use then it doesn't really matter if your window manager already preloads it. The author of the post points that out as well.
Quote
The "proportional set size" (PSS) smem reports is the memory the program plus the '"fair share" of each shared area to give a realistic measure.' That means, of course, the program's PSS will shrink the more programs with the same shared libraries will run. So, the RAM usage depends on how much and which other programs you run. In extrem[e] cases it is possible, that you need lesser RAM with a full blown desktop environment with applications which are all linked to the same libraries than with a small wm, but running programs with different shared libraries - e.g. a mix of GTK2, GTK3 and QT4/QT5 programs (emphasis mine).
I don't think your choice of window manager or desktop environment can solve the fundamental problem: modern-day websites are too heavy for old netbooks even though much more complex applications like LibreOffice or GIMP run perfectly fine.

Re: General Unix/Linux Thread

Reply #333
What we need is a RAM contest for small window managers.
To be fair, if you have to load all of GTK+ or Qt/KDE for some program you use then it doesn't really matter if your window manager already preloads it. The author of the post points that out as well.
It may not matter for running the program when you run it, but to me it matters to know that it's exactly that program that eats up the resources. And you will know the resource-hungriness of programs better when your window manager is lighter.

Edit: By the way, Xfce is great in that it allows flexibly changing the window manager to anything. I have heard of people who changed it to i3wm. I myself used Xfce with Openbox for some time. Wait a minute, there was news about Mate too http://segfault.linuxmint.com/2015/09/easier-wm-selection-in-mate-and-xfce/

@Belfrager Maybe you don't need a new installation. You can download a lighter window manager and switch to it inside Mate
https://www.maketecheasier.com/replace-mate-window-manager-with-openbox/ /edit

I don't think your choice of window manager or desktop environment can solve the fundamental problem: modern-day websites are too heavy for old netbooks even though much more complex applications like LibreOffice or GIMP run perfectly fine.
Which is why I have gone through some trouble to try minimal browsers. Elinks and w3m are still the best.

Re: General Unix/Linux Thread

Reply #334
You can download a lighter window manager and switch to it inside Mate
https://www.maketecheasier.com/replace-mate-window-manager-with-openbox/ /edit
Made it but the thing went wrong, had to revert to Mate.

Since the upgrade for 16 that a Nvidia splash screen appears at start up. Maybe that's the culprit for a bigger ram usage, using the Nvidia driver instead the linux one. Never saw before that screen with the old 15 Ubuntu version.
I could change that at the "other drivers" settings but I'm a bit afraid of getting a black screen forever and no way to get out of there... a bit like death.  :lol:
A matter of attitude.

Re: General Unix/Linux Thread

Reply #335
Well, I survided from "death". No changes regarding ram usage.

Next step will be a lighter linux distro.

I start to be tired of computers. Really.
Computers are nothing but another tax for paying for all your entire life.
A matter of attitude.

Re: General Unix/Linux Thread

Reply #336
Well, I survided from "death". No changes regarding ram usage.

Next step will be a lighter linux distro.

I start to be tired of computers. Really.
Computers are nothing but another tax for paying for all your entire life.
There are two solutions (or alleviations rather).

1. Having found a distro that suits the computer very well, don't update.
2. Find a workable rolling-release distro. A rolling-release distro is such that once you install it and it works, you will get updates indefinitely, no need to re-install any new release/version.

Re: General Unix/Linux Thread

Reply #337
1. Having found a distro that suits the computer very well, don't update.
Very true. But I didn't resist, nobody does.
2. Find a workable rolling-release distro. A rolling-release distro is such that once you install it and it works, you will get updates indefinitely, no need to re-install any new release/version.
Interesting, very interesting. Never heard before about those "rolling-release" distros. Not sure if it doesn't gets heavier.

My next (and last) attempt will be http://tinycorelinux.net/intro.html

Thks for your help.
A matter of attitude.

Re: General Unix/Linux Thread

Reply #338
Interesting, very interesting. Never heard before about those "rolling-release" distros. Not sure if it doesn't gets heavier.
My favourite distro - Manjaro - is rolling release. On my netbook I have had Manjaro i3wm constantly updated for about one and half years, it hasn't gotten heavier.

Unfortunately I don't know other rolling distros. Some say Debian is "half-rolling". Not quite sure what this means.

My next (and last) attempt will be http://tinycorelinux.net/intro.html

Thks for your help.
Another reasonable (light on resources) distro that I have tried (but I opted for Manjaro) is wattOS Microwatt edition http://planetwatt.com/new/index.php/downloads/
This one varies. Release 8 was Openbox based on Debian. Right now release 10 has i3wm and is based on Ubuntu.

Edit: Anyway, what Frenzie said about browsers is very significant. My netbook is likely not surviving just because of the distro that I have installed on it, but because I never use Firefox, Chrome or Chromium there. I use Palemoon, Otter browser, Opera 11 and Elinks. I use Seamonkey too, but it occasionally bogs down the system.

Re: General Unix/Linux Thread

Reply #339
I was not able to write tinycore into a bootable usb (disk creator doesn't recognize the iso file) but I did run it from a virtual machine.

Well, it is really very basic and certainly very light on ressources but I imagine that it's also very depending on dominating the command lines on the terminal, something I'm not an expert and don't want to spend most of my time doing it.

My netbook is likely not surviving just because of the distro that I have installed on it, but because I never use Firefox, Chrome or Chromium there. I use Palemoon, Otter browser, Opera 11 and Elinks. I use Seamonkey too, but it occasionally bogs down the system.
I use Firefox for livestream tv (can't run the flash player in any other browser) and it also goes perfectly with TOR (that uses Firefox). More than the browsers the problem seems to be the extremely heavy websites. I would be not surprised bad encoding to be also responsible.

So, I'll keep the Mate distro and will try some tweaking with services that I believe are not needed to load at start up. The first difficulty will be to understand what some of those services are for, I wonder why linux names have to be always so cryptographic....

One thing I've been noticing with this kind of Linux distros, simple problems are... well, simple to solve :) but more complex problems are simply out of reach for the common mortal.
A matter of attitude.

 

Re: General Unix/Linux Thread

Reply #340
I use Firefox for livestream tv (can't run the flash player in any other browser) and it also goes perfectly with TOR (that uses Firefox).
Well, if you need livestream tv, you need something better than a netbook. Maybe a mid-to-high range mobile phone :D

Seriously, those weak netbooks are not good for much these days. They are basically harddrives with a keyboard and a screen, no real processor to handle streams and scripts on the web. It's possible to keep downloaded and typed stuff there, but sometimes it's hard even to view heavier pdf files.

Re: General Unix/Linux Thread

Reply #341
it also goes perfectly with TOR (that uses Firefox).
TOR doesn't use Firefox. Firefox uses TOR. ;)
Hence you can configure any browser whose network settings aren't tied to the network settings of the OS (like IE or Chrome), to use TOR.

I would be not surprised bad encoding to be also responsible.
Doesn't even has to be bad encoding. Heavy load of JavaScript and CSS are the most common causer.

Re: General Unix/Linux Thread

Reply #342
TOR doesn't use Firefox. Firefox uses TOR.  ;)
TOR bundle uses Firefox. It could use any other browser but it doesn't. That being clear, TOR is a network, any browser can use it, I suppose.

About code, I have many doubts about its quality. For some reason it's cheaper to let the users testing than testing the programmers that did it...
A matter of attitude.

Re: General Unix/Linux Thread

Reply #343
Seriously, those weak netbooks are not good for much these days.
I have no netbooks, I have laptops.

One works fine with Ubuntu, the other is more complicated, cd/dvd drive doesn't work anymore and Bios doesn't have usb boot option.
I didn't gave up yet. It seems that a little free program can be activated at start up and recognizes and even labels usb entries for booting options. Need to try it.

The problem is that I'm a low resources usage maniac, very specially when I have low grade machines.
I'm very satisfied with Ubuntu Mate but I want more (in this case, less). :)

A matter of attitude.




Re: General Unix/Linux Thread

Reply #347
Dedoimedo tends to align well my thoughts rather than display some kind of odd enthusiasm about the latest unnecessary software rewrite.

http://www.dedoimedo.com/computers/software-development-cancer.html
Quote
n a nutshell, the system should start quickly and get into a working session. We had this in 2010 or so, with boot times down to mere 10 seconds using init. No flaws, no bugs. Even in the commercial sphere, working with init, I do not recall any major problems.

Then, suddenly, we have this new binary diarrhea with a hundred million modules, and for the past five years, this unstable, half-baked, undebuggable nonsense is the backbone of most Linux distros. The invasive and pervasive nature of the systemd framework has also affected the stability of the user space, the very thing it should never have touched, and pretty much all problems with the quality of the Linux desktop nicely coincide with the introduction of systemd. The development continues, of course, and for no good reason than trying to reach the level of stability, maturity and functionality that we had half a decade ago. Someone landed themselves a lot of monthly pay checks by writing complex code to solve a problem that did not exist.

Re: General Unix/Linux Thread

Reply #348
While testing Fedora 25, I had my first taste of Wayland, and it was when I visited the official page and read the manifesto that it dawned on me. Here we had a new framework, created to make it easier for those developing it to develop it.
The same dawned to me big time when Opera stopped the development of its own engine. Developing something unique from scratch and then maintaining it is hard. To do it, you have to be creative, determined and dedicated. It's much easier to step under the umbrella of some framework where it's been made very easy for you to "create" in a few mouseclicks.

A workable advanced development kit for developers is lovely, in a way. To create a workable development kit is hard. But if the development kit is truly lovely and workable, all sorts of weirdos make use of it for all sorts of nonsense. See the formulaic websites of any corporation that is centred on owning, not producing anything.

The latest edition of intranet in the company where I work is also a good example. It's meant to be my daily work tool, but the developer has no idea what my work consists of nor does he care. Fortunately, I can suggest improvements, but unfortunately the developer has made his job easy with a weird development framework that pre-determines too much. If anyone makes a suggestion of a button or a hole or a menu item in the intranet, the developer can implement it with a few clicks, whereas normal browser things such as mid-click, right-click, informative titlebar, ability to view and edit webpage code and style, etc. are impossible and all requests related to those are overruled. And even though it's easy to add buttons and holes, end users are not granted permission to do it themselves. With an older crappier looking version of intranet, the end users were able to test additions and improvements in the webpage code in their own browser.

This old version was changed because (1) it looked crappy (crappy for most users, while my styled-up and improved version looked splendid and the improvements could be shared liberally) (2) to change anything, the developer had to understand the underlying code, i.e. to actually be a competent developer. This situation of course was deemed untenable and had to end.

Overall, developers who look for ways of not having to develop, which has always been a trend in the corporate world, seems to be gaining upper hand everywhere. It's very sad when this affects Linux.

Re: General Unix/Linux Thread

Reply #349
I suppose Linux being affected by this kind of mindset speaks for its increasing commercial success. It has advantages. Prior to 2010-ish it was just too hard to get Linux to work. Even today I use Xubuntu on my laptop rather than Debian because Xubuntu Just Works™ while Debian doesn't have a working touchpad. Sure, I could figure out which driver to install or compile, and maybe in the vacation I might even consider that some kind of fun activity that teaches me more about my system, but the fact of the matter is when you just need things to work it's actually faster to install (X)Ubuntu instead. Admittedly this is more likely to be related to proprietary drivers than to systemd or some such nonsense, but what has given me a lot of pain is that UEFI nonsense.