Re: Nullfs leaks i-nodes

2013-05-09 Thread Peter Holm
On Wed, May 08, 2013 at 12:13:17PM +0300, Konstantin Belousov wrote: On Tue, May 07, 2013 at 08:30:06AM +0200, G??ran L??wkrantz wrote: I created a PR, kern/178238, on this but would like to know if anyone has any ideas or patches? Have updated the system where I see this to FreeBSD

Re: Nullfs leaks i-nodes

2013-05-09 Thread Konstantin Belousov
On Thu, May 09, 2013 at 09:02:56AM +0200, Peter Holm wrote: On Wed, May 08, 2013 at 12:13:17PM +0300, Konstantin Belousov wrote: On Tue, May 07, 2013 at 08:30:06AM +0200, G??ran L??wkrantz wrote: I created a PR, kern/178238, on this but would like to know if anyone has any ideas or

Re: new jail(8) ignoring devfs_ruleset?

2013-05-09 Thread Jeremie Le Hen
On Thu, Mar 21, 2013 at 06:46:57PM -0600, Jamie Gritton wrote: It's not fixed anywhere yet - it sometimes works in current, and sometimes doesn't. I've been meaning to patch it up, but it the problem is what I think it is, the patching up is a pretty big operation. It doesn't mean you

Re: Nullfs leaks i-nodes

2013-05-09 Thread Goran Lowkrantz
--On Wednesday, 08 May, 2013 12:13 PM +0300 Konstantin Belousov kostik...@gmail.com wrote: On Tue, May 07, 2013 at 08:30:06AM +0200, G??ran L??wkrantz wrote: I created a PR, kern/178238, on this but would like to know if anyone has any ideas or patches? Have updated the system where I see

Re: Nullfs leaks i-nodes

2013-05-09 Thread Konstantin Belousov
On Thu, May 09, 2013 at 02:11:44PM +0200, Goran Lowkrantz wrote: I assume this is CURRENT? Tried on STABLE but got this: cc1: warnings being treated as errors /usr/src/sys/kern/vfs_subr.c: In function 'vfs_notify_upper': /usr/src/sys/kern/vfs_subr.c:2801: warning: implicit declaration of

recommended memory for zfs

2013-05-09 Thread Benjamin Adams
Hello zfs question about memory. I heard zfs is very ram hungry. Service looking to run: - nginx - postgres - php-fpm - python I have a machine with two quad core cpus but only 4 G Memory I'm looking to buy more ram now. What would be the recommend amount of memory for zfs across 6 drives on

Re: new jail(8) ignoring devfs_ruleset?

2013-05-09 Thread Jamie Gritton
On 05/09/13 03:17, Jeremie Le Hen wrote: On Thu, Mar 21, 2013 at 06:46:57PM -0600, Jamie Gritton wrote: It's not fixed anywhere yet - it sometimes works in current, and sometimes doesn't. I've been meaning to patch it up, but it the problem is what I think it is, the patching up is a pretty

Re: recommended memory for zfs

2013-05-09 Thread Tom Evans
On Thu, May 9, 2013 at 2:18 PM, Benjamin Adams benjamindad...@gmail.com wrote: Hello zfs question about memory. I heard zfs is very ram hungry. Service looking to run: - nginx - postgres - php-fpm - python I have a machine with two quad core cpus but only 4 G Memory I'm looking to buy

Re: Apparent regression in r250359

2013-05-09 Thread Jim Ohlstein
On 05/09/13 01:30, Konstantin Belousov wrote: On Wed, May 08, 2013 at 01:14:52PM -0400, Jim Ohlstein wrote: Hello, I upgraded my (custom) kernel earlier and found that multiple daemons (cups, hal, syslog, ntpd, csh) crashed and dumped cores at or shortly after boot. The error I saw several

Re: recommended memory for zfs

2013-05-09 Thread Florent Peterschmitt
Le 09/05/2013 15:18, Benjamin Adams a écrit : Hello zfs question about memory. I heard zfs is very ram hungry. Service looking to run: - nginx - postgres - php-fpm - python I have a machine with two quad core cpus but only 4 G Memory I'm looking to buy more ram now. What would be the

Re: Apparent regression in r250359

2013-05-09 Thread Konstantin Belousov
On Thu, May 09, 2013 at 10:13:15AM -0400, Jim Ohlstein wrote: # sysctl hw.model hw.model: AMD FX(tm)-8350 Eight-Core Processor Ahh, so it seems that this is a CPU with the LWP. Please try the patch at the end of message. As another workaround, which does not disable AVX support, you could try

Re: recommended memory for zfs

2013-05-09 Thread Dan Nelson
In the last episode (May 09), Benjamin Adams said: Hello zfs question about memory. I heard zfs is very ram hungry. Service looking to run: - nginx - postgres - php-fpm - python I have a machine with two quad core cpus but only 4 G Memory I'm looking to buy more ram now. What would

Re: Apparent regression in r250359

2013-05-09 Thread Jim Ohlstein
On 05/09/13 10:30, Konstantin Belousov wrote: On Thu, May 09, 2013 at 10:13:15AM -0400, Jim Ohlstein wrote: # sysctl hw.model hw.model: AMD FX(tm)-8350 Eight-Core Processor Ahh, so it seems that this is a CPU with the LWP. Please try the patch at the end of message. Same error As another

Re: Apparent regression in r250359

2013-05-09 Thread Konstantin Belousov
On Thu, May 09, 2013 at 11:42:28AM -0400, Jim Ohlstein wrote: On 05/09/13 10:30, Konstantin Belousov wrote: On Thu, May 09, 2013 at 10:13:15AM -0400, Jim Ohlstein wrote: # sysctl hw.model hw.model: AMD FX(tm)-8350 Eight-Core Processor Ahh, so it seems that this is a CPU with the LWP.

Re: Apparent regression in r250359

2013-05-09 Thread Jim Ohlstein
On 05/09/13 12:04, Konstantin Belousov wrote: On Thu, May 09, 2013 at 11:42:28AM -0400, Jim Ohlstein wrote: On 05/09/13 10:30, Konstantin Belousov wrote: On Thu, May 09, 2013 at 10:13:15AM -0400, Jim Ohlstein wrote: # sysctl hw.model hw.model: AMD FX(tm)-8350 Eight-Core Processor Ahh, so it

Re: Apparent regression in r250359

2013-05-09 Thread Konstantin Belousov
On Thu, May 09, 2013 at 01:17:28PM -0400, Jim Ohlstein wrote: On 05/09/13 12:04, Konstantin Belousov wrote: Hm, I see another bug in the next line as well. Could you try this updated patch ? This does work. Committed to head, should be merged back to stable/9 in three days.

Re: recommended memory for zfs

2013-05-09 Thread Shane Ambler
On 09/05/2013 22:48, Benjamin Adams wrote: Hello zfs question about memory. I heard zfs is very ram hungry. Service looking to run: - nginx - postgres - php-fpm - python I have a machine with two quad core cpus but only 4 G Memory I'm looking to buy more ram now. What would be the recommend

Re: recommended memory for zfs

2013-05-09 Thread Benjamin Adams
On 05/09/2013 08:53 PM, Shane Ambler wrote: On 09/05/2013 22:48, Benjamin Adams wrote: Hello zfs question about memory. I heard zfs is very ram hungry. Service looking to run: - nginx - postgres - php-fpm - python I have a machine with two quad core cpus but only 4 G Memory I'm looking to buy

Re: recommended memory for zfs

2013-05-09 Thread Jeremy Chadwick
On Thu, May 09, 2013 at 09:47:27PM -0400, Benjamin Adams wrote: On 05/09/2013 08:53 PM, Shane Ambler wrote: On 09/05/2013 22:48, Benjamin Adams wrote: Hello zfs question about memory. I heard zfs is very ram hungry. Service looking to run: - nginx - postgres - php-fpm - python I have a

Re: recommended memory for zfs

2013-05-09 Thread Adam Vande More
Probably the simplest answer is that you already have sufficient memory to run ZFS. As someone already mentioned you should use AMD64, not i386. If your setup isn't fast enough with tuning, add more if it's the bottleneck. On Thu, May 9, 2013 at 8:47 PM, Benjamin Adams benjamindad...@gmail.com

Re: recommended memory for zfs

2013-05-09 Thread Adam Vande More
On Thu, May 9, 2013 at 9:06 PM, Jeremy Chadwick j...@koitsu.org wrote: The advice of 1GB of RAM per 1TB of disk space is absolute nonsense on numerous levels -- whoever gave this advice to Shane either has no understanding of how filesystems/ZFS works, or does but chose to simplify to the

Re: recommended memory for zfs

2013-05-09 Thread Benjamin Adams
On 05/09/2013 10:06 PM, Jeremy Chadwick wrote: On Thu, May 09, 2013 at 09:47:27PM -0400, Benjamin Adams wrote: On 05/09/2013 08:53 PM, Shane Ambler wrote: On 09/05/2013 22:48, Benjamin Adams wrote: Hello zfs question about memory. I heard zfs is very ram hungry. Service looking to run: -

Re: recommended memory for zfs

2013-05-09 Thread Freddie Cash
And the rule of thumb for dedupe was approx 1 GB of ARC per unique TB of data in the pool (above and beyond your normal ARC requirements). Not 1 GB of RAM per TB of disk in the pool. Very big difference between the two. :) On 2013-05-09 7:14 PM, Adam Vande More amvandem...@gmail.com wrote: On

RE: new jail(8) ignoring devfs_ruleset?

2013-05-09 Thread Dewayne Geraghty
An ugly workaround to complete the jail closure, when relying on jail.conf, is to: jail -r $JAILNAME umount /$LOCATION_OF_JAILS/$JAILNAME/dev || true Regards, Dewayne. ___ freebsd-stable@freebsd.org mailing list

Re: Apparent regression in r250359

2013-05-09 Thread Dennis Glatting
This patch allows my AMD CURRENT to complete boot without core dumping. I was also able to recompile/reinstall lang/gcc48 without trouble. My 9.1 systems are busy but I may be able to give it a try tomorrow. On Thu, 2013-05-09 at 13:17 -0400, Jim Ohlstein wrote: On 05/09/13 12:04,