Gentoo Archives: gentoo-user

From: R0b0t1 <r030t1@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 32 bit firefox on 64 bit system
Date: Mon, 06 Mar 2017 01:55:19
Message-Id: CAAD4mYgFxZT94hiWYqjc2fpxVPL0DOvnLA0zsb-xtBWaoVruMw@mail.gmail.com
In Reply to: [gentoo-user] 32 bit firefox on 64 bit system by Jorge Almeida
1 On Sat, Mar 4, 2017 at 4:22 AM, Jorge Almeida <jjalmeida@×××××.com> wrote:
2 > Is it possible?
3 >
4
5 Yes, the most straightforward way I know of is to use crossdev to
6 create an i[3456]86 GCC and compile it with the corresponding
7 cross-emerge executable. It will then install to /usr/$ARCH and you
8 should be able to copy it to your root.
9
10 > Background: some time ago I converted my atom 330 system (ASUS ION) to
11 > 64 bits. RAM is about 3.3GB, but usage never approaches the limit. My
12 > problem is that firefox went snail. chromium seems OK (I can't recall
13 > whether it was faster on 32 bits, but anyway the difference is small).
14 >
15 > Firefox runs OK on a faster computer (i3) in the same LAN (also 64
16 > bits). I assume the problem is CPU or MO specific.
17 >
18 > I thought of using a 32 bit firefox, while keeping a 64 bit system. I
19 > use a 64 bit custom kernel with support for 32 bit binaries. The
20 > question is, how to compile firefox? (It is OK if I have to recompile
21 > basic libraries, as long as this is stable...)
22 >
23 > TIA
24 >
25 > Jorge Almeida
26 >
27
28 I'm inclined to disagree with your determination that switching to a
29 64bit OS caused the slowdown, but, at the same time, you're the one
30 who was there to notice the correlation. If your determination is
31 correct it may be best to go back to a 32bit system - unlike ARM64
32 processors, which seem to suffer spectacularly when operating in 32bit
33 - early x86_64 processors may not have a penalty or be faster in the
34 more restricted mode.
35
36 When this kind of question comes up I tend to bring up the opportunity
37 to upgrade the computer as well. This tends to have many benefits in
38 regards to power usage and overall system responsiveness, but I
39 understand if it's not possible. I would point out that technology is
40 usually amortized over a 3 year period and conventional wisdom
41 dictates if you keep a computer longer than that as a business you are
42 losing money due to opportunity cost of using and maintaining older
43 and slower hardware.
44
45 R0b0t1.

Replies

Subject Author
Re: [gentoo-user] 32 bit firefox on 64 bit system Jorge Almeida <jjalmeida@×××××.com>