Bug 182080

Summary: 2GB as swap partition's size limit for FC4 i386/x86_64?
Product: [Fedora] Fedora Reporter: Robinson Tiemuqinke <hahaha_30k>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: kzak, pfrields, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-27 05:17:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robinson Tiemuqinke 2006-02-20 08:46:18 UTC
Description of problem:
What's the size limit for a swap partition for FC4? Is the 2GB limit useful 
size per swap partition still in effect or not? from mkswap manual it says 
that the limit is lift off. But really need to confirm that for i386 arch.

And for x86_64 arch, what's the maximum useful size per swap area?

The following is cut from mkswap manual:

The maximum useful size of a swap area depends on the architecture and kernel  
version.   It  is  roughly 2GiB  on  i386,  PPC,  m68k, ARM, 1GiB on sparc, 
512MiB on mips, 128GiB on alpha and 3TiB on sparc64. For kernels after 2.3.3 
there is no that limitation.


Version-Release number of selected component (if applicable):
util-linux-2.12p-9.13
kernel-2.6.13-1.1532_FC4
kernel-2.6.15-1.1831_FC4


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Karel Zak 2006-02-20 14:27:20 UTC
It's more than 2GB for i386 and x86_64. I think the real limit is max size of
block device (probably 32bit - 16Tb, 64bit - 8Exabyte).

Reassingning to kernel team -- maybe they know more exact numbers.

Comment 2 Dave Jones 2006-02-27 05:17:30 UTC
iirc, you can have up to 32 64GB swaps active at the same time.
Posting such questions to linux-kernel is a better bet for such queries.
Bugzilla is for tracking bugs.