Go to advanced search

by jerrm
Thu Aug 22, 2019 8:34 pm
Forum: Troubleshooting
Topic: Pi 4 Headless?
Replies: 4
Views: 119

Re: Pi 4 Headless?

Are these USB thumb drives or SATA drives with adapters. If drives with adapters, try the quirks setting in the sticky https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=245931 (it's not just for speed). Pretty much any adapter was OK with USB2 on older Pis. USB3 on the Pi4 can be much pickier.
by jerrm
Thu Aug 22, 2019 8:28 pm
Forum: Troubleshooting
Topic: RASPBERRY PI 4 GIGABIT PORT SPEED
Replies: 14
Views: 417

Re: RASPBERRY PI 4 GIGABIT PORT SPEED

Hi people, I try Iperf3 on RaspberryPi but the maximum speed is 891 Mbit/s on TCP or 958 Mbit/s on UDP, and the 2 of 4 cores was on 100% on htop Can anyone give advice for better performance I need to be 950 Mbit/s on TCP, Jerrm can you share how you get 1 Gbit/s on ethernet port. Thank in advance!...
by jerrm
Wed Aug 21, 2019 4:35 pm
Forum: Troubleshooting
Topic: RASPBERRY PI 4 GIGABIT PORT SPEED
Replies: 14
Views: 417

Re: RASPBERRY PI 4 GIGABIT PORT SPEED

Have you opened up a terminal and ran htop during the test? The overhead of the test itself may be the problem. My Pi4 is on wireless right now, so that my limiting factor (at 48mbps) , but based cpu usage, it looks like cpu would be maxed out running speedtest-cli long before it could hit 1gbps (if...
by jerrm
Sat Aug 17, 2019 10:14 pm
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 191
Views: 9010

Re: Why moving to 64bit?

Setting OPENSSL_armcap=0 removes helps the Debian aarch64 https times as well: (pi64)[email protected]:~# time OPENSSL_armcap=0 curl -k -o /dev/null https://192.168.22.109/ram/testfile.tst % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2001M 10...
by jerrm
Sat Aug 17, 2019 5:08 pm
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 191
Views: 9010

Re: Why moving to 64bit?

Did some https download tests. They appear to confirm jdonald's AES_ASM issues for 64 bit. The Debian armhf userland shows substantial improvement over Raspbian here. Baseline - no encryption (all three userlands are at wire speed within .05 secs of each other): =====================================...
by jerrm
Sat Aug 17, 2019 2:17 am
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 191
Views: 9010

Re: Why moving to 64bit?

However, this does not appear to justify using ARMv6 binaries in your baseline. Debian and Ubuntu are two systems compiled for ARMv7 with upstream packages that can handle "apt-get upgrade" just fine. Your 64-bit measurement is already done inside a Debian arm64 chroot so it would make sense for th...
by jerrm
Fri Aug 16, 2019 8:24 pm
Forum: General discussion
Topic: When can we expect USB boot for the Pi 4?
Replies: 56
Views: 2858

Re: When can we expect USB boot for the Pi 4?

Not to be excessively contrary, but I hope that you are speaking strictly about the Pis you are dealing with and not making a claim about "All of the Pis ...in the wild". I have quite a number of Pis (Pi0, Pi0W, Model A, Model B, B+, Pi2Bv1.1, CM) that will not do USB boot. They could do hybrid boo...
by jerrm
Fri Aug 16, 2019 8:21 pm
Forum: General discussion
Topic: When can we expect USB boot for the Pi 4?
Replies: 56
Views: 2858

Re: When can we expect USB boot for the Pi 4?

Is another reason needed? The RPT established a way to boot without an SD card on the Pi3B (and Pi2Bv1.2) and made it a standard feature of the Pi3B+. A common expectation is the new improved product does not go backwards. For a rather basic feature, the Pi4 is a step backwards. That said, I don't ...
by jerrm
Fri Aug 16, 2019 8:12 pm
Forum: General discussion
Topic: When can we expect USB boot for the Pi 4?
Replies: 56
Views: 2858

Re: When can we expect USB boot for the Pi 4?

I started a "war" yay me. :lol: :oops: Concepts of simplicity and one less point of failure (however likely or not) are lost on some. For us conformity comes into play. All of the Pis we (as in my company) have in the wild are USB only. Moving to a Pi4 going forward would be the default option, but...
by jerrm
Fri Aug 16, 2019 6:36 pm
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 191
Views: 9010

Re: Why moving to 64bit?

It's just that when you start to expect such high performance from the very cheap and humble Pi I wonder if that was ever it's intended use case. More of a wish than an expectation. I wish we could use the Pi primarily because of the long term production commitment (with an organization that will m...
by jerrm
Fri Aug 16, 2019 3:51 pm
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 191
Views: 9010

Re: Why moving to 64bit?

I'm wondering who are all these people that need 100 megabytes per second in or out of their Pi, and why do they need it? I can't collect data anywhere near that fast from any devices connected to my Pi. If I could I cannot get it over my internet connection or mobile connection. I'm the first to a...
by jerrm
Fri Aug 16, 2019 1:05 pm
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 191
Views: 9010

Re: Why moving to 64bit?

There was a different thread where someone complained about poor SSH speed and i pointed out how the crypto extensions would have made a difference but apparently the userbase was not worth the few cents more per SoC. Yeah, i'd like to know what the real tradeoffs were. There was an early response ...
by jerrm
Fri Aug 16, 2019 12:38 pm
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 191
Views: 9010

Re: Why moving to 64bit?

jerrm thanks for running more tests particularly OpenSSH. However, in light of what pica200 and others pointed out isn't the biggest concern with your methodology that you're comparing 64-bit programs against ARMv6 ones? Furthermore, even if you used ARMv7 binaries it would still fail to account fo...
by jerrm
Fri Aug 16, 2019 3:07 am
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 191
Views: 9010

Re: Why moving to 64bit?

I saw similar differences, OpenSSH was another off the curve performance improvement. 64 bit was a good 30% faster for OpenSSH transfers. I saw similar AES256 performance when testing OpenVPN. 32 bit gave 112mbps before pegging the Pi CPU. 64 bit around 99mbps. It would be nice if the OpenSSL assemb...
by jerrm
Thu Aug 15, 2019 1:05 pm
Forum: General discussion
Topic: USB problem on Pi 4B
Replies: 35
Views: 2055

Re: USB problem on Pi 4B

I levered open one of the Sabrent USB3.0 adapters that we have (0x152d:0x1561) that exhibit UAS errors and lo, it's a JMS578 inside. After blasting the slightly sketchy Hardkernel firmware to the device, it reports a PID of 0x152d:0x0578 and no longer errors. YMMV. I still get resets with bonnie an...
by jerrm
Tue Aug 13, 2019 11:04 pm
Forum: General discussion
Topic: Installing PICO TTS - any helpful hints?
Replies: 10
Views: 1586

Re: Installing PICO TTS - any helpful hints?

It is for more or less entirely religious reasons that people subject themselves to it otherwise, AFAICT. If you need to do something as root, do it as root. If not, don't. I have to agree. For the very occasional one off things it's OK, but the idea using sudo is "safer" is bogus. Folks get so use...
by jerrm
Tue Aug 13, 2019 10:46 pm
Forum: General discussion
Topic: Installing PICO TTS - any helpful hints?
Replies: 10
Views: 1586

Re: Installing PICO TTS - any helpful hints?

sudo wget -q https://ftp .... | apt-key add - Had to have the sudo up at t'other end ... wget -q https://ftp .... | sudo apt-key add - Just corrected my post - so should be cut/paste ready for anyone else. Putting the "sudos" in were and after the fact edit. I don't use sudo as a general rule. If i...
by jerrm
Tue Aug 13, 2019 9:33 pm
Forum: Advanced users
Topic: Pi 4B: question on OpenVPN performance or speed [RESULTS]
Replies: 28
Views: 1350

Re: Pi 4B: question on OpenVPN performance or speed [RESULTS]

Please let me know if you need further info on this test. What are the versions of speedtest-cli on each Linux machines (speedtest-cli --version). I doubt it would make that much of a difference, but try installing the latest speedtest-cli using pip: sudo apt-get remove speedtest-cli hash -r sudo p...
by jerrm
Tue Aug 13, 2019 9:27 pm
Forum: Advanced users
Topic: Pi 4B: question on OpenVPN performance or speed [RESULTS]
Replies: 28
Views: 1350

Re: Pi 4B: question on OpenVPN performance or speed [RESULTS]

epoch1970 wrote:
Tue Aug 13, 2019 9:08 pm
Does the OP use AES?
It doesn't really matter. I would assume that is the most likely preferred protocol since it has the widest support for hardware acceleration. Acceleration could explain some of the difference, but if the OpenVPN core isn't maxed out, the Pi should be able to do better.
by jerrm
Tue Aug 13, 2019 8:54 pm
Forum: General discussion
Topic: Installing PICO TTS - any helpful hints?
Replies: 10
Views: 1586

Re: Installing PICO TTS - any helpful hints?

I didn't realise there was a Pi port for Pico TTS and, as that's one of the better speech engines IMO, I thought I'd try it. Raspberry Pi 3B stretch; worked a treat for me ... sudo apt-get install libttspico-utils pico2wave -w hello.wav "Hello from Raspberry Pi" But now it doesn't. Pi 3B, Buster. D...
by jerrm
Tue Aug 13, 2019 7:34 pm
Forum: Advanced users
Topic: Pi 4B: question on OpenVPN performance or speed [RESULTS]
Replies: 28
Views: 1350

Re: Pi 4B: question on OpenVPN performance or speed [RESULTS]

At a loss. The Udoo probably AES in hardware, but if the pi is at 70% on the CPU there should be headroom to improve, even if it never reaches the same max speed.

My experience is that OpenVPN is not shy about eating CPU when needed.
by jerrm
Tue Aug 13, 2019 5:43 pm
Forum: General discussion
Topic: USB problem on Pi 4B
Replies: 35
Views: 2055

Re: USB problem on Pi 4B

Bear in mind that the usual health warning for rpi-update applies - it may break stuff on your system, and there is no automatic way of getting back to the kernel and firmware you had before rpi-update ran. Understood and not a problem. Nothing I care about installed, and I have "buster lite + my b...
by jerrm
Tue Aug 13, 2019 5:02 pm
Forum: General discussion
Topic: USB problem on Pi 4B
Replies: 35
Views: 2055

Re: USB problem on Pi 4B

andrum99 wrote:
Tue Aug 13, 2019 3:28 pm
See https://github.com/raspberrypi/linux/pull/3147
I was preparing a bug report, but would happily test this first.

I see the commit in github. Do you know how soon should this be seen in an rpi-update? Are the builds nightly/weekly/etc?
by jerrm
Mon Aug 12, 2019 6:04 pm
Forum: General discussion
Topic: USB problem on Pi 4B
Replies: 35
Views: 2055

Re: USB problem on Pi 4B

I will run with UAS blacklisted for now. Maybe there is some kind of bug in this particular USB to SATA bridge? Maybe, but I wouldn't jump to that conclusion. After trying multiple adapters, I've come to the conclusion something is "off" for USB3/UAS on the Pi. Several adapters that work great with...
by jerrm
Mon Aug 12, 2019 2:18 pm
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 191
Views: 9010

Re: Why moving to 64bit?

Yeah, for small runtimes we can get large swings with all the unknowns of networking traffic or my USB keyboard interrupts. To mitigate that, here's a script to run 50 times and get a histogram: #!/bin/bash -e rm -f real.txt touch real.txt for ((i=1; i<=50; i++)); do { time ./target/release/iba-3 >...

Go to advanced search