Freebsd without swap

2012-06-15 Thread mbsd
Hi there.

Now I'm using FreeBSD 9 without swap, and without additional swap -
related configurations.

Ξ ~ → gpart show
=   34  234441581  ada0  GPT  (111G)
 34128 1  freebsd-boot  (64k)
162  234441453 2  freebsd-zfs  (111G)

Ξ ~ → pstat -T
3857/12328 files
0M/0M swap space


And all work perfectly or that seems to me :).
My working machine is ThinkPad T61 with 4G ram.
I'm typically desktop user.
And the question is:
Does it correct to use freebsd like this? Or I need specific setup?

Option NO_SWAPPING if I understand right not for this purpose.
Sysctl vm.swap_enabled=0 seems to be useful.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd without swap

2012-06-15 Thread RW
On Fri, 15 Jun 2012 12:22:37 +0300
mbsd wrote:

 Hi there.
 
 Now I'm using FreeBSD 9 without swap, and without additional swap -
 related configurations.
.. 
 And the question is:
 Does it correct to use freebsd like this? Or I need specific setup?
 
 Option NO_SWAPPING if I understand right not for this purpose.
 Sysctl vm.swap_enabled=0 seems to be useful.

NO_SWAPPING builds-out code related to paging to swap along with the
related sysctl options, and is probably what you are after.

vm.swap_enabled enables actual swapping in addition to normal paging
when short of memory, and isn't relevant if you have no swap space.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd without swap

2012-06-15 Thread RW
On Fri, 15 Jun 2012 12:48:13 +0100
RW wrote:

 On Fri, 15 Jun 2012 12:22:37 +0300
 mbsd wrote:
 
  Hi there.
  
  Now I'm using FreeBSD 9 without swap, and without additional swap -
  related configurations.
 .. 
  And the question is:
  Does it correct to use freebsd like this? Or I need specific setup?


Sorry, missed this bit. No, you don't have to do anything.

  Option NO_SWAPPING if I understand right not for this purpose.
  Sysctl vm.swap_enabled=0 seems to be useful.
 
 NO_SWAPPING builds-out code related to paging to swap along with the
 related sysctl options, and is probably what you are after.
 
 vm.swap_enabled enables actual swapping in addition to normal paging
 when short of memory, and isn't relevant if you have no swap space.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Freebsd without swap?

2008-05-19 Thread Drew Sanford

Hi,
I lost a hard drive in one of my machines here. Fortunately, the only 
thing on it was /tmp and a random storage partition I used as a dropoff 
point for backups before they get ftp'd to another machine. And...my 
swap partition. So how dangerously am I living to run this machine 
without any swap until I get my hands on a replacement drive? Frankly, 
it doesn't eat into the swap much at all on regular basis. Thanks for 
the help.


Drew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Freebsd without swap?

2008-05-19 Thread RW
On Mon, 19 May 2008 16:31:57 -0500
Drew Sanford [EMAIL PROTECTED] wrote:

 Hi,
 I lost a hard drive in one of my machines here. Fortunately, the only 
 thing on it was /tmp and a random storage partition I used as a
 dropoff point for backups before they get ftp'd to another machine.
 And...my swap partition. So how dangerously am I living to run this
 machine without any swap until I get my hands on a replacement drive?
 Frankly, it doesn't eat into the swap much at all on regular basis.

I've not tried it myself, but the question came-up before and no-one
seemed to regard it as a problem, provided you don't actually need
swap space.

If you're concerned you can create a swap file with dd, and add
swapfile=path-to-file in rc.conf 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd without swap (swap_pager_getswapspace: failed)

2003-01-29 Thread Joe
Hello, 
I am running a system from a cdrom.  There is no swap space
to be mounted unless I use a mfs system for swap.  

 I am getting message about 
swap_pager_getswapspace: failed
   
  Is there any way I can shut these off without creating
swap space?  

  Oh and who would I talk to about changes in the
rc.diskless2 script to allow a few more options.

Thanks, 
Joe


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message