4 GB RAM limit
#59
(06-01-2020, 04:51 AM)zer0sig Wrote: Also, it's worth noting that rpi is just now releasing a 64-bit OS. I've been running a 64-bit armbian build on my PINE64 A+ since 2016 I believe.

Have you benchmarked 32-bit vs 64-bit on your various devices? I've run some benchmarks on the Pi3B+ and Pi4, 32-bit vs 64-bit, and 32-bit was consistently faster for most tasks (building things, browser benchmarks, etc - I didn't run spec because that's a pain to get running). A popular article some while ago demonstrated that for things that use 64-bit only instructions, 64-bit is (duh) faster, but in practical use, the gains aren't nearly so obvious. A 32-bit binary will almost always have a smaller memory footprint due to smaller pointers, and will therefore fit in cache better.

Supporting 8GB of physical RAM on 32-bit isn't a problem, because the Pi kernels ship with lpae mode - so they can address something like 40 or 44 bits of physical memory. There's still a per-process memory limit of 4GB (which, IIRC, is split 3G/1G on Linux), but that's not a huge limitation in practical use.

I totally get the desire to run a clean 64-bit OS, and I run one on my PBP, but it's far from clear that it's the better option for a memory limited device.

(08-25-2020, 05:44 AM)NickL Wrote: Has anyone here tried using zRAM to increase the usable memory for the system? It sounds like this would be a way to acceptably boost usable memory up into the 6 to 7GB range at the cost of some CPU overhead.

zram works, I personally prefer zswap but that's a bit of a point of contention around here. Both help a good bit.
  Reply


Messages In This Thread
4 GB RAM limit - by cmeerw - 08-07-2019, 07:08 AM
RE: 4 GB RAM limit - by MrTester - 08-07-2019, 10:01 AM
RE: 4 GB RAM limit - by Kochise - 08-07-2019, 12:17 PM
RE: 4 GB RAM limit - by MrTester - 08-07-2019, 12:38 PM
RE: 4 GB RAM limit - by sorval - 05-03-2020, 11:58 AM
RE: 4 GB RAM limit - by Arwen - 05-03-2020, 07:41 PM
RE: 4 GB RAM limit - by Der Geist der Maschine - 05-10-2020, 11:40 AM
RE: 4 GB RAM limit - by Arwen - 05-11-2020, 11:12 AM
RE: 4 GB RAM limit - by chithanh - 09-13-2020, 05:28 PM
RE: 4 GB RAM limit - by fire219 - 08-07-2019, 10:24 AM
RE: 4 GB RAM limit - by Arwen - 08-08-2019, 03:30 AM
RE: 4 GB RAM limit - by fire219 - 08-08-2019, 11:37 AM
RE: 4 GB RAM limit - by CampGareth - 08-08-2019, 11:30 AM
RE: 4 GB RAM limit - by chessie - 08-09-2019, 08:24 AM
RE: 4 GB RAM limit - by z4v4l - 08-09-2019, 09:56 AM
RE: 4 GB RAM limit - by Arwen - 08-09-2019, 02:23 PM
RE: 4 GB RAM limit - by chessie - 08-09-2019, 07:33 PM
RE: 4 GB RAM limit - by Kochise - 08-10-2019, 01:00 AM
RE: 4 GB RAM limit - by chessie - 08-10-2019, 01:53 AM
RE: 4 GB RAM limit - by cmeerw - 08-10-2019, 09:08 AM
RE: 4 GB RAM limit - by Kochise - 08-10-2019, 09:08 AM
RE: 4 GB RAM limit - by cmeerw - 08-10-2019, 09:59 AM
RE: 4 GB RAM limit - by Kochise - 08-10-2019, 10:06 AM
RE: 4 GB RAM limit - by chessie - 08-10-2019, 10:18 AM
RE: 4 GB RAM limit - by z4v4l - 08-10-2019, 11:13 AM
RE: 4 GB RAM limit - by chessie - 08-10-2019, 12:09 PM
RE: 4 GB RAM limit - by Kochise - 08-10-2019, 12:35 PM
RE: 4 GB RAM limit - by MrTester - 08-12-2019, 02:28 PM
RE: 4 GB RAM limit - by Solra Bizna - 08-14-2019, 12:19 AM
RE: 4 GB RAM limit - by blu - 08-14-2019, 03:16 AM
RE: 4 GB RAM limit - by Solra Bizna - 08-14-2019, 11:44 PM
RE: 4 GB RAM limit - by blu - 08-15-2019, 08:49 AM
RE: 4 GB RAM limit - by Kochise - 08-15-2019, 01:08 AM
RE: 4 GB RAM limit - by lfen - 08-15-2019, 04:17 AM
RE: 4 GB RAM limit - by Kochise - 08-15-2019, 12:46 PM
RE: 4 GB RAM limit - by lfen - 08-15-2019, 01:08 PM
RE: 4 GB RAM limit - by Solra Bizna - 08-15-2019, 05:53 PM
RE: 4 GB RAM limit - by MrTester - 08-21-2019, 07:36 AM
RE: 4 GB RAM limit - by fams - 05-09-2020, 09:33 AM
RE: 4 GB RAM limit - by icecream95 - 05-10-2020, 04:28 AM
RE: 4 GB RAM limit - by cthompson - 05-11-2020, 07:00 AM
RE: 4 GB RAM limit - by evilbunny - 05-11-2020, 07:18 AM
RE: 4 GB RAM limit - by MIchael - 05-14-2020, 11:00 AM
RE: 4 GB RAM limit - by Vasant - 05-14-2020, 05:42 PM
RE: 4 GB RAM limit - by MarylandBill - 05-25-2020, 08:38 AM
RE: 4 GB RAM limit - by janat08 - 05-17-2020, 08:06 AM
RE: 4 GB RAM limit - by Phillip Bell - 05-23-2020, 05:51 PM
RE: 4 GB RAM limit - by xmixahlx - 05-23-2020, 10:32 PM
RE: 4 GB RAM limit - by jiyong - 05-27-2020, 05:21 AM
RE: 4 GB RAM limit - by Arwen - 05-27-2020, 02:22 PM
RE: 4 GB RAM limit - by Vasant - 05-27-2020, 08:16 PM
RE: 4 GB RAM limit - by janat08 - 05-28-2020, 07:29 AM
RE: 4 GB RAM limit - by jiyong - 05-28-2020, 06:20 AM
RE: 4 GB RAM limit - by zer0sig - 06-01-2020, 04:51 AM
RE: 4 GB RAM limit - by NickL - 08-25-2020, 05:44 AM
RE: 4 GB RAM limit - by PakoSt - 08-25-2020, 06:50 AM
RE: 4 GB RAM limit - by NickL - 08-27-2020, 10:35 AM
RE: 4 GB RAM limit - by PaulQ - 08-27-2020, 11:50 PM
RE: 4 GB RAM limit - by moonwalkers - 08-28-2020, 08:54 AM
RE: 4 GB RAM limit - by Syonyk - 08-31-2020, 10:06 PM
RE: 4 GB RAM limit - by zer0sig - 09-04-2020, 07:49 PM
RE: 4 GB RAM limit - by Arwen - 09-01-2020, 09:54 AM
RE: 4 GB RAM limit - by moonwalkers - 09-01-2020, 10:27 PM
RE: 4 GB RAM limit - by zer0sig - 09-04-2020, 06:30 PM
RE: 4 GB RAM limit - by wannaphong - 02-18-2021, 11:05 PM
RE: 4 GB RAM limit - by Arwen - 02-19-2021, 09:41 AM
RE: 4 GB RAM limit - by DrYak - 02-22-2021, 01:22 PM
RE: 4 GB RAM limit - by jiyong - 02-20-2021, 11:37 AM

Forum Jump:


Users browsing this thread: 13 Guest(s)