Skip to main content

[Post] The Raspberry Pi 4 is Better?

When I started this blog, the first post was a post criticising the Raspberry Pi 3B+ for being not "up to par" as compared to its competitors in the market. You can read that post here.

Ever since then a few developments have taken place, and the Raspberry Pi 4B has been announced, and subsequently released, much to the joy of makers.

The hype lived up to its name though -- a more efficient CPU, faster RAM, true Gigabit Ethernet and more. The RPi 4B is now a serious competitor to the market. But is it worth the money?

Well, I bought one (4GB version) :P

Before we proceed any further, I thought we compare some of the differences between the RPi 3B+ and the RPi 4B:-

Spec RPi 3B+ RPi 4B
CPU Quad core A53 @ 1.5 GHz Quad core A72 @ 1.5 GHz
RAM 1GB LPDDR2 @800MHz 1/2/4GB LPDDR4 @ 2400MHz
GPU VideoCore IV @ 300MHz VideoCore VI @ 500MHz
USB
ports
4 x USB 2.0 over 1 USB 2.0 connection from SoC 2 x USB 2.0 direct to SoC + 2 x USB 3.0 over PCIe x1
Ethernet Gigabit Ethernet @ 300Mbps, shared bandwidth with USB ports Gigabit Ethernet @ 1Gbps, shared bandwidth with PCIe x1
Wireless 802.11 b/g/n/ac, BLE 4.2 802.11 b/g/n/ac, BLE 5.0
Display 1 x full-sized HDMI 1.3a port, MIPI DSI, TRRS jack 2 x Micro HDMI 2.0 ports, MIPI DSI, TRRS jack
Power In Micro USB Type-B USB Type-C
Storage microSD microSD

With the RPi 4B, it has answered most of my complaints, except for the onboard storage, which at this point is not a big deal.

I loaded a microSD card with the Raspbian Buster Lite image and booted it up. Even the boot process feels WAY faster than before and I'd say that's a huge improvement. This could be due to the more efficient A72 cores and the faster RAM frequencies.

The GUI is butter smooth as well considering that the GPU also got an upgrade and a higher clock speed.

The tragic thing about the RPi 4 is that the USB 3.0 ports and the Ethernet are all running off a single PCIe lane, which bottlenecks the USB 3.0 speed. That's a bummer, but honestly I won't complain much given the upgrade over the previous USB 2.0 ports.

To put into perspective:-
  • PCIe x1 has a throughput of 500MB/s, but in any one direction the throughput is only 250MB/s, thus transferring at any speeds faster than 250MB/s will be bottlenecked
  • USB 2.0 has a throughput of 60MB/s
  • USB 3.0 has a throughput of 625MB/s
  • Gigabit Ethernet has a throughput of 125MB/s
The Ethernet port will not be bottlenecked by the PCIe x1, but the USB 3.0 ports will be. To top it off, since both are sharing the same bandwidth, to be able to use the full potential of 2 x USB 3.0 and 1 x Gigabit Ethernet will require

(2 x 625MB/s) + 125MB/s = 1375MB/s

Or a PCIe x8 (throughput = 2000MB/s in each direction) connection. Then again, unless we are connecting the USB 3.0 to a SATA SSD, the 250MB/s in the RPi 4B should definitely be sufficient (SanDisk Ultra Flair has a throughput of 150MB/s only).

All in all, I am very satisfied with the RPi 4B and the changes made to it, and also want to commend the Raspberry Pi Foundation that they are able to still produce the 1GB version at the same low price of US$35.

Maybe in the near future they will be able to remove some parts like the TRRS jack and one of the micro HDMI ports, and maybe, just maybe, they will be abe to squeeze an eMMC onto the board.

That's all for this post. Subscribe to be notified when I post new stuff (DIY laptop and tablet plans coming up soon).

Thanks for reading. You're awesome.

Comments

Popular posts from this blog

[Guide] Installing Microsoft Office 2016 on Ubuntu Using WINE

WINE is a compatibility layer that lets Linux users install and run Windows applications. It is not a virtual machine or an emulator. In simple words the compatibility layer translates Windows calls to Linux calls and thus something that can be understood by the underlying Linux system. For GUI folks (like me), PlayOnLinux is a graphical frontend to manage WINE applications. It also helps to automate some processes during the execution of the EXE files through the use of POL Scripts. All along POL  has a script that installs Microsoft Office 2010 to a point where it runs quite smoothly and mostly bug-free. However, future versions of Office have failed to be installed or run properly. As I was playing around with a copy of Microsoft Office 2016, I was able to get Microsoft Office 2016 running "well enough TM " such that it can be used on a day-to-day basis. Here I will outline the steps I have done to accomplish My laptop is running Kubuntu 18.04.3 LTS and has POL 4.2

[Project] Pi-based Laptop (Part 2 - The SBC)

In Part 1 of the Pi-based Laptop, I have mentioned that I needed to look for an SBC that is more powerful than the Raspberry Pi 3B+ to power the laptop. Do refer back to that particular post to check out what I am looking for. Since there are so many SBCs in the market now, I have decided to be very strict in my elimination process. As long as the SBC does not hit one of the core criterias that will affect performance, it will be dropped. I will, however, make some leeway for criterias that should not affect the performance too much such as the WiFi not supporting 802.11ac. After searching around (admittedly it got boring very quickly), I have narrowed down my search a little by including major boards that run on the RockChip RK3399 (hexa-core, 4-cores @ 1.5GHz, 2- cores @ 2.0GHz). I have also included boards that seem powerful enough on paper. The budget I'm looking at? SG$180 for the SBC and its components (~US$140). So here are the final contenders: Rock64 RockPro64

[Post] Logitech K375s Multi-device Keyboard

Image from logitech.com If you are like me and have a tendency to work across multiple computers, then you will appreciate the functionalities that the Logitech K375s can provide you. The keyboard comes with a Logitech Unifying receiver, which can pair up to 6 devices per dongle, and is pretty much plug-and-play on any PCs. It also comes with a handy smartphone stand, which has also served me pretty well. The magic in this keyboard is the ability to pair with up to 3 different devices, either through Bluetooth or Unifying. "But Tim, there are those other Logitech keyboards that also support multiple devices and are cheaper" I hear. Well, I personally prefer full-sized keyboards, as well as the better-feeling keys. When I was looking for a new keyboard, some of the options I looked at were the K480 and K780. While they offer similar functionalities, I turned down the K480 because it is not a full-sized keyboard; while I turned down the K780 due to the short key press