Re: ZFS on small systems

2009-09-19 Thread ill...@gmail.com
2009/9/17 krad kra...@googlemail.com:
 2009/9/17 Ruben de Groot mai...@bzerk.org

 On Thu, Sep 17, 2009 at 04:35:37PM +0200, Anselm Strauss typed:
  Thanks for your advice, Steve.
 
  I looked a bit at the source code and in
  /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c and I
  found this:
 
  /* set min cache to 1/32 of all memory, or 16MB, whichever is more */
  arc_c_min = MAX(arc_c / 4, 6418);
 
  Could this mean that 16 MB are already enough to run ZFS?

 I seriously doubt it.


 Sun dont recommend it on a system with  1 gb of ram, 2 or more is preferred
 though.

I believe you can install OpenSolaris ( OS by default only installs
into zfs) with as little as 768M, but it will (in my exp) run terribly.
Even with 4G on a dual-core 64bit lap-top it's pretty sluggish: like
FreeBSD 7 on a 300mHz p2 sluggish.

-- 
--
___
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


ZFS on small systems

2009-09-17 Thread Anselm Strauss

Hi,

I'm interested in using ZFS on one of my small systems with 256 MB of  
RAM and 4 GB flash disk. Since ZFS is now considered production ready  
on FreeBSD I would like to use it as root filesystem and profit mainly  
from the cool snapshot features for easy backups.


I found multiple recommendations to run ZFS only on systems with  
enough resources. But is this only a requirement if you want good  
performance or also for ZFS to function properly at all?


Thanks for any thoughts on that.
Anselm
___
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: ZFS on small systems

2009-09-17 Thread Steve Bertrand
Anselm Strauss wrote:
 Hi,
 
 I'm interested in using ZFS on one of my small systems with 256 MB of
 RAM and 4 GB flash disk. Since ZFS is now considered production ready on
 FreeBSD I would like to use it as root filesystem and profit mainly from
 the cool snapshot features for easy backups.
 
 I found multiple recommendations to run ZFS only on systems with enough
 resources. But is this only a requirement if you want good performance
 or also for ZFS to function properly at all?

I've found that on the i386 arch, that at minimum you need 756M of
memory to do anything really useful. Now, I don't know if this has
changed or not, but I doubt that the box would be useful for anything
with only 256M.

With that said, I can keep a box running at max disk r/w for hours on
end with 2GB, and 1536M allocated/reserved for ZFS.

Perhaps however that there have been enhancements introduced that I
don't know about, that allow ZFS to operate in such a small memory
address space, but for some reason I doubt it. If I'm wrong, someone
will let us know ;)

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: ZFS on small systems

2009-09-17 Thread Anselm Strauss
Thanks for your advice, Steve.

I looked a bit at the source code and in
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c and I
found this:

/* set min cache to 1/32 of all memory, or 16MB, whichever is more */
arc_c_min = MAX(arc_c / 4, 6418);

Could this mean that 16 MB are already enough to run ZFS?


On Thu, Sep 17, 2009 at 2:26 PM, Steve Bertrand st...@ibctech.ca wrote:
 Anselm Strauss wrote:
 Hi,

 I'm interested in using ZFS on one of my small systems with 256 MB of
 RAM and 4 GB flash disk. Since ZFS is now considered production ready on
 FreeBSD I would like to use it as root filesystem and profit mainly from
 the cool snapshot features for easy backups.

 I found multiple recommendations to run ZFS only on systems with enough
 resources. But is this only a requirement if you want good performance
 or also for ZFS to function properly at all?

 I've found that on the i386 arch, that at minimum you need 756M of
 memory to do anything really useful. Now, I don't know if this has
 changed or not, but I doubt that the box would be useful for anything
 with only 256M.

 With that said, I can keep a box running at max disk r/w for hours on
 end with 2GB, and 1536M allocated/reserved for ZFS.

 Perhaps however that there have been enhancements introduced that I
 don't know about, that allow ZFS to operate in such a small memory
 address space, but for some reason I doubt it. If I'm wrong, someone
 will let us know ;)

 Steve

___
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: ZFS on small systems

2009-09-17 Thread Ruben de Groot
On Thu, Sep 17, 2009 at 04:35:37PM +0200, Anselm Strauss typed:
 Thanks for your advice, Steve.
 
 I looked a bit at the source code and in
 /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c and I
 found this:
 
 /* set min cache to 1/32 of all memory, or 16MB, whichever is more */
 arc_c_min = MAX(arc_c / 4, 6418);
 
 Could this mean that 16 MB are already enough to run ZFS?

I seriously doubt it.

Ruben

___
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: ZFS on small systems

2009-09-17 Thread krad
2009/9/17 Ruben de Groot mai...@bzerk.org

 On Thu, Sep 17, 2009 at 04:35:37PM +0200, Anselm Strauss typed:
  Thanks for your advice, Steve.
 
  I looked a bit at the source code and in
  /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c and I
  found this:
 
  /* set min cache to 1/32 of all memory, or 16MB, whichever is more */
  arc_c_min = MAX(arc_c / 4, 6418);
 
  Could this mean that 16 MB are already enough to run ZFS?

 I seriously doubt it.

 Ruben

 ___
 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


Sun dont recommend it on a system with  1 gb of ram, 2 or more is preferred
though.
___
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