Re: What size for the swap with a kernel 2.4x and 8GB RAM




Aragorn a écrit :

On Monday 20 March 2006 20:53, Jean-David Beyer stood up and spoke the
following words to the masses in /comp.os.linux.misc...:/

The amount of usable swap space in the Linux kernel for IA32 systems is
limited to around 2 GB, give and take a few bytes. In other words,
unless your machine is an IA32-64 - e.g. AMD64 - you're wasting about 6
GB of diskspace... ;-)


I have got a RedHat Linux IA32 but the cpus are 2 dual core Intel Xeon
3.4 Ghz. I agree that a real Linux 64 OS would better fit with my Xeons
but I have to deal with...
In my case, Linux 32 bits (RedHat AS 3.0 32 bits with a
2.4.21-20.0.1.ELsmp kernel _ this kernel from RedHat has some back
ports from kernel 2.6), am I wasting 6 Gb of diskspace on my swap
partition of 8 Gb? How can I confirm it? man on mkswap gives me "The
maximum useful size of a swap area now depends on the architecture. It
is roughly 2GiB on i386, PPC, m68k, ARM, 1GiB on sparc, 512MiB on
mips, 128GiB on alpha and 3TiB on sparc64."

Sylvain

.



Relevant Pages

  • Re: automatic vs allocated attempts
    ... I can malloc away until the machine is to all intents and purposes dead ... On Linux, per default, mallocallocates address space only (if it ... If the kernel cannot provide physical RAM or swap space as backing store ...
    (comp.lang.c)
  • Re: GPLing Solaris wont save SUN
    ... > Those aren't really Linux problems. ... > Kernel" says that the 2.4 kernel will kill a process. ... Don't say silly things like a crashing kernel when swap is full, ... you don't even have to use a swapfile, ...
    (comp.unix.solaris)
  • Re: any swap utilities I can use on fc5
    ... This is not true of any modern UNIX system, including Linux. ... Linux does not need any swap at all to run. ... So a system with 8GB RAM does NOT, in all likelihood, need 16GB swap. ... a 32bit UNIX/Linux kernel may be limited to 2GB swap MAX. ...
    (Fedora)
  • Re: any swap utilities I can use on fc5
    ... This is not true of any modern UNIX system, including Linux. ... So a system with 8GB RAM does NOT, in all likelihood, need 16GB swap. ... a 32bit UNIX/Linux kernel may be limited to 2GB swap MAX. ...
    (Fedora)
  • Re: differences between kernel-tree and kernel-source and kernel image
    ... > will this install the kernel or try to patch an existing 2.6 kernel or ... affix-source - Driver source for the Affix Bluetooth protocol stack for Linux ... atlas-doc - Automatically Tuned Linear Algebra Software,documentation ...
    (Debian-User)