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.
model name : Intel(R) Celeron(R) CPU 2.80GHz
cpu MHz : 1862.000
Without a bit more detial, I'd guess you have an old 2.8GHz Pentium 4 based celeron. Either your CPU is throttled down due to heat, or you are running the wrong front side bus.
If it is a old 2.8GHz celeron they are slower drunken sloth.
But to be sure about the model, could you run this command and paste its output here-
lshw
Please post the output using 'code' tags as lshw has a long output and it makes the forum a mess if you just paste it into a post. The code tags are the '#' above the posting area.
--Gutenprint is updated.
--foomatic-db-gutenprint also installed
test page is still not printed, New: no error message
Instead:
Canon_MX470_series-339 completed at Wed Jun 28 00:20:09 2017
Canon_MX470_series-338 completed at Wed Jun 28 00:07:07 2017
(CUPS)
--autoremove and autoclean
done (some 60 MB data removed), no difference with browser-performance
I do not have many tabs opened, btw no big difference in performance with even 8 tabs open
-- how do I change to another Desktop system?(sorry, I have no idea how to do that)
I am using KDE Plasma Desktop
greetings
Rom
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
KDE plasma is the most resource intensive desktop environment. Also, firefox does vacuuming, where it sorts out all the cache information, dumps to swap if necessary, and cleans itself up. You can try putting the browser cache in a ram drive, using a script, like so:
Code:
#!/bin/bash
mount -t tmpfs -o size=512m tmpfs /usr/src/ram
exit 0
echo "OOPs, something went wrong!"
But change 512m to something more reasonable for the amount of ram you have.
Then open the page "about:config" in firefox and set "browser.cache.disk.capacity" to the size of your ram drive as specified in the script.
Set "browser.cache.disk.parent_directory" to the mount point of the ram drive as specified in the script.
Unset "browser.cache.disk.smart_size.enabled" and all the other smart_size related entries.
That might help. I wouldn't make the ram drive larger than 1/8 the size of ram. So, if you have 2 GB of ram, you would change 512m to 64m.
You can leave "/usr/src/ram" the same. You just have to make that directory.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
That's interesting AwesomeMachine. Sometimes I have issues with Firefox, given the old netbook I use. So I may try the script thing. Anyway, rom77, perhaps cleaning the cache may help (can do this under "History" in Firefox). Another suggestion I found was to check "Use hardware acceleration when available" under Edit/Preferences/Advanced/Browsing (see https://support.mozilla.org/en-US/kb...fox#w_browsing). I've just checked this myself, to see if it will help with the issues I myself sometimes have with Firefox.
Regarding setting up a new desktop environment, as others have mentioned, this is not too hard to do. Some of them come in "meta-packages", which are a collection of packages that sets up the basic desktop (see xfce4). If you install that (IE, "apt-get install xfce4") then upon rebooting you should see, when logging back in, that you can choose to log into xfce4 rather than kde. It may or may not help, but worth a try.
About your printer, perhaps it will work when you reboot. If not, I'm puzzled why. Did you set it up at http://localhost:631/admin ? If it is there but not working, perhaps you could troubleshoot it at http://localhost:631/printers/
Last edited by mark_alfred; 06-27-2017 at 10:56 PM.
If it's so noticeably slow for you, then you need to bite the bullet and buy a new machine.
If you're tight on money, you can look into used ones, there are probably a lot of used computers that still are a lot more powerful than yours available for much less than you'd spend on a new one. I probably wouldn't buy one from an individual, but from a reputable company that restores computers and tests them thoroughly. I bought one from such a company, and it arrived like it was brand new, except it was in a plain brown box, not an Apple box.
The next computer I'll probably buy is a last version of the old Mac Pro. I simply don't like the new ones. Unless my laptop blows up and I have to replace it. I pray it doesn't.
xfce is installed and running. Looks good.
Problems start with browsing.
-firefox => cpu at least 74 % (top) only two tabs opened,
@AwesomeMachine
sounds interesting, but sorry, I am not (yet) used to implementing scripts. Do you have some patience to help me further?
--How do I get the script of yours running?
--what about my ram? Where can I change that?
I just make a directory "ram" at /usr/src right? As root?
qoute root@griffon:/usr/src# ls -a . .. /qoute
and how do I do this:
Code:
Set "browser.cache.disk.parent_directory" to the mount point of the ram drive as specified in the script.
the entry (browser.cache.disk.capacity) should be 512 or 64? It was ( 358400)(!)Now 512.
"browser.cache.disk.smart_size.enabled" I put it on false
The same with
"browser.cache.disk.smart_size.first run"
"*.use old max"
"*.cached value"
"*_cached_value" is set to 512
You see, I use debian for years, but after having installed it, there was never a bigger problem and Í now just email and watch films via youtube (with my kids)
;-)
Firefox with new entries in "browser.cache.*" still the same problems
Dude, this is at least the second time you've asked about this.
If you want a faster computer, BUY ONE, nobody here is going to buy one for you!
EDIT:
If I'm wrong, and there are such angels among us, I'd like a brand new top-of-the-line MacBook Pro plus a top-of-the line refurbished last model of the old Mac Pro, the large aluminum beast that has slots!
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Regarding AwesomeMachine's post (#21), I don't know about setting up the script as he/she describes, but I did note his/her suggestion to limit the cache to 64MB. There is a way to do that via the preferences. So, in Firefox, select Edit/Preferences/advanced/network, and you'll see where it says "Cached Web Content". Press "Clear Now", then check "Override automatic cache management", and specify to limit the cache to 64MB. I just enabled this on my Firefox Browser. I don't know if it will help, but doesn't hurt to check, I figure.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Also, regarding Firefox, I just discovered that removing unnecessary addons is helpful. Overtime I had installed various addons that I never use. So, they just sit there taking up energy. I removed about five of them (via Tools/Add-ons) and this has helped. Firefox will still consume loads of CPU when it first starts, but will settle into a more relaxed mode quicker. So, if you have a lot of addons installed that you don't need, try removing them and see.
@mark alfred
Thanks for helping.
I set
Edit/Preferences/advanced/network/Cached Web Content
to 64m
and well there seems to be a difference! CPU load is less than 80 %sometimes down t0 20%
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.