Re: More than 2 Gb of swap



s45_nospam@xxxxxxx wrote:

Hi,

On a system with Linux RedHat AS 3.0 (kernel 2.4.21-20.ELsmp) with an
AMD Opteron, I have got 4 GB of RAM and 8 GB of swap. These 8 GB of
swap are on only one partition.

According to the man of mkswap (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).
This rule imposes 4 partitions of 2G to have 8 GB.

Er... only for i386, but you don't have an i386 you have AMD64. Unless
you installed your system as 32-bit.

With only one swap partition of 8 GB, a top displays that I have 8 GB
of total swap. By making the server swapping, I have this:
Swap: front 8388472k, 4193584k used, 4194888k free 2265020k cached
Thus seems working in spite of this rule.

Yup.


.



Relevant Pages

  • Re: Security of data in memory
    ... swap partition, key protection, secure data deletion. ... being stolen or otherwise disclosed they will often respond with filesystem ... permissions on a file, user, group and other as a bare minimum. ...
    (SecProg)
  • Re: Clear the computers memory?
    ... So basically, Linux uses the standard swap mechanism to resume, hence ... it was the only partition that the system could safely use without ... long as it had enough space left to dump the RAM contents in it. ... system was responsive before hibernating, it will be as responsive after ...
    (Ubuntu)
  • Re: Few questions before I try to install Ubuntu
    ... As you can see I've got a machine with less than 512MB Ram, ... mail should fly and not need more than 128MB of swap really. ... As long i use Ubuntu my swap was used max. 10MB if even that. ... your swap partition will see relatively ...
    (Ubuntu)
  • Re: Clear the computers memory?
    ... reload when the applications/prosseses are actively accessing that memory. ... So basically, Linux uses the standard swap mechanism to resume, hence ... it was the only partition that the system could safely use without ... long as it had enough space left to dump the RAM contents in it. ...
    (Ubuntu)
  • Re: Few questions before I try to install Ubuntu
    ... As long i use Ubuntu my swap was used max. 10MB if even that. ... in your e-mail you mention that you have 512 MB of RAM. ... your swap partition will see relatively ...
    (Ubuntu)