Debian and Ubuntu performance difference why?

Message boards : Number crunching : Debian and Ubuntu performance difference why?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile munocat

Send message
Joined: 7 Apr 99
Posts: 36
Credit: 69,054,104
RAC: 274
United States
Message 1983968 - Posted: 7 Mar 2019, 22:36:06 UTC
Last modified: 7 Mar 2019, 22:36:35 UTC

Bit of a newb here.

I am trying to figure out why ubuntu 18.04 lts has a higher performance than debian buster 4.19.16-1

both are aarch64

both are running on the same hardware (same machine, no, not at the same time).

when I run sysbench they both return the same results.
ID: 1983968 · 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 1984000 - Posted: 8 Mar 2019, 0:20:10 UTC - in response to Message 1983968.  
Last modified: 8 Mar 2019, 0:24:09 UTC

Bit of a newb here.

I am trying to figure out why ubuntu 18.04 lts has a higher performance than debian buster 4.19.16-1

both are aarch64

both are running on the same hardware (same machine, no, not at the same time).

when I run sysbench they both return the same results.

Look at this definitive article from phoronix.com regarding the degradation in performance with Linux kernels since 4.13.

A Look At The Linux Kernel Performance From 4.10 To 4.20 Benchmarks

Mainly it has to do with the performance killing security additions for Spectre/Meltdown vulnerabilities.

The highest performance distro consistently is IBM's Clear Linux.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1984000 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20267
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1984113 - Posted: 8 Mar 2019, 14:34:53 UTC - in response to Message 1983968.  
Last modified: 8 Mar 2019, 14:36:01 UTC

Bit of a newb here.

I am trying to figure out why ubuntu 18.04 lts has a higher performance than debian buster 4.19.16-1

both are aarch64

both are running on the same hardware (same machine, no, not at the same time).

when I run sysbench they both return the same results.

What hardware are you running for that?

Is the performance difference that for example Ubuntu supports the ARM neon hardware maths acceleration whereas Debian might not?

If both do support full hardware maths, then indeed a good guess as mentioned is that the Spectre mitigations are slowing things down a little...

What sort of performance difference are you seeing? (Note that the Cobblestones are only a very rough estimate that can change depending on what else the system is doing during the test...)


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

Send message
Joined: 7 Apr 99
Posts: 36
Credit: 69,054,104
RAC: 274
United States
Message 1984141 - Posted: 8 Mar 2019, 16:29:53 UTC - in response to Message 1984113.  

I don't know how to tell if either of the OSes are using NEON, I thought I read somewhere it is now part of the kernel. Both of these OS have been running on a raspberry pi 3.

when I cat the cpuinfo both report the same

Features: fp asimd evtstrm crc32 cpuid (same for both ARM64/AARCH64 oses)

Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 (RASPIAN ARMHF)

I have a stack of raspberry pies 3/3+, and was trying to increase efficiency. I also have other boards in the mail. ROCK64 and NanoPI FIRE 3, which has 8 cores.

if the 64bit versions show and increase performance over 32bit then I will update all the 64bit to ubuntu
ID: 1984141 · Report as offensive

Message boards : Number crunching : Debian and Ubuntu performance difference why?


 
©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.