Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just having XFCE on the disk will not cause any slowdown. The main thing is to know what processes are getting started. As long as you boot directly into LXDE, the presence of any other DE or WM should not matter.
How do you boot into LXDE? eg do you select it in the login manager? If so, which login manager are you using.
If in doubt, post the output of "cat /etc/inittab"
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Okay, I looked it up, and "%id" means percent idle. So, from mine, I have the following numbers:
6.3%us, 2.0%sy, 0.0%ni, 0.0%wa, 0.3%hi, 0.0%si, 0.0%st which in total equals 8.6. One hundred minus 8.6 equals 91.4, which is my percent idle reading.
By contrast, Parallaxis has 34.8%us, 6.8%sy, 0.0%ni, 0.8%wa, 0.4%hi, 0.2%si, 0.0%st, which, when added, equals 43. This subtracted from 100 gives 57, which is Parallaxis' idle percentage. So, the one out of whack is the 34.8%us figure.
"man top" gives the following explanation of the %us figure:
Code:
us -- User CPU time
The time the CPU has spent running users processes that are not
niced.
I'm not sure what this means, exactly. "niced"? ... hmm, time for another internet search.
Okay, from a search, I got the following:
Quote:
A process "niceness" is an internal numeric value that essentially defines how nice a process is being to the CPU. A low priority process, that sleeps and takes very few processing power (cycles) when active is a "nice" process.
I'm not sure exactly what this means. I also found an incomprehensible description at wikipedia, and a surreal description on the linuxquestions.org wiki from someone who obviously watches too much science fiction. But I digress.
I'm guessing there's just too many processes going on in your machine, for reasons that I still can't figure out. I think these processes are within your Xubuntu system, though, and not the MBA or whatever that you earlier referred to.
pixellany, I've been login in through the Xubuntu menu that comes up with the computer boots up. I mean I guess it's the Xubuntu menu. It has the Xubuntu wallpaper behind it.
The options from there are.... well I can't remember....
Xubuntu Session
Openbox
Something about Gnome
LXDE
Debian sid in LXDE using gdm, and with iceweasel, parcelite, lxterminal, pcmanfn and okular running, 30 second boot time and most apps start instantly including iceweasel/firefox, gimp, openoffice
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Try rebooting back into lxde, and see if that makes any difference. Once you've done that, run top again and see. I suggest rebooting because sometimes processes continue to run if you merely change your desktop environment via gui commands within your current desktop.
Well I just want to make sure we're on the same page....
I'm not sure I'm 'rebooting into Lxde', I'm logging into lxde via the Xubuntu interface thingy. The Xubuntu splash screen comes up then I'm presented with various log in options including lxde. Is that what we're talking about?
Quote:
The biggest thing I have seen with the various *buntus is all the processes that start at boot. Turn off any that you do not actually need.
no, It's not really the OS that has the slow down, it's the applications.
Midori seemed about the same in Lxde and Xfce.
In fact, I want to say that Xfce Midori might have been a tad bit less laggy. But that could be my imagination.
HOWEVER, we HAVE made progress. It is faster than when I started this thread.
So, of all the processes running on my system, it's really only those stemming from the "login" that I've now been actively using. For instance, I'm running fluxbox, and have used wmdrawer to open firefox, kppp, and two xterms. It would be interesting to see what processes are running on your system.
I'm not sure exactly what this means. I also found an incomprehensible description at wikipedia, and a surreal description on the linuxquestions.org wiki from someone who obviously watches too much science fiction.
Any modern multitasking OS kernel (Unix-like ones especially) uses what's called "pre-emptive multitasking", which essentially means that it gives each "task" (process) a certain amount of CPU time to execute before moving on to the next process. The amount of CPU time a process has to execute is typically determined by the process priority, or "importance". The higher the priority, the more CPU time the process gets. A "nice" process is simply a process running at a lower priority and therefore has less CPU time, thus being "nice" to other, possibly more important processes.
SMP convolutes this greatly, as you can literally have more than one process using the same CPU cycles (as you have more than one processing core), but I won't go into details there, mostly because I don't know much about SMP multitasking to begin with.
In other words, one can have tons of processes running, but they're being given very little CPU time (or virtually none at all, as in "sleeping" processes), and so they wouldn't interfere too much with other running processes. It's the active processes that are important. Something's running on the OP's machine that's taking a lot of CPU time, and it's not being "nice" to other processes.
HOWEVER, we HAVE made progress. It is faster than when I started this thread.
If we could just make a tad bit more.
We can---install something like Arch (or any of various other "lean and mean" distros) with a window manager and not a DE.
You mentioned setting up as a "guest machine". that implies that it would only run a few applications. These could be auto-started, so that the user might not need **any** of the convenience features and graphical gimmicks that come the the various DEs.
PS: As someone already observed, Ubuntu is Ubuntu, even if it has an X in front. Ubuntu is designed to be user-coddling, not hardware-friendly
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.