LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-13-2011, 12:20 PM   #1
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Rep: Reputation: 27
64 bit Linux, 8 gig RAM, 32 bit wine


I read something about how a 32 bit OS isn't effective at utilizing more than 4 GIGS of memory. I don't really understand the issue very well. What if I install a 64 bit OS but then I install 32 bit wine because 32 bit wine has less problems. Will the Windows programs I run in wine utilize 8 gigs of memory? How can I check?
EDIT:
Oops, I meant to put this in the hardware forum. Sorry. I guess I'll report it instead of double posting.
 
Old 01-13-2011, 12:39 PM   #2
xandercage17
Member
 
Registered: Sep 2009
Posts: 125

Rep: Reputation: Disabled
Delete My account

Last edited by xandercage17; 04-22-2012 at 02:34 PM. Reason: Delete My account
 
Old 01-13-2011, 12:53 PM   #3
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by xandercage17 View Post
It will work better on 64bit OS
I know. I have a 64 bit OS. I'm wondering if using 32 bit wine cancels out all the benefits. I tried 64 bit wine but then a game tried installing .net service pack2 or something and I kept getting an error, something about how .net SP2 can't work on a 64 bit system. There was a workaround but I never figured it out and gave up and installed 32 bit wine.

Actually now that I think about the game continued to install despite the failure of the .net SP2 install. I wonder if the game would have worked anyway? Probably I should try that. Or maybe I can get that workaround to get .net SP2 onto a 64 bit wine to work.
 
Old 01-13-2011, 01:07 PM   #4
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
Actually I noticed if I have the wine package that supports both 32 and 64 bits then I get two folders. Program Files and Program Files (x86). I notice one game automatically installs into the Program Files (x86) directory so I looked it up and I found that the game is "written in 32 bit code". So would it even make any difference if I only installed 32 bit wine?
 
Old 01-13-2011, 02:45 PM   #5
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
A 32 bit Windows OS is limited to 3 and fraction GB of physical ram.

A 32 bit Windows program run under a 32 bit Windows OS is limited to either 2GB or 3GB of virtual ram (depending on various settings).

A 32 bit Windows program run under a 64 bit Windows OS is limited to either 2GB or 4GB of virtual ram (depending on just a setting in that program's header). But that 2GB or 4GB can be anywhere in the physical ram, so you could be running several different 32 bit programs at the same time that in total use far more than 4GB, even though no one of them can use more than 4GB.

A 32 bit Windows program run under Wine in a 32 bit PAE Linux OS is limited to: I don't know whether 2GB or 3GB nor what settings might determine that. But that 2GB or 3GB can be anywhere in the physical ram, so you could be running several different 32 bit Windows programs at the same time that in total use far more than 4GB, even though no one of them can use more than 2GB or 3GB.

For a 64 bit version of Wine in a 64 bit Linux OS, I don't know whether 32 bit Windows programs are limited to 2G, 3GB or 4GB (but one of those). As above, the total ram used by many 32 bit programs can be much larger than 4GB.

Only the 32-bit Windows OS (or non PAE 32-bit Linux) limits the total ram used by multiple 32-bit Windows programs to less than 4GB.

Quote:
Originally Posted by darksaurian View Post
So would it even make any difference if I only installed 32 bit wine?
I don't know how/whether the 32 vs. 64 bit choice in installing Wine affects the 2GB vs. 3GB vs. 4GB limit on virtual memory per 32-bit Windows process. A 64-bit Wine couldn't let a 32-bit Windows program use more than 4GB virtual memory. So per process, the limit must be in the 2GB to 4GB range.

Your 32-bit game program probably wouldn't use over 2GB no matter what Wine and/or Windows lets it use. So in that sense, it probably doesn't matter to that game which version of Wine you install.

For multiple Windows programs run at once, the 32-bit version of Wine would be just as effective as the 64-bit version at letting the total physical ram use by several simultaneous programs go way over 4GB.

Last edited by johnsfine; 01-13-2011 at 02:54 PM.
 
Old 01-13-2011, 05:17 PM   #6
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine 32 bit on Slackware 13 64 bit problems: configure can't find some libraries ozanbaba Slackware 28 11-26-2010 02:42 PM
Got more than a gig of RAM and 32-bit Linux? Here's how to use it gongjiao Linux - Hardware 5 09-24-2007 12:24 PM
LXer: Got more than a gig of RAM and 32-bit Linux? Here's how to use it LXer Syndicated Linux News 0 09-21-2007 07:40 PM
64 bit vs 32 bit ubuntu 7.04 for WINE/wowc? Pfaust Ubuntu 3 05-23-2007 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration