Go to advanced search

by jahboater
Tue Dec 01, 2020 8:08 am
Forum: Raspberry Pi OS
Topic: Raspberry PI OS 64-bit Release Date
Replies: 35
Views: 7674

Re: Raspberry PI OS 64-bit Release Date

Gavinmc42 wrote:
Tue Dec 01, 2020 7:16 am
Why not try it yourself?
+1

It costs nothing to try and only a few minutes to deploy on a spare SD card.
In the unlikely event that you do have a problem, just put the old card back.

I have been using Raspberry Pi OS 64-bit since day one and never had a problem.
by jahboater
Tue Dec 01, 2020 7:54 am
Forum: Advanced users
Topic: Overclocking
Replies: 1173
Views: 685621

Re: Overclocking

I'm researching this right now, and will publish the information along with detailed instructions on As its name suggests cpuburn-a53 is best for the Pi's with Cortex-A53 cpu cores. It does run on Pi4 with its Cortex-A72 cores but doesn't produce such a rapid rise in temperature. On the original Pi...
by jahboater
Mon Nov 30, 2020 6:52 pm
Forum: General discussion
Topic: Overclocking RetroPie vs Raspberry Pi OS
Replies: 2
Views: 134

Re: Overclocking RetroPie vs Raspberry Pi OS

Dragontail281 wrote:
Mon Nov 30, 2020 5:24 pm
If I overclock while using RetroPie, does it stay in place when I switch out the SD cards?
No, everything goes when you switch cards.

But then its only a 30 second edit to set the overclock on Raspberry Pi OS:

sudo nano /boot/config.txt
by jahboater
Mon Nov 30, 2020 2:33 am
Forum: Beginners
Topic: CPU testing
Replies: 3
Views: 137

Re: CPU testing

Take a look at Linpack ...

Code: Select all

https://www.howtoforge.com/tutorial/hpl-high-performance-linpack-benchmark-raspberry-pi/
by jahboater
Mon Nov 30, 2020 2:30 am
Forum: C/C++
Topic: multi threading in c
Replies: 7
Views: 583

Re: multi threading in c

Do you still need pthreads?
See section 7.26 in the ISO standard.
by jahboater
Sun Nov 29, 2020 7:08 pm
Forum: General discussion
Topic: SD card speed failing , on a brand new class 10 card
Replies: 9
Views: 431

Re: SD card speed failing , on a brand new class 10 card

Random write speed 113 IOPS (target 500) - FAIL 113 IOPS is appalling! See the minimum spec for A1 class cards (1500 IOPS) that you should be using for an OS system disk: https://www.sdcard.org/developers/overview/application/index.html The Sandisk A1 class cards are popular and my experience has b...
by jahboater
Sat Nov 28, 2020 3:34 pm
Forum: General discussion
Topic: SD card speed >100MB/s ?
Replies: 4
Views: 248

Re: SD card speed >100MB/s ?

Whilst I am quite happy with the 100MB/s Samsung cards I'm curious to know if the Pi 4 is be capable of using the extra speed provided by the more expensive Kingston Canvas Go Plus or Kingston Canvas React Plus. The Pi4 SD card speed is twice that of older models. I suggest you look for A1 class SD...
by jahboater
Sat Nov 28, 2020 10:59 am
Forum: Advanced users
Topic: Overclocking
Replies: 1173
Views: 685621

Re: Overclocking

pi3g wrote:
Sat Nov 28, 2020 10:58 am
Yes, right - since they're based on the same SoC that seems reasonable :-)
It hasn't got the fancy thermal management that the Pi3B+ (plus) has.
by jahboater
Sat Nov 28, 2020 10:56 am
Forum: Advanced users
Topic: Overclocking
Replies: 1173
Views: 685621

Re: Overclocking

pi3g wrote:
Sat Nov 28, 2020 10:42 am
Do you have any experience with the Pi 2 v1.2?
No, sorry.

My guess is that it might approach Pi3 speeds.
by jahboater
Sat Nov 28, 2020 10:34 am
Forum: Advanced users
Topic: Overclocking
Replies: 1173
Views: 685621

Re: Overclocking

In my research it seems that the 3B+ is not particularly well suited for being overclocked, as it already has been clocked at it's limits. Do you have a different overclocking experience with the 3B+? I agree. I only ever managed a truly stable overclock of 25MHz :) The 40nm node size was at its li...
by jahboater
Sat Nov 28, 2020 1:51 am
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 259
Views: 39967

Re: Anyone using Rust on a PI ?

To give the same output as my Rust and python here's a very naive C implementation. Over to you @jahboater to use your magic and speed it up dramatically. That seems pretty good, not sure it can be improved much, except perhaps by speeding up the little hash function - it seems to be all "user...
by jahboater
Fri Nov 27, 2020 5:01 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 259
Views: 39967

Re: Anyone using Rust on a PI ?

Unless demonstrated otherwise I am inclined to think that the time spend loading a static executable is likely not much different from loading a dynamically linked executable and linking it up at run time. Yes - a simple test on my Pi4 showed no measurable difference. Might be different for the fir...
by jahboater
Fri Nov 27, 2020 4:45 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 259
Views: 39967

Re: Anyone using Rust on a PI ?

but it is also important the size of the executable be less than the size of the data. Given the static linking used by Rust, Go and other new-kid programming languages, this could place a surprising limit on the speedup possible for counting characters. Not sure I understand that, but ... $ ls -l ...
by jahboater
Fri Nov 27, 2020 3:53 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 259
Views: 39967

Re: Anyone using Rust on a PI ?

With these "higher level" languages, I never know whats going on under the hood! How is it reading the file? What block size is it using? What options were passed when the file was opened? With C on the other hand, what you see is what you get. The library functions open/mmap/lseek etc dir...
by jahboater
Fri Nov 27, 2020 1:04 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 259
Views: 39967

Re: Anyone using Rust on a PI ?

That C code is *very* fast though. I doubt the Rust can be stripped down to that - even just mapping bytes as indices to a Vec. I will see what it does. In python there isn't much difference as list is already doing all kinds of mapping, so might as well just use a dict. I suspect much of the speed...
by jahboater
Fri Nov 27, 2020 12:51 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 259
Views: 39967

Re: Anyone using Rust on a PI ?

jalih wrote:
Fri Nov 27, 2020 12:07 pm
Remember, Python needs to track Unicode code points and C using char can just process bytes!
Yes, quite right.
by jahboater
Fri Nov 27, 2020 11:23 am
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 259
Views: 39967

Re: Anyone using Rust on a PI ?

In C #include <stdio.h> #include <unistd.h> #include <sys/mman.h> #include <ctype.h> #include <fcntl.h> int main( void ) { int fd = open( "war_and_peace.txt", O_RDONLY ); size_t len = lseek( fd, 0, SEEK_END ); unsigned char *ptr = mmap( NULL, len, PROT_READ, MAP_PRIVATE, fd, 0 ); madvise( ...
by jahboater
Fri Nov 27, 2020 10:42 am
Forum: Compute Module
Topic: CM3+ vcgencmd get_throttled and temperature limits
Replies: 12
Views: 279

Re: CM3+ vcgencmd get_throttled and temperature limits

Perhaps might also use vcgencmd for the temperature, as they seem to differ slightly: pi@raspberrypi:~ $ vcgencmd measure_temp; cat /sys/class/thermal/thermal_zone0/temp temp=33.0'C 33589 pi@raspberrypi:~ $ vcgencmd measure_temp; cat /sys/class/thermal/thermal_zone0/temp temp=32.0'C 32128 pi@raspber...
by jahboater
Thu Nov 26, 2020 7:44 pm
Forum: Other projects
Topic: A Birthday Present for Fido
Replies: 381
Views: 17248

Re: A Birthday Present for Fido

The ARM CPU cores in the M1 have a node size of 5nm, which is impressive.
by jahboater
Thu Nov 26, 2020 7:38 pm
Forum: Beginners
Topic: Access "ROOT" Folder
Replies: 16
Views: 357

Re: Access "ROOT" Folder

I think I did... Just to make it clear, every time I clicked on my root folder, located in my root directory, i.e., /root, I got a message stating "Permission denied," therefore, I went on google and found out that if I do Sudo Su, then input my password, which I somehow had created, that...
by jahboater
Thu Nov 26, 2020 7:32 pm
Forum: Troubleshooting
Topic: Pi Zero W ssh "connection refused"
Replies: 8
Views: 248

Re: Pi Zero W ssh "connection refused"

pinoobs2 wrote:
Thu Nov 26, 2020 3:07 pm
and I have created the empty file named "ssh" in the boot directory before installing the MicroSD card.
Has the "ssh" file been deleted?
by jahboater
Thu Nov 26, 2020 6:05 pm
Forum: Python
Topic: snakeware: boot-to-Python linux distro
Replies: 6
Views: 397

Re: snakeware: boot-to-Python linux distro

Having had time to get back to it, "Boot to Python" is correct, but I'm not convinced by its claims to be a "Python-based userspace". Seems to me to be a BusyBox userspace running Python 3.8 on top. Sounds like it. Adding "init=/usr/bin/python" to /boot/cmdline.txt boo...
by jahboater
Wed Nov 25, 2020 7:35 pm
Forum: Media centres
Topic: How much RAM needed for a Plex Media Server on Pi4?
Replies: 3
Views: 690

Re: How much RAM needed for a Plex Media Server on Pi4?

The only thing that's putting me off upgrading is that some articles mentioned the OS couldn't access the extra 4GB, thus making it redundant? Of course it can - google LPAE. See also the (beta) 64-bit Raspberry Pi OS: https://downloads.raspberrypi.org/raspios_arm64/images/ which obviously has no l...
by jahboater
Wed Nov 25, 2020 6:43 pm
Forum: Bare metal, Assembly language
Topic: Avoiding 100% CPU usage
Replies: 14
Views: 779

Re: Avoiding 100% CPU usage

I guess the NOP instruction will use very little of the CPU's power. There are no register moves involved. No calculations. No conditions to check. The CPU will just sit there for one clock cycle doing nothing. Yes. I tried a simple loop: asm volatile ( "1: nop; b 1b" : ); It barely raise...
by jahboater
Wed Nov 25, 2020 2:23 pm
Forum: Raspberry Pi OS
Topic: Latest PI 64
Replies: 3
Views: 324

Re: Latest PI 64

itsjon wrote:
Wed Nov 25, 2020 2:03 pm
Is is usable
Yes.

But it costs nothing to try ....

Go to advanced search