You are not logged in.

#1 2008-11-09 13:40:26

Wilco
Member
Registered: 2008-11-09
Posts: 376

Why not enable highmem (4GB) on 32 bit systems?

Hi all,

I have 4GB ram in my computer and only 3GB is visible in arch32. Sure, I can address the whole 4GB with arch64 but then I miss some software, like flash and wine.

Why isn't highmem64 enabled for 32 bits system? It seems (I'm not sure about this) like the overhead is zero on systems with less than 4GB and it should also work on 32 bit systems.

Anyone?

Offline

#2 2008-11-09 14:54:06

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: Why not enable highmem (4GB) on 32 bit systems?

I'm not entirely sure on this, but even if highmem is enabled, 32bit applications can only use the max for a 32bit OS.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#3 2008-11-09 15:13:20

Barrucadu
Member
From: Hull, England
Registered: 2008-03-30
Posts: 1,157
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

You can use flash and WINE in Arch64

Offline

#4 2008-11-09 15:49:03

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: Why not enable highmem (4GB) on 32 bit systems?

Or recompile your kernel with highmem support.

(If elmer_42 is right, then just disregard this!)


div curl F = 0

Offline

#5 2008-11-09 16:43:07

Wilco
Member
Registered: 2008-11-09
Posts: 376

Re: Why not enable highmem (4GB) on 32 bit systems?

But you can still use 4GB in 32 bits linux. Besides, highmem doesn't add a lot to the kernel, so why not?

Offline

#6 2008-11-09 16:46:56

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

Highmem slows down your PC somewhat.

Offline

#7 2008-11-09 16:49:25

Anonymo
Member
Registered: 2005-04-07
Posts: 418
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

Anonymo Gates wrote:

Nobody will ever need more than 3 GB of RAM!

Offline

#8 2008-11-09 17:53:26

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,616

Re: Why not enable highmem (4GB) on 32 bit systems?

Search our bugtracker. We tried to enable it and some drivers got broken when I rememeber right. So we reverted it.

Offline

#9 2008-11-09 19:36:52

jelly
Trusted User (TU)
From: /dev/null
Registered: 2008-06-10
Posts: 711

Re: Why not enable highmem (4GB) on 32 bit systems?

you can use 4 Gb of ram with a 32bits kernel if you have PXE support

Offline

#10 2008-11-09 21:07:27

SomeGuyDude
Member
Registered: 2008-10-09
Posts: 271

Re: Why not enable highmem (4GB) on 32 bit systems?

Barrucadu wrote:

You can use flash and WINE in Arch64

Flash in Arch64 requires some pretty ugly workarounds, and I haven't seen a successful guide to getting Wine working (though someone on here said they'd done it).


And in the midst of such perfection,
I can't help but feel diseased.

Offline

#11 2008-11-09 21:14:45

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,880

Re: Why not enable highmem (4GB) on 32 bit systems?

SomeGuyDude wrote:
Barrucadu wrote:

You can use flash and WINE in Arch64

Flash in Arch64 requires some pretty ugly workarounds, and I haven't seen a successful guide to getting Wine working (though someone on here said they'd done it).

There's a modern guide here right now on how to install Flash 10 on 64 bit:

http://bbs.archlinux.org/viewtopic.php?id=58041

It's not as pretty as "pacman -S flashplugin", but it is easy and there are no ugly workarounds. Once Flash is set up, getting Wine set up is a matter of a few more packages which Wine is more than happy to complain about the first time winecfg is run.

Offline

#12 2008-11-09 21:29:15

Damnshock
Member
From: Barcelona
Registered: 2006-09-13
Posts: 414

Re: Why not enable highmem (4GB) on 32 bit systems?

2^32 = 4gb of adreces in a simple instruction. That's the maximum a 32bit processor can manage memory *directly*.

Of course, there are other ways to manage memory which will enable a 32 bits system to work with more than 4gigs of ram but they will slow down your system ( how much depends on the aproach).

Anyway, this is in theory and I don't really know how linux addresses memory. Maybe linux kind of "hides" a part of your system memory and that's why some are saying that you won't see the 4gb of ram. I don't know that well linux,  don't think it is this way though. Probably your system will manage perfectly 4gb of ram without a problem

Damnshock

PS: enabling the 64gb support on a 32bits system *will* slow down the system, don't do it if you don't have more than 4gigs


My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org

Offline

#13 2008-11-11 04:12:24

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

I run Arch64. I have Wine. I just installed it, there wasn't anything crazy about it. I think it's a 32 bit version, but who cares? Everything I want to run is 32 bit anyway.
Flash, yes, that works too.

The only piece of software I've had issues with was tigcc, a c compiler for the TI-89 calculator. That WOULD work on linux, but I'd have to compile it instead of using the binary version, which would require me to have all sorts of fun with PKGBUILD's to set up temporary bootstrap compilers and...
Someday I'll get that working, but for now I'm too lazy.

Offline

#14 2008-11-11 04:33:59

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 4,705
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

I've just recompiled my kernel to enable PAE and 64G... So far haven't noticed and ill-effects or noticeable slowdown hmm

Offline

#15 2008-11-11 07:48:10

Barrucadu
Member
From: Hull, England
Registered: 2008-03-30
Posts: 1,157
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

SomeGuyDude wrote:
Barrucadu wrote:

You can use flash and WINE in Arch64

Flash in Arch64 requires some pretty ugly workarounds, and I haven't seen a successful guide to getting Wine working (though someone on here said they'd done it).

http://wiki.archlinux.org/index.php/Ins … _on_Arch64

pacman -S bin32-wine

bin32-wine is in the archlinux.fr repo.

Offline

#16 2008-11-11 09:39:04

Wilco
Member
Registered: 2008-11-09
Posts: 376

Re: Why not enable highmem (4GB) on 32 bit systems?

fukawi2 wrote:

I've just recompiled my kernel to enable PAE and 64G... So far haven't noticed and ill-effects or noticeable slowdown hmm

That's what I noticed too, no slowdowns whatsoever.

Offline

#17 2008-11-13 09:14:56

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Re: Why not enable highmem (4GB) on 32 bit systems?

Just because you don't notice it doesn't mean it's not there. Extra processor cycles are going to the page mapping tables which lead to a loss of performance. And just because you don't have any problems with it, doesn't mean someone else won't.

So if you really want to use PAE then just keep using your own kernel.


:?

Offline

#18 2008-11-13 09:36:48

Damnshock
Member
From: Barcelona
Registered: 2006-09-13
Posts: 414

Re: Why not enable highmem (4GB) on 32 bit systems?

RedShift wrote:

Just because you don't notice it doesn't mean it's not there. Extra processor cycles are going to the page mapping tables which lead to a loss of performance. And just because you don't have any problems with it, doesn't mean someone else won't.

So if you really want to use PAE then just keep using your own kernel.

+1


My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org

Offline

#19 2008-11-13 23:09:06

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 4,705
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

RedShift wrote:

Just because you don't notice it doesn't mean it's not there. Extra processor cycles are going to the page mapping tables which lead to a loss of performance. And just because you don't have any problems with it, doesn't mean someone else won't.

So if you really want to use PAE then just keep using your own kernel.

*shrugs* If I don't notice, then I don't really care (not on a desktop / laptop anyway).

Because I don't have any problems with it, someone else might not either smile

Offline

#20 2008-11-14 00:52:40

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

Barrucadu wrote:
SomeGuyDude wrote:
Barrucadu wrote:

You can use flash and WINE in Arch64

Flash in Arch64 requires some pretty ugly workarounds, and I haven't seen a successful guide to getting Wine working (though someone on here said they'd done it).

http://wiki.archlinux.org/index.php/Ins … _on_Arch64

pacman -S bin32-wine

bin32-wine is in the archlinux.fr repo.

Yep, I'm using that repo and...

[arew264@Reno ~]$ sudo pacman -Q | grep wine
bin32-wine 1.1.7-1
[arew264@Reno ~]$

Offline

#21 2008-11-17 16:59:34

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

Its about time!!!! Now I can finally give-up ndiswrapper!!!! Yeah!!!!! I think this deserves to be a separate post!!!!


Website - Blog - arch-home
Arch User since March 2005

Offline

#22 2008-11-17 17:04:27

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 1,946
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

pyther wrote:

Its about time!!!! Now I can finally give-up ndiswrapper!!!! Yeah!!!!! I think this deserves to be a separate post!!!!

There is one already !!!!!!!!!!  Look on the forums !!!!!!!!! No need to make a new one !!!!!!!!!


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#23 2008-11-17 21:46:05

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

My bad, I was at school, so I didn't have a chance browse all the forums and topics.


Website - Blog - arch-home
Arch User since March 2005

Offline

#24 2008-11-18 01:55:49

damjan
Member
Registered: 2006-05-30
Posts: 292

Re: Why not enable highmem (4GB) on 32 bit systems?

How about installing a 64bit kernel on your 32bit Arch distro.. That's what Theodore Tso uses (read it for the rationale).

Offline

#25 2008-11-18 03:09:59

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Why not enable highmem (4GB) on 32 bit systems?

damjan wrote:

How about installing a 64bit kernel on your 32bit Arch distro.. That's what Theodore Tso uses (read it for the rationale).

I have actually thought about doing this because my main machine is i686 (laptop, Core2Duo + 2Gb RAM) but I would like a x86_64 chroot for package building.  But I am too busy/lazy to actually try...

Offline

Board footer

Powered by FluxBB