Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-23 Thread Henner Heck
Here are my testresults: *Disabling sendfile in smb.conf *(no patching yet) - free memory drops to 570M and stays there - copy speed from share 75MB/s, CPU load 50% (why not 100% and higher speed?) *Patched kernel with patch 218795* - without sendfile Copying works. - with sendfile

Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-23 Thread Jeremy Chadwick
On Thu, Feb 24, 2011 at 12:41:06AM +0100, Henner Heck wrote: Here are my testresults: *Disabling sendfile in smb.conf *(no patching yet) - free memory drops to 570M and stays there - copy speed from share 75MB/s, CPU load 50% (why not 100% and higher speed?) See below. *Patched

Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-23 Thread Adam Vande More
On Wed, Feb 23, 2011 at 5:59 PM, Jeremy Chadwick free...@jdc.parodius.comwrote: Almost certainly Samba, but there is little-to-nothing one can do about it. If you want to verify it's Samba, enable ftpd on your system and do FTP transfers instead (do both a GET and a PUT for testing speed in

FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Henner Heck
Hello, i experience freezing of my FreeBSD machine when performing certain operations on a Samba share. Technical info: - FreeBSD 8.2 Release 64 Bit (it also happened with 8.2 RC3) - Samba 3.5.6.1 - Athlon II Quadcore, 4 GB Ram - 1 SSD with a ZFS pool (No.0) containing the FreeBSD system -

Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Kostik Belousov
On Tue, Feb 22, 2011 at 10:55:37PM +0100, Henner Heck wrote: Hello, i experience freezing of my FreeBSD machine when performing certain operations on a Samba share. Technical info: - FreeBSD 8.2 Release 64 Bit (it also happened with 8.2 RC3) - Samba 3.5.6.1 - Athlon II Quadcore, 4 GB

Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Martin Matuska
There looks like a known bug of not activating memory pages if using sendfile(2). This was fixed by kib@ in revision 218795 of stable/8. Please try the following patch and report the result: http://people.freebsd.org/~mm/patches/releng_8_2/218795.zfs.patch Dňa 22.02.2011 22:55, Henner Heck

Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Jeremy Chadwick
On Tue, Feb 22, 2011 at 10:55:37PM +0100, Henner Heck wrote: i experience freezing of my FreeBSD machine when performing certain operations on a Samba share. Technical info: - FreeBSD 8.2 Release 64 Bit (it also happened with 8.2 RC3) - Samba 3.5.6.1 - Athlon II Quadcore, 4 GB Ram - 1

Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Henner Heck
I only connect to the BSD system via ssh at the moment, there is no keyboard attached. The ssh shell running top doesn't update anymore and doesn't take any input. A new ssh session is not possible. Pressing the power button once does not shut down the machine, i have to keep it pressed for