Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2003 22:53:25 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        freebsd-questions@FreeBSD.ORG
Cc:        Frank Li <frank19991@hotmail.com>
Subject:   Re: Increase memory limit ?
Message-ID:  <3E277E35.9060507@mac.com>
References:  <F94MiUgjLuN4joBHChg00000ab3@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Frank Li wrote:
[ ... ]
> Cool!  I created an additional swapfile according to its instruction.  
> Everything is smooth.  Just one thing not quite understood.
> 
> # dd if=/dev/zero of=/usr/swap0 bs=1024k count=64
>
> It actually created a 64GB swapfile.

Hmm.  Are you certain:

12-sec# dd if=/dev/zero of=/var/cache/bar bs=1024k count=64
64+0 records in
64+0 records out
67108864 bytes transferred in 18.790176 secs (3571487 bytes/sec)
13-sec# ls -l /var/cache/bar
-rw-r--r--  1 root  wheel  67108864 Jan 16 22:44 /var/cache/bar

...since that should have created a 64 MB swapfile.

 > As we knew virtual memory space on 32bit bsd cannot exceed 2GB,
 > is 64GB for multiple processes/programs, or multiple users?

The 2 GB of user-addressable virtual address space is per-process.
Anyway, it sounds like you've made good progress.  (Congratulations.)

-Chuck



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E277E35.9060507>