LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux is NOT freezing randomly - what could I be doing wrong? (https://www.linuxquestions.org/questions/linux-newbie-8/linux-is-not-freezing-randomly-what-could-i-be-doing-wrong-4175603719/)

scottm7 04-13-2017 10:03 AM

Thanks!

Although I've been a software engineer a long time, I really am new to Linux so I only used the defaults. I'll refer to this thread later and see if I want to allocate more resource to it.

These are my steps:

1. I used the following command to install the application from the repository:
sudo apt-get install boinc-client boinc-manager

2. I went to https://boincstats.com/en/bam/register and created an account

3. I added the following projects to BOINC:
- Attempt to decode 3 original Enigma messages. The signals were intercepted in the North Atlantic in 1942 and are believed to be unbroken.
- The parasite that causes malaria continues to evolve resistance to available medication. We therefore urgently need to discover new drugs, targeting new proteins in the parasite. The FiND@Home project is aimed at finding these new targets.
- Research in physics, material science, and biomedicine
- The Large Hadron Collider (LHC) is a particle accelerator at CERN, the European Organization for Nuclear Research, the world's largest particle physics laboratory. It is the most powerful instrument ever built to investigate on particles proprieties. LHC@home runs simulations to improve the design of LHC and its detectors.
- To further critical non-profit research on some of humanity's most pressing problems by creating the world's largest volunteer computing grid. Research includes HIV-AIDS, cancer, tropical and neglected diseases, solar energy, clean water and many more.

It looks like only "Atlas Simulation" is running and "SixTrack" and "Theory Simulation" are "Waiting to run"

Does that look sensible?


Edit: I meant to type 5 projects

scottm7 04-13-2017 10:18 AM

I looked up some commands to display my hardware if you determine that I should set custom settings for BOINC. I know I can really damage something (possibly even more than my operating system) if I were to allocate too many resources to anything.

Using command:
lscpu

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 94
Model name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Stepping: 3
CPU MHz: 4199.843
CPU max MHz: 4200.0000
CPU min MHz: 800.0000
BogoMIPS: 8016.72
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp

wraithe 04-13-2017 10:19 AM

Quote:

Originally Posted by scottm7 (Post 5696465)
Thanks!

Although I've been a software engineer a long time, I really am new to Linux so I only used the defaults. I'll refer to this thread later and see if I want to allocate more resource to it.

These are my steps:

1. I used the following command to install the application from the repository:
sudo apt-get install boinc-client boinc-manager

2. I went to https://boincstats.com/en/bam/register and created an account

3. I added the following projects to BOINC:
- Attempt to decode 3 original Enigma messages. The signals were intercepted in the North Atlantic in 1942 and are believed to be unbroken.
- The parasite that causes malaria continues to evolve resistance to available medication. We therefore urgently need to discover new drugs, targeting new proteins in the parasite. The FiND@Home project is aimed at finding these new targets.
- Research in physics, material science, and biomedicine
- The Large Hadron Collider (LHC) is a particle accelerator at CERN, the European Organization for Nuclear Research, the world's largest particle physics laboratory. It is the most powerful instrument ever built to investigate on particles proprieties. LHC@home runs simulations to improve the design of LHC and its detectors.
- To further critical non-profit research on some of humanity's most pressing problems by creating the world's largest volunteer computing grid. Research includes HIV-AIDS, cancer, tropical and neglected diseases, solar energy, clean water and many more.

It looks like only "Atlas Simulation" is running and "SixTrack" and "Theory Simulation" are "Waiting to run"

Does that look sensible?


Edit: I meant to type 5 projects

What you decide is for you, is the best way to go...LHC has been a good project...

The enigma codes where broken a while ago, I am not sure if they are attempting more undecoded codes but the project seems to be active...

Boinc will down load as much work as you allow it to, I usually run only a few days worth as I sometimes switch between projects...

My laptop process's at a higher rate than the benchmarks that it registered for, as I throttle back the cpu when running benchmarks...

BOINC will run on almost any platform...

If you want to check your cpu, run this(in a terminal):

cpupower frequency-info

also for temp you you could install:

https://askubuntu.com/questions/1583...pu-temperature

Thats for Ubuntu but should be the same in MINT...

Above all else, have fun and enjoy the BOINCing.. :-)

wraithe 04-13-2017 10:28 AM

Quote:

Originally Posted by scottm7 (Post 5696469)
I looked up some commands to display my hardware if you determine that I should set custom settings for BOINC. I know I can really damage something (possibly even more than my operating system) if I were to allocate too many resources to anything.

Using command:
lscpu

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 94
Model name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Stepping: 3
CPU MHz: 4199.843
CPU max MHz: 4200.0000
CPU min MHz: 800.0000
BogoMIPS: 8016.72
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp


You cant damage anything with boinc unless you have a cooling issues, like fans not working or your cpu hasn't had the heat transfer paste done when installed, or maybe its been years since it was last done...

BOINC primarily uses SSE3 instructions, there are some projects that will use the gpu instruction sets and a few that utilize the SSE4.? instructions... Some older projects, before SSE4.?, utilized amd 64 instruction sets, but I haven't noticed any of late...

As you can see below, my cpu is throttled back on its own, that keeps things stable, 3.0ghz is fine and quick, mind you turbo has it at 3.4ghz, but temp is kept down by the lower speed...

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 60
Model name: Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz
Stepping: 3
CPU MHz: 3086.812
CPU max MHz: 3400.0000
CPU min MHz: 800.0000
BogoMIPS: 4789.11
Virtualisation: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts


If you run turbo, then your cpu will increase temps somewhat, but the system is self protecting, its when you start overclocking, that things can get dangerous, just dont overclock and it will run like a dream...

scottm7 04-13-2017 10:31 AM

Thanks! I see it's not OS specific but I really don't a lot about linux resouce and how it uses resouces other than what I've read in general (which is seem not to be so intensive and overcomplicated like windows). I know how to open System Monitor :) LOL

Using Commands:
sudo apt install linux-tools-common
sudo apt-get install linux-tools-4.4.0-53-generic
sudo apt-get install linux-cloud-tools-4.4.0-53-generic
sudo apt-get install linux-tools-generic
sudo apt-get install linux-cloud-tools-generic
cpupower frequency-info

Yielded:
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 0.97 ms.
hardware limits: 800 MHz - 4.20 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 800 MHz and 4.20 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 4.20 GHz.
boost state support:
Supported: yes
Active: yes

wraithe 04-13-2017 11:26 AM

Its not a case of windows being complicated, more a case of them being so secretive...

There was a book written years ago called "Operating Systems"(my memory is getting worse as I get older, so hopefully i got that name right)...
It was more than worth the read, it had visual as well as, well written information on the architecture of the operating systems and the break down of there functions and procedures..

Microsoft worked on a simple system of stacking each level on top of each other, thus the kernel, then another level, like the functions for drives etc, then the graphics then the desktop... Where linux had the kernel, then it would split into several stacks, each one independent of the other, so if your desktop went down, your network connection was not effected, or the cd drive died your desktop kept working... Thus the reason why windows, when it locks up, it kills everything...

But as I said above, I suffer oldtimers, so I can visualize the system, but cant explain it so well...

Another point I may add is, the bios on a linux system, just tells linux where the drive is, after that linux operates everything and does not need to reread the bios to operate... Well worth reading and understanding that process if you wish to bury your head under the hood.. All very well knowing all the key strokes and programming, but the hardware is the most amazing bit utilized by the operating system...

scottm7 04-13-2017 11:40 AM

I know exactly what you mean. When I started it was COBOL, IMS, DB2, JCL, CICS, etc... Most people won't know what those are with maybe the exception of COBOL.


For instance:

01 IDX PIC 9(01).

PERFORM VARYING IDX FROM 1 BY 1 UNTIL IDX > 10.
{ You can also only have 6 PERFORM VARYING dimensions within this }
END-PERFORM.


Why do I remember stuff like this and I forgot what I had for breakfast this morning?


I now use C# .NET but I rely heavily on DevExpress Winforms and SQL Server - so I'll be keeping the win7 VM until I soon retire...

Habitual 04-13-2017 02:28 PM

Quote:

Originally Posted by scottm7 (Post 5696507)
Why do I remember stuff like this and I forgot what I had for breakfast this morning?

CDO?
Which is "OCD" in the correct order, as it should be. :)

scottm7 04-13-2017 02:32 PM

CDO - Collateralized Debt Obligation


All times are GMT -5. The time now is 05:16 PM.