4 GB RAM limit
#61
(09-01-2020, 09:54 AM)Arwen Wrote: What we really need, is what the x86/x64 side calls multi-library. The ability to run either 32 or 64 bit binaries. Any package loaded, that supplies libraries, would have both. Each non-library package could determine what would be best based on need. Like LibreOffice & Gimp would probably work better as 64 bit binaries. On the other hand, terminal emulators and Vim would probably work just fine as 32 bit binaries.


Code:
$ uname -a
Linux gortys 5.7.4-0.40-1-pinebookpro-hwaccel #1 SMP PREEMPT Fri Jul 10 23:40:23 PDT 2020 aarch64 GNU/Linux
$ dpkg --print-architecture
arm64
$ dpkg --print-foreign-architectures
amd64
$ sudo dpkg --add-architecture armhf
$ dpkg --print-foreign-architectures
amd64
armhf
$ sudo aptitude update > /dev/null
$ sudo aptitude -y install htop:amd64 > /dev/null
$ file "$(which htop)"
/usr/bin/htop: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=e92103090217a907929e5dda72ca3e7a109c3213, for GNU/Linux 3.2.0, stripped
$ htop -v
htop 3.0.0 - (C) 2004-2018 Hisham Muhammad
Released under the GNU GPL.
$ sudo aptitude -y install htop:armhf > /dev/null
$ file "$(which htop)"
/usr/bin/htop: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, BuildID[sha1]=fa25de2b58e59f77b758063e843834aa96036e8e, for GNU/Linux 3.2.0, stripped
$ htop -v
htop 3.0.0 - (C) 2004-2018 Hisham Muhammad
Released under the GNU GPL.
$ sudo aptitude -y install htop > /dev/null
$ file "$(which htop)"
/usr/bin/htop: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=c3f2abfbe13275161fde11ab92939e49bc86ad39, for GNU/Linux 3.7.0, stripped
moonwalker@gortys:~$ htop -v
htop 3.0.0 - (C) 2004-2018 Hisham Muhammad
Released under the GNU GPL.


Now, there are three caveats:

  1. some packages cannot be installed simultaneously in more than one architecture, e.g. only one of htop:amd64, htop:armhf, or htop:arm64 can be installed at a time, installing the other will uninstall the previous.
  2. some architectures may be incompatible, e.g. only one of i386 or armhf can be enabled. This has to do with some limitations of how libraries in those two architectures are organized.
  3. non-native for the hardware architectures will require something like qemu-user or qemu-user-static to integrate seamlessly. That is, i386 on amd64 hardware and armhf on arm64 hardware will work as-is, but something like QEMU is needed for running i386/amd64 on any ARM, armhf/arm64 on any x86/x86_64, and any 64-bit binaries on any 32-bit hardware.
Obviously, that's all on Debian. How Manjaro works with multiarch, if at all - that I don't know. But if whatever is your distro of choice supports multiarch - using select few 64-bit arm64 apps mixed in the same system with select few 32-bit armhf apps should not be a problem whatsoever, and that includes apps like browsers, LibreOffice, etc. That said, while I can use armhf version of Firefox on my PBP, since I don't watch either Netflix or Prime Video I prefer the simplicity of running (near) pure arm64 system.
This message was created with 100% recycled electrons
  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: 11 Guest(s)