• Welcome to Peterborough Linux User Group (Canada) Forum.
 

RPI 4, 2G and RPI Zero W projects

Started by ssfc72, October 05, 2020, 05:58:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fox

I sold my Pi 3B today, and am looking to buy the 4 with 4 gb memory. I read a few reviews suggesting that 8 gb is excessive if you don't do a lot of multitasking or working with large graphic files. I'm debating between buying a make-it yourself kit from BuyaPi, or a Labists kit that is on sale at Amazon for $115. I would prefer to buy from BuyaPi (Ottawa-based), but the Labists kit is on sale and includes a few items you don't get from a comparable BuyaPi "kit". The labist case is also one of the nicer ones I've seen; attractive with good ventilation and space for attachment boards; you can see it here. I'm going to buy tonight, so if anyone has any thoughts on what I should buy, please post.
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

ssfc72

Thanks for the info Mike.  A very good sale price.
Mint 20.3 on a Dell 14" Inspiron notebook, HP Pavilion X360, 11" k120ca notebook (Linux Lubuntu), Dell 13" XPS notebook computer (MXLinux)
Cellphone Samsung A50, Koodo pre paid service

fox

I have my 4 now, and have just set it up with BerryBoot, booting from an old SSD. (Actually, it still requires the SD card to start up, but it directs the system to boot from the SSD.) Using 64 bit Raspberry Pi OS, this seems quite responsive so far; much more so than the Pi 3B. I would consider this quite usable as a desktop, assuming that the software I need is available. I'll be exploring that in the next few days.
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

Jason

But the most important question: did you get the one with 4 GB or 8 GB of memory?

I've read somewhere that if programs are compiled with 64-bit support, they will run ~30% faster. But they may just apply to PCs. The OS is obviously the platform on which everything else is based so having been compiled for the 64-bit processor should make a fair bit of difference. The RPi 3 has a 64-bit processor but the OS isn't as I'm sure you already know. And I don't think you can run 64-bit programs without a 64-bit OS but I don't know how many programs on the RPi have been built with 64-bit support. IOW, the increased performance depends on the software taking advantage of it. But the one thing you did get, regardless, is the ability to access more than 4 GB of RAM, a 32-bit limitation.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

fox

I didn't install the 64-bit version on purpose; when I booted up BerryBoot that version is what showed as available. I got the 4 gb RPi4.
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

Jason

Quote from: fox on January 10, 2021, 09:23:12 PM
I didn't install the 64-bit version on purpose; when I booted up BerryBoot that version is what showed as available. I got the 4 gb RPi4.

The 32-bit version would probably run but I doubt there'd be any benefit to doing so with a 64-bit processor. So that makes sense.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

gmiller1977

32bit on 64bit doesn't have any performance increases.  If recompiled, properly, 64bit binaries will typically offer a performance increase of what Jason indicates.

Jason

Recently I read (and can't find) an article that said there might be a situation in which running a 32-bit OS (and 32-bit programs) on a 64-bit OS would be preferable - if your system has 2 GB RAM or less. 64-bit processors can access more RAM (> 4 GB) which is great but that comes with a bit of memory hit.

Everything running (as well as programs/data that is cached) is some space in RAM. Programs have to know how to access that RAM so each chunk of data has a starting address. That'd be like addresses on a street with the data being the people and things in them. But you also need to know where to find that data. That'd be like a phonebook. You need to find someone, it tells you where they are (or should be during a pandemic).

A 64-bit OS can not only store longer addresses it has to even if the address wouldn't normally need the space. Think of a phonebook that used to have 4 columns but now some people live at 8938493893493489 Lundy's Lane and they have names like John Iljieafiejliaifejeoigiggmmg instead of John Smith, so the phonebook can only have 2 columns now. There are lots of shorter names and shorter addresses but that doesn't matter. They all need that larger space now. The phonebook has doubled in size even if only 20% of those addresses actually need double the amount of space. Of course, that's assuming the same font size. But for the analogy, it would have to, because we can't make bits in a computer take up less room. So just like we need more pages in the phonebook, we need more RAM now just to store those addresses.

Someone told me years ago that if you're using 8 GB of RAM, 1 GB alone is used to store the addresses (assuming you're using nearly all of the RAM). That's no big deal on systems with lots of RAM. But if you only have a system with 1 GB of RAM, you don't want to give up 125 MB just for storing addresses that you don't actually need. So a 32-bit OS (which means 32-bit programs, too) is better for such a system. This might be why the Raspberry Pi 3 (and I believe the previous models) used a 32-bit OS even though it was capable of running a 64-bit one. With Pi 4, you have at least 4 GB of RAM so you can afford to use that extra RAM.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

Jason

This was a REALLY old topic and the new posts are a new subject so I moved the new topic to the Raspberry Pi section which seems most related. You'll find it here:

https://plugintolinux.ca/forum/index.php/topic,1684.0.html

PLEASE create a new topic instead of posting a message in a thread that is really old. If you're a new sign-up to the forum, clicking new posts will give you a deluge of information. So if someone is looking for new information, they will likely look to topics that were posted the most recently and likely not the bottom of very old topics. It'd be a shame for anyone to take the effort to make a post that wouldn't be found. For clarity, a topic is when you create a post that isn't a reply to an existing one.

But PLEASE, keep posting; I don't want to dissuade you. It's great to see kalabaster has joined our little group of frequent commenters. Thank you!

If anyone's not sure where to make a post, that's okay. I'll move it. And don't feel bad if I do. You guys don't really argue much (that's my job!) and a moderator has to have something to do, after all! :)
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13