Go to advanced search

by ejolson
Mon Sep 16, 2019 9:48 pm
Forum: General discussion
Topic: Pi4 Sysbench results
Replies: 14
Views: 1940

Re: Pi4 Sysbench results

dom wrote:
Mon Sep 16, 2019 9:38 pm
bl 0 <__aeabi_uldivmod> ?
Hm. I must be blind. It seems I missed that. So why is it running so fast? [Edit: Okay, the version I compiled isn't running fast. What's going on with the claim that -mcpu=cortex-a72 makes sysbench run fast in 32-bit mode?]
by ejolson
Mon Sep 16, 2019 8:12 pm
Forum: General discussion
Topic: Pi4 Sysbench results
Replies: 14
Views: 1940

Re: Pi4 Sysbench results

My conjecture is that the unusually fast run time results from a compiler aggressively optimizing a trivial benchmark. Performing objdump -S with debugging information turned on yields 000000ac <cpu_execute_event>: for(c=3; c < max_prime; c++) ac: e3003000 movw r3, #0 b0: e3403000 movt r3, #0 { b4:...
by ejolson
Mon Sep 16, 2019 8:07 pm
Forum: General discussion
Topic: Pi4 Sysbench results
Replies: 14
Views: 1940

Re: Pi4 Sysbench results

sysbench --num-threads=4 --test=cpu --cpu-max-prime=20000 --validate run WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options. WARNING: --num-threads is deprecated, use --threads instead sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3...
by ejolson
Mon Sep 16, 2019 7:33 pm
Forum: General discussion
Topic: Pi4 Sysbench results
Replies: 14
Views: 1940

Re: Pi4 Sysbench results

sysbench --num-threads=4 --test=cpu --cpu-max-prime=20000 --validate run WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options. WARNING: --num-threads is deprecated, use --threads instead sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3...
by ejolson
Mon Sep 16, 2019 7:29 pm
Forum: General discussion
Topic: ARMv8 32-bit mode and 64-bit division
Replies: 11
Views: 533

Re: ARMv8 32-bit mode and 64-bit division

Are you sure your original reported Pi 3B+ run times were accurate? Since Raspbian Buster includes gcc-4.9, gcc-5.5, gcc-6.5 and gcc-7.3 I installed and tried them all. Using variations of -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -mneon-for-64bits -Os all run times are greater than 30 ...
by ejolson
Mon Sep 16, 2019 6:46 pm
Forum: General discussion
Topic: ARMv8 32-bit mode and 64-bit division
Replies: 11
Views: 533

Re: ARMv8 32-bit mode and 64-bit division

Do you remember what the compiler settings were that you used? I read through the rest of that thread and found the suggestion -march=native -Os -mneon-for-64bits I also tried -march=native -O3 -mneon-for-64bits -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -mneon-for-64bits -Os -mcpu=cortex-a72 -mfpu=neon-...
by ejolson
Mon Sep 16, 2019 6:24 pm
Forum: General discussion
Topic: ARMv8 32-bit mode and 64-bit division
Replies: 11
Views: 533

Re: ARMv8 32-bit mode and 64-bit division

Your results look entirely reasonable to me. In your post https://www.raspberrypi.org/forums/viewtopic.php?p=1292430#p1292430 you obtain the runtime pi3+ (Cortex A53 in 32 bit mode, gcc 7.3, 1.4GHz) Found a total of 664579 primes (64-bit) real 0m14.691s user 0m14.680s sys 0m0.000s for the Pi 3B+ in...
by ejolson
Mon Sep 16, 2019 5:41 pm
Forum: General discussion
Topic: ARMv8 32-bit mode and 64-bit division
Replies: 11
Views: 533

Re: ARMv8 32-bit mode and 64-bit division

I'll be updating this thread with a new table containing new details and runtimes as well as the Pi 4B in the next post. I have run the following program #include <stdio.h> #include <math.h> #include <stdint.h> #define N 10000000 static INT prime[1000000]; static int count=0; static int isprime(INT...
by ejolson
Mon Sep 16, 2019 5:29 pm
Forum: General discussion
Topic: Pi4 Sysbench results
Replies: 14
Views: 1940

Re: Pi4 Sysbench results

I wouldn't say sysbench CPU is useless, but acknowledge that a prime number sieve is not representative of everyday desktop usage. I missed the sysbench discussion 1.5 years ago on this forum, but I believe I resolved any open questions here: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=...
by ejolson
Mon Sep 16, 2019 5:11 pm
Forum: General discussion
Topic: CrystalDiskMark for Linux
Replies: 2
Views: 110

Re: CrystalDiskMark for Linux

Hi, I connected my Raspberry Pi 4 to an external hard drive and want to test the speed of it. What would be an alternative to CrystalDiskMark but for Linux? Thanks!! Please check the thread https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=251789 which asked the same question a few days ago.
by ejolson
Mon Sep 16, 2019 4:59 pm
Forum: General discussion
Topic: ARMv8 32-bit mode and 64-bit division
Replies: 11
Views: 533

ARMv8 32-bit mode and 64-bit division

There was a long running thread here that comes up easily on web searches comparing the speed of the Raspberry Pi to some common PCs. In light of this post, that old thread appears to contain some incorrect assumptions about running an ARMv8 processor in 32-bit mode. In particular, it seems that spe...
by ejolson
Sun Sep 15, 2019 9:44 pm
Forum: Networking and servers
Topic: Generic storage benchmark on RPI
Replies: 2
Views: 106

Re: Generic storage benchmark on RPI

Hi Folks, There's a lot of disk benchmarking done for SSD / SD etc and other storage using CrystalDiskMark which runs on PC. Is there an equivalent running natively on RPI raspian? It will be a better 'whole-system' test for storage performance that just testing the media on a PC without taking int...
by ejolson
Sun Sep 15, 2019 9:34 pm
Forum: General discussion
Topic: Pi4 Sysbench results
Replies: 14
Views: 1940

Re: Pi4 Sysbench results

I wouldn't say sysbench CPU is useless, but acknowledge that a prime number sieve is not representative of everyday desktop usage. I missed the sysbench discussion 1.5 years ago on this forum, but I believe I resolved any open questions here: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=...
by ejolson
Sun Sep 15, 2019 8:42 pm
Forum: General discussion
Topic: Pi4 Sysbench results
Replies: 14
Views: 1940

Re: Pi4 Sysbench results

[email protected],75ghz [email protected]:~ $ sysbench --num-threads=4 --test=cpu --cpu-max-prime=20000 --validate run sysbench 0.4.12: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 4 Additional request validation enabled. Doing CPU performance benchmark T...
by ejolson
Sun Sep 15, 2019 5:57 pm
Forum: Beginners
Topic: Rasberry pi B unusably slow
Replies: 6
Views: 203

Re: Rasberry pi B unusably slow

I started Chromium, went to yahoo, to click on a link. It took 1.5 minutes before chromium reached a point where I can type the address, and about 6 minutes until it popped out a "page unresponsive. Web browsing hasn't ever worked well with the original models of Raspberry Pi or the Zero. To try an...
by ejolson
Sun Sep 15, 2019 4:15 am
Forum: Advanced users
Topic: Raspberry Pi distributed computer project
Replies: 8
Views: 439

Re: Raspberry Pi distributed computer project

Yes, Building a super computer of my own opens many more doors for programming and learning even more with these small boards we love so much. I built a super-cheap cluster using five Pi Zero computers, a Pi B+ and a USB hub. Getting the software to perform a parallel computation is the main diffic...
by ejolson
Sat Sep 14, 2019 6:43 pm
Forum: Networking and servers
Topic: Pi-hole & OMV - Enclosure options for HDDs and the feasibility using two USB hubs to connect 4-8 HDDS
Replies: 5
Views: 200

Re: Pi-hole & OMV - Enclosure options for HDDs and the feasibility using two USB hubs to connect 4-8 HDDS

There is some discussion about a similar idea in the following thread: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=198578&start=25#p1526290 I've been using the four-disk enclosure that I linked in the previous thread for about a year and it works well. The Pi 4B had no trouble identifyi...
by ejolson
Sat Sep 14, 2019 6:29 pm
Forum: Networking and servers
Topic: Pi-hole & OMV - Enclosure options for HDDs and the feasibility using two USB hubs to connect 4-8 HDDS
Replies: 5
Views: 200

Re: Pi-hole & OMV - Enclosure options for HDDs and the feasibility using two USB hubs to connect 4-8 HDDS

So out of this, I have 2 questions. Is this plan practical and can it/will it work? Are there any enclosures that could handle that many drives with some spare room to hide 2 USB hubs? There is some discussion about a similar idea in the following thread: https://www.raspberrypi.org/forums/viewtopi...
by ejolson
Sat Sep 14, 2019 5:58 pm
Forum: Off topic discussion
Topic: Raspberry Pi tutorial website
Replies: 67
Views: 31651

Re: Raspberry Pi tutorial website

DarkPlatinum wrote:
Sat Sep 14, 2019 1:02 pm
Website will be down while I try to fix it.... Database problems.
Did the update to Buster break the database?
by ejolson
Sat Sep 14, 2019 5:41 pm
Forum: General discussion
Topic: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?
Replies: 27
Views: 2346

Re: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?

I'm sure there are plenty of criminals who can get by without a mouse. Even in the United States more murders are committed using knives than with mice. Yet, discussions on whether mice should be outlawed often degenerate into a shooting match in which one side screams that without mice it would be...
by ejolson
Sat Sep 14, 2019 4:59 pm
Forum: General discussion
Topic: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?
Replies: 27
Views: 2346

Re: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?

It requires a fair amount of knowledge and effort to exploit properly. After sufficiently user-friendly software has been written, it takes almost no knowledge for a criminal to use it. The only way to prevent the computer illiterate from exploiting security vulnerabilities such a Spectre and Meltd...
by ejolson
Sat Sep 14, 2019 4:41 pm
Forum: General discussion
Topic: Fastest Micro SD card for Pi 4? Does it support XC U3?
Replies: 27
Views: 3365

Re: Fastest Micro SD card for Pi 4? Does it support XC U3?

This guy tested several micro SD cards on Raspberry pi 4 4 iops speed www.pidramble.com/wiki/benchmarks/microsd-cards An interesting comparison. As cards age they slow down due to the need for wear leveling. Strangely, it would appear that Only one card of each type was tested. The age of each card...
by ejolson
Sat Sep 14, 2019 2:57 pm
Forum: General discussion
Topic: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?
Replies: 27
Views: 2346

Re: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?

CueCueBangBang wrote:
Sat Sep 14, 2019 7:19 am
Also gave this a test with Manjaro ARM. It gave completely different results, leading me to believe they put a patch in the OS of Raspbian Buster.
It would be interesting to run the test on the Pi 3B+ to see whether anything unexpected shows up.
by ejolson
Sat Sep 14, 2019 4:51 am
Forum: General discussion
Topic: Looking for a mounting solution for RPi (in case)
Replies: 12
Views: 453

Re: Looking for a mounting solution for RPi (in case)

.We've settled on a secure modular case that has 2 screw mount holes on the bottom, so I COULD just grab a hunk of wood and some screws, but I was hoping to find a more elegant solution that would also help organize all my cables. You can tack the cables to the wood to keep them organized. For eleg...
by ejolson
Sat Sep 14, 2019 3:06 am
Forum: Networking and servers
Topic: Make RPi show in Network List in Windows 8 or 10
Replies: 9
Views: 455

Re: Make RPi show in Network List in Windows 8 or 10

LTolledo wrote:
Sat Sep 14, 2019 12:57 am
mine is just simple addition to the global section of smb.conf

Code: Select all

workgroup = PAYPERCONNECTWORKGROUP
wins support = yes
client max protocol = NT1 
It would appear to me your workgroup name has more than 15 characters. Does that really work? Also, does anyone actually pay?

Go to advanced search