LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-01-2020, 08:30 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,423

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
"Maths heavy" Apps?


Saving the long boring explanation, on Arm CPUs much 32bit software does not use the Maths FPU, or uses it very little. So performance sucks on Maths heavy Apps.

What is a Maths heavy App? Bitcoin mining obviously. CAD? Graphics? Compression/Decompression? Being a hardware head, I really have no idea.

EDIT: I meant to say, I have a 'hard float RazPi 4 so I can do this stuff better, because it has an OS compiled using the full FPU

Last edited by business_kid; 06-01-2020 at 12:06 PM.
 
Old 06-01-2020, 08:37 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,004

Rep: Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338
Have you heard about Mandelbrot? Or about mathematical models of nuclear physics? Brute force algorithm(s)? Solving differential equations?
Or just calculating a few million digits of pi (or e or any other similar number). Face recognition? Fast Fourier transformation?
Just to name a few.

Last edited by pan64; 06-01-2020 at 08:38 AM.
 
Old 06-01-2020, 11:35 AM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,248

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Anything that runs on the GPU is both "maths-heavy" and massively parallel.

Also: I'm not sure if you were asking how to exercise an FPU, but if you were, then my first suggestion would be a polygonal DOS game (flight simulator or Quake) running in FreeDOS or DOSEMU.

Last edited by dugan; 06-01-2020 at 11:39 AM.
 
Old 06-01-2020, 12:02 PM   #4
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by business_kid View Post
What is a Maths heavy App?
To name just a few:
MatLab (from the MathWorks) or its open source equivalent GNU Octave (www.gnu.org/software/octave/)
Formula manipulation programs like Mathematica or Maple, a open source implementation is maxima (sourceforge.net/projects/maxima/)
Fast Fourier Transform like fftw (www.fftw.org/)
All kinds of heavy statistical calculation works, like the ones in the R package (www.r-project.org)

Last edited by ehartman; 06-01-2020 at 05:31 PM. Reason: added some open source references
 
Old 06-01-2020, 02:46 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,423

Original Poster
Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
Thanks for the replies, guys. You're spot on, but most of those apps have the obvious name give away. Even if the calculation time is going to be increased by 10, the big delay is (Like scientific calculators) is going to be on input, isn't it?

Anyone trying to run games on an Arm cpu is in for a rough ride indeed. Quake? Doom?


What I was hoping for was things not so obvious. I've used Matlab in University - the time went into I/O & rebooting windows. It was a "Knowledge Bulimia subject in my Electronice degree

Knowledge Bulimia = Cram it for the test & forget it after .

To refine my question: what ordinary processes are maths intensive? We've got Graphics; There's not going to be Cad, Matlab or any emulator at all. No VMs. Arm software is hard and slow to build. A distro kernel could take 2 hours.But I want to know where I will be bitten in the rear end unexpectedly. Image conversion, or decompression, perhaps?
 
Old 06-02-2020, 01:22 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,004

Rep: Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338
?
in every case the calculation will depend on the input. There is no "ordinary" process (what should it mean?) and no process will use any resource[s] by itself. Including compilers, games, conversion, decompression or whatever you could imagine.
 
Old 06-02-2020, 03:48 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,423

Original Poster
Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
Quote:
Originally Posted by pan64 View Post
?
in every case the calculation will depend on the input. There is no "ordinary" process (what should it mean?) and no process will use any resource[s] by itself. Including compilers, games, conversion, decompression or whatever you could imagine.
I was thinking of Something like jpeg to png conversion, zooming stills. You tell me basically none of them are Maths Heavy. That's my answer, and thank you. I just didn't know that, as I rarely read code unless I want a headache.If I knew some process were notably better with an FPU, I'd avoid 32bit apps using them. Most Arm OSes are 32bit. When you look for 64bit, I've found 64bit DIY stuff, One complete one (in Slackware), and Fedora with serious dev work pointed in the totally wrong direction for me.
 
Old 06-02-2020, 11:09 AM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,248

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Quote:
Originally Posted by business_kid View Post
Doom?
DOOM doesn't use the FPU at all.
 
Old 06-02-2020, 11:42 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,423

Original Poster
Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
Quote:
Originally Posted by dugan View Post
DOOM doesn't use the FPU at all.
Really? I thought all that gpu stuff would have some maths content. Shows you what I know about software.

I'm no gamer. Anyhow, I think only losers would select a lightweight cpu/gpu with only 4G of ram for games
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apps Unresponsive While HD's Under Heavy Load ihod2008 Linux - General 1 12-24-2008 09:55 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
Suggestions for Maths Software andrewlkho Linux - Software 3 04-11-2005 09:44 PM
java + maths problem craddy Programming 2 03-04-2004 02:23 PM
PHP maths - coding algebraic formulas linuxfond Programming 2 10-03-2003 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration