User avatar
DougieLawson
Posts: 35061
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Moving Linux kernel to 4.14

Sun Oct 14, 2018 2:59 pm

Today's experiment is back to 0abe903f4a137e2738fe3be5f14a2a34afc9762b then I'll take a look later and see if I need to take another step back.

I'm happy to build a kernel with a patch if needed (although I'd have to build twice with a kernel7 for my affected 2B). Plus I'm quite happy to experiment based on the Github issue I've found.
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

verkerkbr
Posts: 17
Joined: Mon Sep 10, 2018 9:17 pm

Re: Moving Linux kernel to 4.14

Sun Oct 28, 2018 2:24 pm

Just tried the Raspex 64 bits ARM version based on Ubuntu Cosmic 1810 running on my RPI 3B+
Kernel version is 4.14.76-V8+
Installed the vc4 OpenGL driver (can be done also with rpi-config).
And can report that this setup works very well and is very fast. Running here for more then 24 hours.

It seems just as fast as a standard Linux PC.

Bram

User avatar
kozman
Posts: 43
Joined: Tue Sep 11, 2018 3:40 pm

Re: Moving Linux kernel to 4.14

Mon Oct 29, 2018 6:12 pm

verkerkbr wrote:
Sun Oct 28, 2018 2:24 pm
Just tried the Raspex 64 bits ARM version based on Ubuntu Cosmic 1810 running on my RPI 3B+
Kernel version is 4.14.76-V8+
Installed the vc4 OpenGL driver (can be done also with rpi-config).
And can report that this setup works very well and is very fast. Running here for more then 24 hours.

It seems just as fast as a standard Linux PC.

Bram
Any idea how recent the VC4 driver is? Curious about benchmarks / performance of VC4 and no VC4. Ultimately, 4.18 and newer kernels are going to make Pi 3b / 3b+ really rock. Anholt, give us something final-ish please! :D

verkerkbr
Posts: 17
Joined: Mon Sep 10, 2018 9:17 pm

Re: Moving Linux kernel to 4.14

Tue Oct 30, 2018 9:56 am

I'am using the VC4 driver as seen via rpi-config. No idea which version that it is. Systems works now so well, with a swap partition also installed., that I consider it as my daily internet system. It runs not only the marine chartplotter system, but also Libreoffice with the Cups printer system.

In Raspex also the VNCserver is installed. The RPI desktop runs then on every other system with a VNC client installed. Works also with a smartphone, Chromebook or an Ipad, etc.

Bram

User avatar
kozman
Posts: 43
Joined: Tue Sep 11, 2018 3:40 pm

Re: Moving Linux kernel to 4.14

Tue Oct 30, 2018 4:20 pm

kozman wrote:
Wed Sep 26, 2018 2:54 pm
So although it hasn't been made official, talk of what the next kernel will be has hovered around 4.19. A lot of good support and perf improvements have been added for RPi since kernel 4.14. While some upstream stuff has been back-ported to 4.14 kernel, I am curious if the devs ever considered, if possible, leveraging some of the perf / optimizations being used in Clear Linux?

As a regular reader of Phoronix, I regularly see Clear Linux beating the pants off of many popular distros (https://www.phoronix.com/scan.php?page= ... ling&num=2), (https://www.phoronix.com/scan.php?page= ... inux&num=2). An article discussing how these optimizations are tuned for Intel's architecture but can be extended to other platforms was talked about here: https://www.phoronix.com/scan.php?page= ... erformance

I know that GCC 6.4 was where ARM got a proverbial shot in the arm for perf improvements, but surely there's more blood to be squeezed from the stone? Debian Buster looks like it will be very good for the Pi once it's released next year.

So it seems Michael Larabel over at Phoronix was curious about this very idea of using Clear Linux's tweaks and applying them to the latest Ubuntu (https://www.phoronix.com/scan.php?page= ... lear&num=1). Very interesting results I must say. Can Raspbian be tweaked the same way?

ejolson
Posts: 2759
Joined: Tue Mar 18, 2014 11:47 am

Re: Moving Linux kernel to 4.14

Tue Oct 30, 2018 5:14 pm

kozman wrote:
Tue Oct 30, 2018 4:20 pm
Very interesting results I must say. Can Raspbian be tweaked the same way?
ARMv7 optimized versions of the kernel are already used in Raspbian when an ARMv7 capable CPU is detected. However, most of Raspbian userland is compiled for ARMv6 with the notable exception of some libraries. This is to ensure compatibility of the same SD card across all models of Pi computers in educational contexts where children and teachers are swapping cards between Pi computers on a per user or per project basis. While a fully-optimized ARMv7 distribution will likely be faster, this is a bit off topic for this thread.

At this point you may wonder about having an ARMv8 optimized kernel. I think running the CPU in 64-bit mode may slow down communication with the VC4 GPU. Others may comment on this with more details. Still, some programs in userland run faster in 64-bit mode. At the same time, increased memory and memory bandwidth contention can also slow things down. Therefore, each executable would have to be examined on a case by case basis to know which version is preferable and that might change depending on how much memory pressure the system is currently experiencing. Again this is a bit off topic for this thread.

verkerkbr
Posts: 17
Joined: Mon Sep 10, 2018 9:17 pm

Re: Moving Linux kernel to 4.14

Thu Dec 20, 2018 9:29 am

Some more information of my use as a marine chartplotter. Kernel version 4.14.87 V7 works very good in combination with the VC4 OpenGL driver.

However upgrading to kernel 4.14.89 some of the old problems re-occur. Chart lock-ups. Locking up the system.
Pi-clone not working well.

Switching back to kernel 4.14.87 then all is working well. 89 is certainly no improvement.

Regards,

Bram

verkerkbr
Posts: 17
Joined: Mon Sep 10, 2018 9:17 pm

Re: Moving Linux kernel to 4.14

Fri Dec 21, 2018 9:10 pm

Now with the latest kernel version 4.14.90 things are running very well again.

Thanks,

Bram

alexsy
Posts: 1
Joined: Thu Dec 27, 2018 5:52 pm

Re: Moving Linux kernel to 4.14

Thu Dec 27, 2018 5:59 pm

instaled 4.14..90 rpi 3b+ and rpi 3 wifi doesnot work :-(

User avatar
kozman
Posts: 43
Joined: Tue Sep 11, 2018 3:40 pm

Re: Moving Linux kernel to 4.14

Mon Jan 14, 2019 7:39 pm

alexsy wrote:
Thu Dec 27, 2018 5:59 pm
instaled 4.14..90 rpi 3b+ and rpi 3 wifi doesnot work :-(
Looks like 4.14.93 just got minted.

verkerkbr
Posts: 17
Joined: Mon Sep 10, 2018 9:17 pm

Re: Moving Linux kernel to 4.14

Mon Mar 04, 2019 7:13 pm

Updated to the latest kernel version to 4.19.25. But then my wireless access point is no longer working. No idea how to fix this. Back to kernel 4.14.98-v7 and then I works well as before.

Kernel 4.19 works very well, except this problem with the Wifi. Was is missing here ?

Regards,

Bram

User avatar
kozman
Posts: 43
Joined: Tue Sep 11, 2018 3:40 pm

Re: Moving Linux kernel to 4.14

Mon Mar 04, 2019 7:18 pm

verkerkbr wrote:
Mon Mar 04, 2019 7:13 pm
Updated to the latest kernel version to 4.19.25. But then my wireless access point is no longer working. No idea how to fix this. Back to kernel 4.14.98-v7 and then I works well as before.

Kernel 4.19 works very well, except this problem with the Wifi. Was is missing here ?

Regards,

Bram

You should be reading through here for the issue and possible resolutions: https://www.raspberrypi.org/forums/view ... 9&t=224931

Return to “Advanced users”