Actually, you might get more efficient swap activity if you have 4 1 GB
swap areas on 4 different devices. That way you're not single threading to
a single device. While you're at it, if you have VM, allocate a VM minidisk
in memory, say maybe 64 megabytes, and give THAT a higher swap priority
than your physical disk swap area.
|---------+---------------------------->
| | Jason Herne |
| | <[EMAIL PROTECTED]|
| | .edu> |
| | Sent by: Linux on|
| | 390 Port |
| | <[EMAIL PROTECTED]|
| | IST.EDU> |
| | |
| | |
| | 09/17/2003 08:41 |
| | AM |
| | Please respond to|
| | Linux on 390 Port|
| | |
|---------+---------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: Re: swapfile over 2G on 64bit
|
>------------------------------------------------------------------------------------------------------------------------------|
If all else fails you could always break the partition in halves and
then load both of them as swap dpartitions. You would still have 4GB of
swap space in the end.
- Jason Herne ([EMAIL PROTECTED])
On Wed, 2003-09-17 at 10:13, Sergey Korzhevsky wrote:
> Hi.
>
> Is it possible to create swapfile over 2G on 64bit system?. I think yes,
> but i've got the following "answer":
>
> ls -la
> -rw-r--r-- 1 root root 4294967296 Sep 17 12:51 swap3
>
> mkswap /share/share/swap3
> mkswap: error: swap area needs to be at least 40kB
> Usage: mkswap [-c] [-v0|-v1] [-pPAGESZ] /dev/name [blocks]
>
>
> It is on SLES7(64b, beta). 'Mkswap' from util-linux-2.11b-52
>
>
> ps:
> uname -a
> Linux zlinux 2.4.21-4 #2 SMP Tue Sep 2 11:42:25 EEST 2003 s390x unknown
>
> ldd /sbin/mkswap
> libc.so.6 => /lib64/libc.so.6 (0x0000010000033000)
> /lib/ld64.so.1 => /lib/ld64.so.1 (0x0000010000000000)
>
> So, what's wrong?
>
> WBR, Sergey