Help for a linux newby

Message boards : Number crunching : Help for a linux newby
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20258
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1970854 - Posted: 18 Dec 2018, 1:13:28 UTC - in response to Message 1970836.  

The Ubuntu forums have your answer:

Setting to High Performance

There's two very good solutions given there:

* One using commands (as root or "sudo") on the commandline to directly tweak the running kernel;
* Or better, do the install of "indicator-cpufreq" to tweak however you like from the desktop notifications panel.


Yes I had already see that 3 year old post, when I tried the command it says "performance powersave not found."

When I installed the "incicator-cpufreq" it crashed within a minute.

I do not think anything I have found applies to Ubuntu 10.04.1 LTS

It really isn't that important, I wasn't expecting much from Linux, it is just a stopgap till the new year when I will have the time...

Mmmm... Quite odd.

I'm assuming you really mean 18.04.1 LTS? (The 10.04 is from rather long ago...)


If you keep to the normal repositories, then things should just simply work...

From this article "Tips to Speed up Ubuntu", there is:

sudo apt-get install indicator-cpufreq


Restart your computer and supposedly you get a nice graphical display on your Gnome desktop to see and set the cpu frequency...

There's lots more in "Set CPU governor to performance in 18.04" that runs through multiple methods and how to override the Ubuntu defaults automatically after boot up. (And then there will be some magical systemd way of doing things but that's for others to explore!)


Hope you get better luck on the 'morrow!

Happy crunchin',
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1970854 · Report as offensive
Profile Tom M
Volunteer tester

Send message
Joined: 28 Nov 02
Posts: 5124
Credit: 276,046,078
RAC: 462
Message 1970884 - Posted: 18 Dec 2018, 6:13:40 UTC - in response to Message 1970628.  


Interesting side note, I installed Unbutu 18.04 on a much older machine that I use to access the internet while playing games, it has trouble running Win 10

Well it has a lot more trouble running Ubuntu, it went from "slow" to almost unusable, just running Firefox on 3 or 4 tabs.

Better when I installed Chrome, but slower than the same in Windows. I thought that Linux was better for older machines as it had less overheads.


There are versions of Linux that are specifically geared to run on older machines. I don't believe stock Ubuntu is one of them.

https://www.google.com/search?client=ubuntu&channel=fs&q=Linux+for+old+machines&ie=utf-8&oe=utf-8

Tom
A proud member of the OFA (Old Farts Association).
ID: 1970884 · Report as offensive
Profile Gary Charpentier Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 25 Dec 00
Posts: 30637
Credit: 53,134,872
RAC: 32
United States
Message 1970893 - Posted: 18 Dec 2018, 7:01:02 UTC - in response to Message 1970823.  

(Reminds me, we really need an option in Boinc for the user to easily be able to set the run priority of Boinc...)

If that is even possible given modern linux scheduler only uses nice values to compare inside a process group and each different process group is treated as equal, except for realtime process groups. So BOINC's attempts to run nice are generally useless as they can't nice. Oh it is possible to flip a switch an recompile the kernel to get old scheduling policy where nice meant system wide nice, but that is a bit much to ask a BOINC set and forget user to do.
ID: 1970893 · Report as offensive
Profile Bernie Vine
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 26 May 99
Posts: 9954
Credit: 103,452,613
RAC: 328
United Kingdom
Message 1970897 - Posted: 18 Dec 2018, 7:30:58 UTC

Mmmm... Quite odd.

I'm assuming you really mean 18.04.1 LTS? (The 10.04 is from rather long ago...)


If you keep to the normal repositories, then things should just simply work...

From this article "Tips to Speed up Ubuntu", there is:

sudo apt-get install indicator-cpufreq


Restart your computer and supposedly you get a nice graphical display on your Gnome desktop to see and set the cpu frequency...

There's lots more in "Set CPU governor to performance in 18.04" that runs through multiple methods and how to override the Ubuntu defaults automatically after boot up. (And then there will be some magical systemd way of doing things but that's for others to explore!)


Yes I meant 18.04.1LTS,(fat fingers) if you read my post you will see I did install the indicator-cpufreq and it crashed within a minute.

I restarted and it seem to work, however now with only Aricebo data crunched since taking over 5 hours for a single WU I think I will give it up and just crunch on the 970.

I have no desire at my age to try to learn a new system that relies on typing commands. With older fingers and eyes it is easy to make mistakes as I did on another install of Ubuntu and now the machine no longer boots at all.

I have seen many posts here about trying to get the most from Linux, and noticed that mistakes are often made.

I know Windows and despite what many here say Win 10 is the best operating system for me.
ID: 1970897 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1970903 - Posted: 18 Dec 2018, 8:42:27 UTC

Your advice to try and use indicator-cpufreq was incorrect unfortunately. That cannot be used on any version of Ubuntu past Precise which Bionic Beaver is most certainly well past.

Your tools for 18.04 should have been to install
sudo apt-get install cpufrequtils
and then install the Gnome Shell Extensions.
sudo apt install gnome-shell-extensions


Then go to either the Firefox Addons page and navigate to Gnome Shell Integration and add that Addon.
Or go to the Chrome Store and the Extensions page and search for the Gnome Shell Integration extension and add it to Chrome/Chromium.
Then install the Gnome Shell Host connector
sudo apt install chrome-gnome-shell


Then reboot the browser, either Firefox or Chrome/Chromium and navigate to https://extensions.gnome.org/ and search for CPU:

Choose the cpufreq applet by konkor which is compatible with 18.04. https://extensions.gnome.org/extension/1082/cpufreq/ Notice the ON/OFF slider button in the top corner of the page. Slide it to ON and you should get an Install message. Click Install and you should get the cpufreq applet in the notification area top bar.

With the applet it will show you your current cpu clocks and the frequency governor in use right now. The menu offers you a choice to change the governor from PowerSave to Performance. The governor change is immediate. But it will not survive a reboot unless some major startup scripts are permanently changed. Linux like to run the initial Desktop load in PowerSave mode and waits 120 seconds after booting before any governor mode choice can be selected normally.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1970903 · Report as offensive
Profile Bernie Vine
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 26 May 99
Posts: 9954
Credit: 103,452,613
RAC: 328
United Kingdom
Message 1979856 - Posted: 11 Feb 2019, 7:48:24 UTC
Last modified: 11 Feb 2019, 7:49:25 UTC

Just thought I would post a quick update.

After 2 months of Linux I admit I just cannot get on with it, I am a Windows fanboy and that is that.

To old to bother trying to learn a new OS.

So after a bit of thought I decided to see if a total re-install of Win 10 would work, to my surprise it did, not only that but I was able to install the latest Nvidia driver, something I haven't been able to do on this machine for over a year.

So as I suspected it was a long standing problem with the Win 10 install.

Of course I now have to get Windows back to the way it was but as this is my number 2 machine there is no rush.

Have to see how it goes but I am much happier now. Feels like I got an old friend back :-)
ID: 1979856 · Report as offensive
Previous · 1 · 2

Message boards : Number crunching : Help for a linux newby


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.